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 VirtualFilepublic boolean isDirectory()
isDirectory in interface VirtualFilepublic InputStream getInputStream() throws IOException
getInputStream in interface VirtualFileIOExceptionpublic String getName()
getName in interface VirtualFilepublic String getRelativePath()
getRelativePath in interface VirtualFilepublic Collection<VirtualFile> getChildren()
getChildren in interface VirtualFilepublic VirtualFile getChild(String path)
getChild in interface VirtualFilepublic VirtualFile getChild(String path, boolean chrooted)
getChild in interface VirtualFileprotected File getFile()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.