public class SourceHeaderScanListener extends BaseScanListener
| Modifier and Type | Field and Description |
|---|---|
protected String |
beforePackage |
protected boolean |
foundComment |
protected boolean |
foundPackage |
protected String |
lineSeparator |
m_fileSource, m_parent, m_recordOwnerCollection, m_strSourcePrefix, m_writer| Constructor and Description |
|---|
SourceHeaderScanListener()
Default constructor.
|
SourceHeaderScanListener(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)
Initialize class fields.
|
void |
moveSourceToDest(LineNumberReader reader,
PrintWriter dataOut)
MoveSourceToDest Method.
|
addRecordOwner, convertString, filterDirectory, free, getProperties, getProperty, getTask, moveThisFile, moveThisFile, postProcessThisDirectory, processThisDirectory, removeRecordOwner, retrieveUserProperties, setPrintWriter, setProperties, setProperty, setSourceFileprotected String beforePackage
protected boolean foundComment
protected boolean foundPackage
protected String lineSeparator
public SourceHeaderScanListener()
public SourceHeaderScanListener(RecordOwnerParent parent, String strSourcePrefix)
public void init(RecordOwnerParent parent, String strSourcePrefix)
init in class BaseScanListenerpublic boolean filterFile(File file)
filterFile in interface ScanListenerfilterFile in class BaseScanListenerpublic void moveSourceToDest(LineNumberReader reader, PrintWriter dataOut)
moveSourceToDest in class BaseScanListenerCopyright © 2015 jbundle.org. All Rights Reserved.