public class ConvertCode extends ConvertBase implements ConvertConstants
| Modifier and Type | Field and Description |
|---|---|
protected ScanListener |
m_listener |
COMPARE_ANY_STRING, FOUR_SPACES, m_strChangem_propertiesm_messageFilterList, m_recordOwnerCollection, m_taskParent, m_vRecordListCONVERTER_PATH, DEST_DIR, DEST_PACKAGE, DIR_PREFIX, EXTENSION, FILTER, LISTENER_CLASS, SOURCE_DIR, SOURCE_PACKAGEMASTER, SLAVE| Constructor and Description |
|---|
ConvertCode()
Constructor.
|
ConvertCode(Task taskParent,
Record recordMain,
Map<String,Object> properties)
Initialization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
free()
Free.
|
File |
getDestPath(String sourcePath)
Get the destination pathname.
|
String |
getFullPath(String pathToFix)
Get the full path name.
|
ScanListener |
getScanListener()
Get the scan listener.
|
void |
init(RecordOwnerParent taskParent,
Record recordMain,
Map<String,Object> properties)
Initialization.
|
static void |
main(String[] args) |
void |
moveDirectory(File file,
Object objParentID)
Move the files in this directory to the new directory.
|
void |
moveThisFile(File file)
Move the files in this directory to the new directory.
|
void |
moveThisFile(File file,
String destName,
String parentSource)
Move this file.
|
void |
run()
Move the files in this directory to the new directory.
|
void |
setScanListener(ScanListener listener)
Set the scan listener.
|
convertNameToConstant, convertString, fixFilePath, replaceString, tabsToSpacesgetProperties, getProperty, handleMessage, retrieveUserProperties, setProperties, setPropertyaddDatabase, addListenerMessageFilter, addListeners, addRecord, addRecord, addRecordOwner, addScreenRecord, getDatabase, getDatabaseOwner, getEnvironment, getListenerMessageFilter, getMainRecord, getMasterSlave, getParentRecordOwner, getRecord, getScreenRecord, getTask, init, isBatch, isThinListener, openMainRecord, openOtherRecords, removeDatabase, removeListenerMessageFilter, removeRecord, removeRecordOwner, setScreenRecordprotected ScanListener m_listener
public ConvertCode()
public ConvertCode(Task taskParent, Record recordMain, Map<String,Object> properties)
taskParent - Optional task param used to get parent's properties, etc.recordMain - Optional main record.properties - Optional properties object (note you can add properties later).public void init(RecordOwnerParent taskParent, Record recordMain, Map<String,Object> properties)
init in class ConvertBasetaskParent - Optional task param used to get parent's properties, etc.recordMain - Optional main record.properties - Optional properties object (note you can add properties later).public void free()
free in interface Freeablefree in class ConvertBasepublic static void main(String[] args)
public void run()
run in class BaseProcesspublic void moveDirectory(File file, Object objParentID)
objParentID - Parent idpublic void moveThisFile(File file)
public void moveThisFile(File file, String destName, String parentSource)
public File getDestPath(String sourcePath)
sourcePath - The path to the source filepublic void setScanListener(ScanListener listener)
listener - public ScanListener getScanListener()
Copyright © 2015 jbundle.org. All Rights Reserved.