|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.transform.GZIPCompression
This activity compresses data from another activity producing the data in GZIPped form and also metadata about the compression.
It has one input and two outputs. The meta data output has a format
analogous to the following example:
<gzipCompressionMetadata>
<checksum type="adler32" value="7615263"/>
</gzipCompressionMetadata>
| Constructor Summary | |
GZIPCompression()
Constructs a request to compress GZIP data from another activity. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
java.lang.String |
getChecksumType()
Get the checksum type. |
long |
getChecksumValue()
Get the checksum value. |
ActivityOutput |
getCompressedDataOutput()
Gets the activity's compressed data output. |
ActivityOutput |
getMetaDataOutput()
Gets the activity's meta data output. |
void |
setChecksumType(ZIPChecksum checksumType)
Set the GZIP checksum type. |
void |
setInput(ActivityOutput input)
Sets the name of the output that will provide the specified input to this activity. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GZIPCompression()
| Method Detail |
public void setChecksumType(ZIPChecksum checksumType)
checksumType -
java.lang.IllegalArgumentException - If type is null.
public long getChecksumValue()
throws ActivityOutputException,
DataFormatException
DataFormatException - If the output data is not in the expected format.
ActivityOutputException - If there is no output data.
public java.lang.String getChecksumType()
throws ActivityOutputException,
DataFormatException
DataFormatException - If the output data is not in the expected format.
ActivityOutputException - If there is no output data.public void setInput(ActivityOutput input)
input - input from another activity.
java.lang.IllegalArgumentException - If the argument is null.public ActivityOutput getCompressedDataOutput()
public ActivityOutput getMetaDataOutput()
protected java.lang.String generateXML()
RequestComponent
generateXML in class ActivityActivity.generateXML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||