|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.beanbus.AbstractBusComponent<String>
org.oddjob.sql.ScriptParser
public class ScriptParser
Parses SQL from an InputStream into individual statements.
| Constructor Summary | |
|---|---|
ScriptParser()
|
|
| Method Summary | |
|---|---|
protected void |
doProcessing()
|
String |
getDelimiter()
Getter for delimiter. |
SQLJob.DelimiterType |
getDelimiterType()
Getter for delimiterType. |
String |
getEncoding()
Getter for encoding. |
InputStream |
getInput()
|
void |
go()
|
boolean |
isExpandProperties()
Getter for expandProperties. |
boolean |
isKeepFormat()
Getter for keepFormat. |
void |
setArooaSession(ArooaSession session)
|
void |
setDelimiter(String delimiter)
Setter for delimiter. |
void |
setDelimiterType(SQLJob.DelimiterType delimiterType)
Setter for delimiterType. |
void |
setEncoding(String encoding)
Setter for encoding. |
void |
setExpandProperties(boolean expandProperties)
Setter for exapndProperties. |
void |
setInput(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. |
| Methods inherited from class org.oddjob.beanbus.AbstractBusComponent |
|---|
accept, getServices, getTo, requestBusStop, setTo, startBus, stopBus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptParser()
| Method Detail |
|---|
public void setArooaSession(ArooaSession session)
setArooaSession in interface ArooaSessionAwarepublic 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 String getDelimiter()
public void setDelimiter(String delimiter)
delimiter - The delimiter.public String getEncoding()
public void setEncoding(String encoding)
encoding - The encoding.
public void go()
throws BusException,
IOException
BusException
IOException
protected void doProcessing()
throws BusException
BusExceptionprotected void stopTheBus()
AbstractBusComponent
stopTheBus in class AbstractBusComponent<String>public void stop()
public InputStream getInput()
public void setInput(InputStream input)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||