| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.pf.io.FilterBase
de.grogra.pf.io.LazyFilter
public abstract class LazyFilter
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource | 
|---|
| FilterSource.MetaDataKey<V> | 
| Nested classes/interfaces inherited from interface de.grogra.util.Map | 
|---|
| Map.Chain | 
| Field Summary | 
|---|
| Fields inherited from class de.grogra.pf.io.FilterBase | 
|---|
| item, source | 
| Fields inherited from interface de.grogra.pf.io.SAXSource | 
|---|
| NAMESPACE_PREFIXES, NAMESPACES | 
| Fields inherited from interface de.grogra.pf.io.FilterSource | 
|---|
| AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL | 
| Fields inherited from interface de.grogra.util.Map | 
|---|
| DEFAULT_VALUE, EMPTY_MAP | 
| Constructor Summary | |
|---|---|
| LazyFilter(FilterItem item,
           FilterSource source,
           IOFlavor flavor) | |
| Method Summary | |
|---|---|
|  void | addConfigurations(ConfigurationSet set)This method is invoked to obtain the configurable options of this Configurableobject. | 
| protected abstract  FilterSource | createFilterSource() | 
|  org.w3c.dom.Document | getDocument()Returns the data as a DOM document. | 
|  boolean | getFeature(java.lang.String name) | 
|  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. | 
| protected  FilterSource | getFilterSource() | 
|  java.io.File | getInputFile()Returns the file from which the data can be obtained. | 
|  java.io.InputStream | getInputStream()Returns a stream to obtain the data as a stream of bytes. | 
|  java.lang.Object | getObject()Returns the data as an object of a class which is compatible which the flavor. | 
|  java.io.Reader | getReader()Returns a reader to obtain the data as a stream of characters. | 
|  long | length()Returns the total number of bytes of this stream. | 
|  void | parse(org.xml.sax.ContentHandler ch,
      org.xml.sax.ErrorHandler eh,
      org.xml.sax.ext.LexicalHandler lh,
      org.xml.sax.DTDHandler dh,
      org.xml.sax.EntityResolver er) | 
|  void | setFeature(java.lang.String name,
           boolean value) | 
|  void | write(java.io.File out)This method writes the data to out. | 
|  void | write(FileSystem fs,
      java.lang.Object out)This method writes the data to out. | 
|  void | write(java.io.OutputStream out)This method writes the data to out. | 
|  void | write(java.io.Writer out)This method writes the data to out. | 
| Methods inherited from class de.grogra.pf.io.FilterBase | 
|---|
| get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 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 | 
| Constructor Detail | 
|---|
public LazyFilter(FilterItem item,
                  FilterSource source,
                  IOFlavor flavor)
| Method Detail | 
|---|
public void addConfigurations(ConfigurationSet set)
ConfigurableConfigurable object. The method has to add all
 Configurations of this object to the specified set.
addConfigurations in interface Configurableset - a set to which configurations of this object are addedprotected abstract FilterSource createFilterSource()
public org.w3c.dom.Document getDocument()
                                 throws java.io.IOException,
                                        org.w3c.dom.DOMException
DOMSource
getDocument in interface DOMSourcejava.io.IOException
org.w3c.dom.DOMException
public boolean getFeature(java.lang.String name)
                   throws org.xml.sax.SAXNotRecognizedException,
                          org.xml.sax.SAXNotSupportedException
getFeature in interface SAXSourceorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionpublic java.lang.Object getFile()
VirtualFileReaderSource
getFile in interface VirtualFileReaderSourcepublic FileSystem getFileSystem()
VirtualFileReaderSource
getFileSystem in interface VirtualFileReaderSourceprotected final FilterSource getFilterSource()
public java.io.File getInputFile()
FileReaderSource
getInputFile in interface FileReaderSource
public java.io.InputStream getInputStream()
                                   throws java.io.IOException
InputStreamSource
getInputStream in interface InputStreamSourcejava.io.IOException
public java.lang.Object getObject()
                           throws java.io.IOException
ObjectSource
getObject in interface ObjectSourcejava.io.IOException
public java.io.Reader getReader()
                         throws java.io.IOException
ReaderSource
getReader in interface ReaderSourcejava.io.IOExceptionpublic long length()
InputStreamSource
length in interface InputStreamSource
public void parse(org.xml.sax.ContentHandler ch,
                  org.xml.sax.ErrorHandler eh,
                  org.xml.sax.ext.LexicalHandler lh,
                  org.xml.sax.DTDHandler dh,
                  org.xml.sax.EntityResolver er)
           throws java.io.IOException,
                  org.xml.sax.SAXException
parse in interface SAXSourcejava.io.IOException
org.xml.sax.SAXException
public void setFeature(java.lang.String name,
                       boolean value)
                throws org.xml.sax.SAXNotRecognizedException,
                       org.xml.sax.SAXNotSupportedException
setFeature in interface SAXSourceorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void write(java.io.File out)
           throws java.io.IOException
FileWriterSourceout.
write in interface FileWriterSourceout - the file to which data is written
java.io.IOException
public void write(FileSystem fs,
                  java.lang.Object out)
           throws java.io.IOException
VirtualFileWriterSourceout.
write in interface VirtualFileWriterSourcefs - the file system to which data is writtenout - the file to which data is written
java.io.IOException
public void write(java.io.OutputStream out)
           throws java.io.IOException
OutputStreamSourceout.
write in interface OutputStreamSourceout - the stream to which data is written
java.io.IOException
public void write(java.io.Writer out)
           throws java.io.IOException
WriterSourceout.
write in interface WriterSourceout - the writer to which data is written
java.io.IOException| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||