public class WrapperHelper extends Object
IWrapperProcessor.processLine( LineData lineData, WrapperHelper helper )
when processing each CSV lineConstructor and Description |
---|
WrapperHelper(String wrapperAlias,
String wrapperFolder,
String workFolder) |
Modifier and Type | Method and Description |
---|---|
void |
copyFile(String source,
String dest)
If you need to copy files
|
String |
getInboxFolder()
Returns the complete path to the activity instance inbox under exclusive work folder used by Teapot.
|
String |
getOutboxFolder()
Returns the complete path to the activity instance outbox under exclusive work folder used by Teapot.
|
String |
getWorkFolder()
Returns the complete path to the activity instance exclusive work folder used by Teapot.
|
String |
getWrapperFolder()
Returns the complete path to the wrappers folder used by Teapot.
|
void |
moveFile(String source,
String dest)
If you need to move files
|
List<String> |
readFromLibraryFolder(String file)
Read a text file from wrappers folder.
|
void |
runExternal(String application)
Execute an external application
|
public String getInboxFolder()
public String getOutboxFolder()
public String getWorkFolder()
public String getWrapperFolder()
public List<String> readFromLibraryFolder(String file) throws Exception
Exception
public void runExternal(String application) throws Exception
Exception
public void moveFile(String source, String dest) throws Exception
Exception
Copyright © 2015 Carlos Magno Oliveira de Abreu. All rights reserved.