de.grogra.pf.io
Class GSWriter

java.lang.Object
  extended by de.grogra.pf.io.FilterBase
      extended by de.grogra.pf.io.GSWriter
All Implemented Interfaces:
FileWriterSource, Filter, FilterSource, RegistryContext, Map

public class GSWriter
extends FilterBase
implements FileWriterSource


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
static IOFlavor FLAVOR
           
 
Fields inherited from class de.grogra.pf.io.FilterBase
item, source
 
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
GSWriter(FilterItem item, FilterSource source)
           
 
Method Summary
 void write(java.io.File out)
          This method writes the data to out.
static void write(Registry reg, FileSystem fs, java.lang.String projectFile)
           
 
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
 

Field Detail

FLAVOR

public static final IOFlavor FLAVOR
Constructor Detail

GSWriter

public GSWriter(FilterItem item,
                FilterSource source)
Method Detail

write

public void write(java.io.File out)
           throws java.io.IOException
Description copied from interface: FileWriterSource
This method writes the data to out.

Specified by:
write in interface FileWriterSource
Parameters:
out - the file to which data is written
Throws:
java.io.IOException

write

public static void write(Registry reg,
                         FileSystem fs,
                         java.lang.String projectFile)
                  throws java.io.IOException
Throws:
java.io.IOException