org.n52.wps.io.binary
Class GeotiffGenerator

java.lang.Object
  extended by org.n52.wps.io.binary.AbstractBinaryGenerator
      extended by org.n52.wps.io.binary.GeotiffGenerator
All Implemented Interfaces:
IGenerator, IOHandler, IStreamableGenerator

public class GeotiffGenerator
extends AbstractBinaryGenerator
implements IStreamableGenerator


Field Summary
 
Fields inherited from interface org.n52.wps.io.IOHandler
DEFAULT_ENCODING, DEFAULT_MIMETYPE
 
Constructor Summary
GeotiffGenerator()
           
 
Method Summary
 java.io.OutputStream generate(java.lang.Object data)
           
 java.io.InputStream getAsInputStream(IRasterLayer layer)
           
 java.lang.String[] getSupportedFormats()
           
 java.lang.String[] getSupportedRootClasses()
           
 java.lang.String[] getSupportedSchemas()
           
 boolean isSupportedEncoding(java.lang.String encoding)
           
 boolean isSupportedFormat(java.lang.String format)
           
 boolean isSupportedRootClass(java.lang.String clazzName)
           
 void write(java.lang.Object coll, java.io.Writer writer)
           
 void writeToStream(java.lang.Object obj, java.io.OutputStream os)
           
 
Methods inherited from class org.n52.wps.io.binary.AbstractBinaryGenerator
isSupportedSchema, supportsSchemas
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeotiffGenerator

public GeotiffGenerator()
Method Detail

getSupportedFormats

public java.lang.String[] getSupportedFormats()
Specified by:
getSupportedFormats in interface IOHandler

isSupportedEncoding

public boolean isSupportedEncoding(java.lang.String encoding)
Specified by:
isSupportedEncoding in interface IOHandler

isSupportedFormat

public boolean isSupportedFormat(java.lang.String format)
Specified by:
isSupportedFormat in interface IOHandler

writeToStream

public void writeToStream(java.lang.Object obj,
                          java.io.OutputStream os)
                   throws java.io.IOException
Throws:
java.io.IOException

generate

public java.io.OutputStream generate(java.lang.Object data)
Specified by:
generate in interface IGenerator

write

public void write(java.lang.Object coll,
                  java.io.Writer writer)
Specified by:
write in interface IStreamableGenerator

getSupportedRootClasses

public java.lang.String[] getSupportedRootClasses()
Specified by:
getSupportedRootClasses in interface IOHandler

getSupportedSchemas

public java.lang.String[] getSupportedSchemas()
Specified by:
getSupportedSchemas in interface IOHandler

isSupportedRootClass

public boolean isSupportedRootClass(java.lang.String clazzName)
Specified by:
isSupportedRootClass in interface IOHandler

getAsInputStream

public java.io.InputStream getAsInputStream(IRasterLayer layer)
                                     throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException