public class FileVFSRoot extends FileVFSFile implements VFSRoot
| Constructor and Description |
|---|
FileVFSRoot(File dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getInputStream() |
String |
getName() |
VFSType |
getType() |
void |
initialize() |
URL |
toURL() |
getChild, getChild, getChildren, getFile, getRelativePath, isDirectory, isFile, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChild, getChild, getChildren, getRelativePath, isDirectory, isFilepublic FileVFSRoot(File dir)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface VirtualFilegetInputStream in class FileVFSFileIOExceptionpublic String getName()
getName in interface VirtualFilegetName in class FileVFSFilepublic void initialize()
throws IOException
initialize in interface VFSRootIOExceptionpublic URL toURL() throws MalformedURLException
toURL in interface VFSRootMalformedURLExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.