org.n52.wps.io.datahandler.binary
Class AsciiGrassGenerator

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

public class AsciiGrassGenerator
extends AbstractBinaryGenerator
implements IStreamableGenerator


Field Summary
 
Fields inherited from class org.n52.wps.io.datahandler.binary.AbstractBinaryGenerator
properties, supportedEncodings, supportedFormats
 
Fields inherited from interface org.n52.wps.io.IOHandler
DEFAULT_ENCODING, DEFAULT_MIMETYPE, ENCODING_BASE64, MIME_TYPE_ZIPPED_SHP
 
Constructor Summary
AsciiGrassGenerator()
           
 
Method Summary
 java.io.OutputStream generate(IData o)
           
 java.io.File generateFile(IData data, java.lang.String mimeType)
           
 java.lang.Class[] getSupportedInternalInputDataType()
           
 void writeToStream(IData data, java.io.OutputStream os)
           
 
Methods inherited from class org.n52.wps.io.datahandler.binary.AbstractBinaryGenerator
getSupportedEncodings, getSupportedFormats, getSupportedSchemas, isSupportedEncoding, isSupportedFormat, isSupportedSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiGrassGenerator

public AsciiGrassGenerator()
Method Detail

generate

public java.io.OutputStream generate(IData o)
Specified by:
generate in interface IGenerator

writeToStream

public void writeToStream(IData data,
                          java.io.OutputStream os)
Specified by:
writeToStream in interface IStreamableGenerator

getSupportedInternalInputDataType

public java.lang.Class[] getSupportedInternalInputDataType()
Specified by:
getSupportedInternalInputDataType in interface IGenerator

generateFile

public java.io.File generateFile(IData data,
                                 java.lang.String mimeType)
Specified by:
generateFile in class AbstractBinaryGenerator


Copyright © 2007-2011 52north.org. All Rights Reserved.