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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChild, getChild, getChildren, getRelativePath, isDirectory, isFile
public FileVFSRoot(File dir)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public InputStream getInputStream() throws IOException
getInputStream
in interface VirtualFile
getInputStream
in class FileVFSFile
IOException
public String getName()
getName
in interface VirtualFile
getName
in class FileVFSFile
public void initialize() throws IOException
initialize
in interface VFSRoot
IOException
public URL toURL() throws MalformedURLException
toURL
in interface VFSRoot
MalformedURLException
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.