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 text from a remote location with cookie support. The text location is specified in the input. The component outputs the text read and the cookie obtained from the request. 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

 

OUTPUTS

Name

Description

Example

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

 

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

 

text
The text read
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
_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…