public class FileDataInputParameter extends FileParameter implements DataInputParameter<java.lang.String>
DataInputParameter
implementation that reads from a file.In the adapter configuration file this class is aliased as file-data-input-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
FileDataInputParameter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extract(InterlokMessage message) |
protected java.lang.String |
load(URLString loc,
java.lang.String encoding) |
getDestination, setDestination, url, withDestination
public java.lang.String extract(InterlokMessage message) throws CoreException
extract
in interface DataInputParameter<java.lang.String>
CoreException
protected java.lang.String load(URLString loc, java.lang.String encoding) throws java.io.IOException
java.io.IOException