| Constructor and Description |
|---|
PipeSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResources(ISource source)
Add resources to a source.
|
static void |
bind(IChannel channel,
ISource source)
Bind a source to the channel.
|
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel.
|
protected ISource |
createSource(String input)
Creates a source from input.
|
static ISource |
lookup(IChannel channel)
Recover the source from channel.
|
IChannel |
process(IChannel channel)
Perform some transformation over the channel.
|
public static final String SOURCE
public boolean check(IChannel channel) throws AbortException
IPipecheck in interface IPipechannel - The information channel.AbortException - If the channel is corrupted.public IChannel process(IChannel channel) throws PipelineException
IPipeprocess in interface IPipechannel - The channel.PipelineException - On processing errors.protected ISource createSource(String input) throws SourceException
input - The input name.SourceException - On source creation errors.protected void addResources(ISource source) throws ResourceException
source - The source.ResourceException - On resource errors.public static void bind(IChannel channel, ISource source)
channel - The channel.source - The source.public static ISource lookup(IChannel channel) throws NotFoundException, InvalidTypeException
channel - The channel.NotFoundException - On lookup errors.InvalidTypeException - On type errors.Copyright © 2016. All rights reserved.