public class ImportXMLScanListener extends BaseScanListener
| Modifier and Type | Field and Description |
|---|---|
protected XmlInOut |
inout |
m_fileSource, m_parent, m_recordOwnerCollection, m_strSourcePrefix, m_writer| Constructor and Description |
|---|
ImportXMLScanListener()
Default constructor.
|
ImportXMLScanListener(RecordOwnerParent parent,
String strSourcePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterFile(File file)
If this file should be processed, return true.
|
void |
init(RecordOwnerParent parent,
String strSourcePrefix)
Init Method.
|
static void |
main(String[] args)
Main Method.
|
void |
moveThisFile(File fileSource,
File fileDestDir,
String strDestName)
Do whatever processing that needs to be done on this file.
|
void |
restoreOldProperties(Map<String,String> oldProperties,
Record record)
RestoreOldProperties Method.
|
void |
saveOldProperties(Map<String,String> oldProperties,
Record record)
SaveOldProperties Method.
|
void |
saveOldProperty(Map<String,String> oldProperties,
String param)
SaveOldProperty Method.
|
addRecordOwner, convertString, filterDirectory, free, getProperties, getProperty, getTask, moveSourceToDest, moveThisFile, postProcessThisDirectory, processThisDirectory, removeRecordOwner, retrieveUserProperties, setPrintWriter, setProperties, setProperty, setSourceFileprotected XmlInOut inout
public ImportXMLScanListener()
public ImportXMLScanListener(RecordOwnerParent parent, String strSourcePrefix)
public void init(RecordOwnerParent parent, String strSourcePrefix)
init in class BaseScanListenerpublic static void main(String[] args)
public boolean filterFile(File file)
filterFile in interface ScanListenerfilterFile in class BaseScanListenerpublic void moveThisFile(File fileSource, File fileDestDir, String strDestName)
moveThisFile in interface ScanListenermoveThisFile in class BaseScanListenerpublic void saveOldProperties(Map<String,String> oldProperties, Record record)
public void saveOldProperty(Map<String,String> oldProperties, String param)
Copyright © 2015 jbundle.org. All Rights Reserved.