public static class CommonsVfs2UrlType.File extends java.lang.Object implements Vfs.File
Modifier and Type | Field and Description |
---|---|
private org.apache.commons.vfs2.FileObject |
file |
private org.apache.commons.vfs2.FileObject |
root |
Constructor and Description |
---|
File(org.apache.commons.vfs2.FileObject root,
org.apache.commons.vfs2.FileObject file) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getRelativePath() |
java.io.InputStream |
openInputStream() |
private final org.apache.commons.vfs2.FileObject root
private final org.apache.commons.vfs2.FileObject file
public File(org.apache.commons.vfs2.FileObject root, org.apache.commons.vfs2.FileObject file)
public java.lang.String getRelativePath()
getRelativePath
in interface Vfs.File
public java.io.InputStream openInputStream() throws java.io.IOException
openInputStream
in interface Vfs.File
java.io.IOException