|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.eways.batchext.BatchRecordConfiguration
public class BatchRecordConfiguration
This class holds the configuration information for the record-processing ETD. These configuration parameter settings are derived from the e*Way Connection. This class can also parse this configuration information and provide it to you via accessor methods.
Constructor Summary | |
---|---|
BatchRecordConfiguration(java.util.Properties props)
Constructor; gets the properties object from the e*Way Connection. |
Method Summary | |
---|---|
java.lang.String |
getParserClassName()
Gets the record-parser class name. |
byte[] |
getRecordDelimiter()
Gets the record delimiter as it was set in the e*Way Configuration Editor but converted to a byte array. |
java.lang.String |
getRecordDelimiterAsString()
Gets the record delimiter as it was set in the e*Way Configuration Editor. |
int |
getRecordSize()
Gets the record size as it was set in the e*Way Configuration Editor. |
java.lang.String |
getRecordType()
Gets the record type as it was set in the e*Way Configuration Editor. |
boolean |
getSynchronized()
|
java.util.Properties |
getUserProperties()
Gets the user-defined properties and returns a null if there are no such properties. |
boolean |
isCreateMode()
Returns whether create mode was selected in the e*Way Configuration Editor. |
boolean |
isDelimiterOnLast()
Gets the status of your setting in the e*Way Configuration Editor, which indicates whether there is a delimiter on the last record in the file. |
protected void |
parseProperties()
|
protected void |
setSynchronized(boolean b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchRecordConfiguration(java.util.Properties props)
props
- My properties. These properties come from the
settings made in the e*Way Configuration Editor and
contain the configuration parameters.Method Detail |
---|
public java.lang.String getParserClassName()
public java.lang.String getRecordType()
public byte[] getRecordDelimiter()
public java.lang.String getRecordDelimiterAsString()
public int getRecordSize()
public boolean isDelimiterOnLast()
public boolean isCreateMode()
public java.util.Properties getUserProperties()
protected void parseProperties()
protected void setSynchronized(boolean b)
public boolean getSynchronized()
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |