org.olat.core.util.vfs
Interface VFSLeaf

All Superinterfaces:
VFSItem
All Known Implementing Classes:
LocalFileImpl, NamedLeaf, OlatRootFileImpl, StreamedImpl

public interface VFSLeaf
extends VFSItem

Description:
VFSLeaf: A file that can be written to, read from

Initial Date: 23.06.2005

Author:
Felix Jost

Method Summary
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream(boolean append)
           
 long getSize()
           
 
Methods inherited from interface org.olat.core.util.vfs.VFSItem
canCopy, canDelete, canRename, canWrite, delete, getLastModified, getLocalSecurityCallback, getName, getParentContainer, isSame, rename, resolve, setLocalSecurityCallback, setParentContainer
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
Returns:
is or null (if e.g. the underlying file no longer exists)

getSize

long getSize()
Returns:
size

getOutputStream

java.io.OutputStream getOutputStream(boolean append)
Parameters:
append -
Returns:
os