org.richfaces.cdk.vfs.file
Class FileVFSRoot
java.lang.Object
org.richfaces.cdk.vfs.file.FileVFSFile
org.richfaces.cdk.vfs.file.FileVFSRoot
- All Implemented Interfaces:
- Closeable, VFSRoot, VirtualFile
public class FileVFSRoot
- extends FileVFSFile
- implements VFSRoot
- Author:
- Nick Belaevski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileVFSRoot
public FileVFSRoot(File dir)
getType
public VFSType getType()
- Specified by:
getType in interface VFSRoot
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in interface VirtualFile- Overrides:
getInputStream in class FileVFSFile
- Throws:
IOException
getName
public String getName()
- Specified by:
getName in interface VirtualFile- Overrides:
getName in class FileVFSFile
initialize
public void initialize()
throws IOException
- Specified by:
initialize in interface VFSRoot
- Throws:
IOException
toURL
public URL toURL()
throws MalformedURLException
- Specified by:
toURL in interface VFSRoot
- Throws:
MalformedURLException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.