org.richfaces.cdk.vfs
Interface VirtualFile

All Known Subinterfaces:
VFSRoot
All Known Implementing Classes:
FileVFSFile, FileVFSRoot, ZipVFSFile, ZipVFSRoot

public interface VirtualFile

Author:
Nick Belaevski

Method Summary
 VirtualFile getChild(java.lang.String path)
           
 VirtualFile getChild(java.lang.String path, boolean chrooted)
           
 java.util.Collection<VirtualFile> getChildren()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.lang.String getRelativePath()
           
 boolean isDirectory()
           
 boolean isFile()
           
 

Method Detail

isFile

boolean isFile()

isDirectory

boolean isDirectory()

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getName

java.lang.String getName()

getRelativePath

java.lang.String getRelativePath()

getChildren

java.util.Collection<VirtualFile> getChildren()

getChild

VirtualFile getChild(java.lang.String path)

getChild

VirtualFile getChild(java.lang.String path,
                     boolean chrooted)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.