de.grogra.pf.io
Interface VirtualFileReaderSource

All Superinterfaces:
FilterSource, RegistryContext
All Known Implementing Classes:
FileSource, LazyFilter, NullSource

public interface VirtualFileReaderSource
extends FilterSource

This subinterface of FilterSource has to be implemented by filter sources whose flavor supports reading from an underlying virtual file (IOFlavor.VFILE_READER). It represents the data by a virtual file in a FileSystem.

Author:
Ole Kniemeyer

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
 
Field Summary
 
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
 
Method Summary
 java.lang.Object getFile()
          Returns the file from which the data can be obtained.
 FileSystem getFileSystem()
          Returns the file system in which the file is contained.
 
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
 
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
 

Method Detail

getFile

java.lang.Object getFile()
Returns the file from which the data can be obtained.

Returns:
file representing the data

getFileSystem

FileSystem getFileSystem()
Returns the file system in which the file is contained.

Returns:
file system