public class FileVFSFile extends Object implements VirtualFile
Constructor and Description |
---|
FileVFSFile(File file,
String relativePath) |
Modifier and Type | Method and Description |
---|---|
VirtualFile |
getChild(String path) |
VirtualFile |
getChild(String path,
boolean chrooted) |
Collection<VirtualFile> |
getChildren() |
protected File |
getFile() |
InputStream |
getInputStream() |
String |
getName() |
String |
getRelativePath() |
boolean |
isDirectory() |
boolean |
isFile() |
String |
toString() |
public boolean isFile()
isFile
in interface VirtualFile
public boolean isDirectory()
isDirectory
in interface VirtualFile
public InputStream getInputStream() throws IOException
getInputStream
in interface VirtualFile
IOException
public String getName()
getName
in interface VirtualFile
public String getRelativePath()
getRelativePath
in interface VirtualFile
public Collection<VirtualFile> getChildren()
getChildren
in interface VirtualFile
public VirtualFile getChild(String path)
getChild
in interface VirtualFile
public VirtualFile getChild(String path, boolean chrooted)
getChild
in interface VirtualFile
protected File getFile()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.