public class DateOffsetScanListener extends BaseScanListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
dayOffset |
protected String[] |
eomFields |
protected int |
monthOffset |
protected int |
yearOffset |
m_fileSource, m_parent, m_recordOwnerCollection, m_strSourcePrefix, m_writer| Constructor and Description |
|---|
DateOffsetScanListener()
Default constructor.
|
DateOffsetScanListener(RecordOwnerParent parent,
String strSourcePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
convertString(String string)
Do any string conversion on the file text.
|
String |
formatDate(Date date,
int type)
FormatDate Method.
|
void |
init(RecordOwnerParent parent,
String strSourcePrefix)
Init Method.
|
int |
parseDate(String strValue,
Date date)
Decode date time value and set the field value.
|
addRecordOwner, filterDirectory, filterFile, free, getProperties, getProperty, getTask, moveSourceToDest, moveThisFile, moveThisFile, postProcessThisDirectory, processThisDirectory, removeRecordOwner, retrieveUserProperties, setPrintWriter, setProperties, setProperty, setSourceFileprotected int dayOffset
protected String[] eomFields
protected int monthOffset
protected int yearOffset
public DateOffsetScanListener()
public DateOffsetScanListener(RecordOwnerParent parent, String strSourcePrefix)
public void init(RecordOwnerParent parent, String strSourcePrefix)
init in class BaseScanListenerpublic String convertString(String string)
convertString in class BaseScanListenerpublic int parseDate(String strValue, Date date)
field - Copyright © 2015 jbundle.org. All Rights Reserved.