Skip to end of metadata
Go to start of metadata

Author

Boris Capitanu

Creation date

06/06/2011

Firing policy

any

Package

org.seasr.meandre.components.tools.io

DESCRIPTION

This component writes a zip file containing all the data passed in the stream

INPUTS

Name

Description

Example

file_name
The file name to use to add to the ZIP set
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

data
The data corresponding to the file name specified, to be zipped
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings
TYPE: byte[]
TYPE: org.seasr.datatypes.BasicDataTypes.Bytes
TYPE: org.w3c.dom.Document
TYPE: java.lang.Object

 

location
The URL or file name specifying where the zip file will be written
TYPE: java.net.URI
TYPE: java.net.URL
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

OUTPUTS

Name

Description

Example

location
The URL or file name of the resulting ZIP file
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

error
This port is used to output any unhandled errors encountered during the execution of this component

 

PROPERTIES

Name

Description

Default value

_debug_level
Controls the verbosity of debug messages printed by the component during execution.
Possible values are: off, severe, warning, info, config, fine, finer, finest, all
Append ',mirror' to any of the values above to mirror that output to the server logs.
info
append_timestamp
Append the current timestamp to the file specified in the location?
false
_stream_id
Defines the stream id used to identify a particular stream of data
_ignore_errors
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component
false
default_folder
The folder to write to. If the specified location is not an absolute path, it will be assumed relative to the published_resources folder.
Write a comment…