Skip to end of metadata
Go to start of metadata

Author

Lily Dong

Creation date

06/06/2011

Firing policy

all

Package

org.seasr.meandre.components.tools.text.io

DESCRIPTION

This component reads content as byte array from a remote location with cookie support. The text location is specified in the input andthe cookie is also an input. The component outputs the byte array of the content. A property controls the behavior of the component in the event of an IO error, allowing it to ignore the error and continue, or throw an exception, forcing the finalization of the flow execution.

INPUTS

Name

Description

Example

location
The URL or file name containing the text to read
TYPE: java.net.URI
TYPE: java.net.URL
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

Cookie
The cookie that needs to be used to retrieve the content.
TYPE: org.apache.commons.httpclient.Cookie[]

 

OUTPUTS

Name

Description

Example

location
The input location from where the text was read.
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

raw_data
The content from the input location.
TYPE: org.seasr.datatypes.BasicDataTypes.Bytes

 

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
_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
Write a comment…