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(String path)
           
 VirtualFile getChild(String path, boolean chrooted)
           
 Collection<VirtualFile> getChildren()
           
 InputStream getInputStream()
           
 String getName()
           
 String getRelativePath()
           
 boolean isDirectory()
           
 boolean isFile()
           
 

Method Detail

isFile

boolean isFile()

isDirectory

boolean isDirectory()

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getName

String getName()

getRelativePath

String getRelativePath()

getChildren

Collection<VirtualFile> getChildren()

getChild

VirtualFile getChild(String path)

getChild

VirtualFile getChild(String path,
                     boolean chrooted)


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