public class ScriptParser extends AbstractBusComponent<java.lang.String> implements BusDriver<java.lang.String>, ArooaSessionAware
Constructor and Description |
---|
ScriptParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcessing() |
java.lang.String |
getDelimiter()
Getter for delimiter.
|
SQLJob.DelimiterType |
getDelimiterType()
Getter for delimiterType.
|
java.lang.String |
getEncoding()
Getter for encoding.
|
java.io.InputStream |
getInput() |
boolean |
isExpandProperties()
Getter for expandProperties.
|
boolean |
isKeepFormat()
Getter for keepFormat.
|
void |
run() |
void |
setArooaSession(ArooaSession session)
Accept the current Arooa Session.
|
void |
setDelimiter(java.lang.String delimiter)
Setter for delimiter.
|
void |
setDelimiterType(SQLJob.DelimiterType delimiterType)
Setter for delimiterType.
|
void |
setEncoding(java.lang.String encoding)
Setter for encoding.
|
void |
setExpandProperties(boolean expandProperties)
Setter for exapndProperties.
|
void |
setInput(java.io.InputStream input) |
void |
setKeepFormat(boolean keepformat)
Setter for keepFormat
|
void |
stop() |
protected void |
stopTheBus()
Implementation override this to perform the action of
stopping the bus.
|
accept, getServices, getTo, requestBusStop, setTo, startBus, stopBus
public void setArooaSession(ArooaSession session)
ArooaSessionAware
setArooaSession
in interface ArooaSessionAware
session
- The Arooa Session. Never null.public boolean isKeepFormat()
public void setKeepFormat(boolean keepformat)
keepformat
- The keepFormat flag.public boolean isExpandProperties()
public void setExpandProperties(boolean expandProperties)
expandProperties
- The expandProperties flag.public SQLJob.DelimiterType getDelimiterType()
public void setDelimiterType(SQLJob.DelimiterType delimiterType)
delimiterType
- The delimiterType.public java.lang.String getDelimiter()
public void setDelimiter(java.lang.String delimiter)
delimiter
- The delimiter.public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding
- The encoding.public void run()
run
in interface java.lang.Runnable
protected void doProcessing() throws BusException
BusException
protected void stopTheBus()
AbstractBusComponent
stopTheBus
in class AbstractBusComponent<java.lang.String>
public void stop()
public java.io.InputStream getInput()
public void setInput(java.io.InputStream input)