public class FileOperationsWorker extends AbstractPatternWorker
| Modifier and Type | Class and Description |
|---|---|
class |
FileOperationsWorker.FileOps
Implementation of core file operations including delete/rename/copy of
arbitrary files and testing for file existance.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.String> |
pathAliases
Map of aliases (r-code folders) to their source folders (conversion folders).
|
| Constructor and Description |
|---|
FileOperationsWorker()
Default constructor which defines the symbol libraries to be registered.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
findFile(java.lang.String filename,
java.lang.String[] proPath)
Finds a filename within the configured PROPATH.
|
getCopy, getLibrary, getResolver, getSource, isConditionalRuleSets, isFlagActivated, isRuntimeQueryMode, registerTree, resolveConstant, setLibraryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, initialize, leaveAst, visitAstprivate final java.util.Map<java.lang.String,java.lang.String> pathAliases
FileOperationsWorker()
public static java.lang.String findFile(java.lang.String filename,
java.lang.String[] proPath)
throws ConfigurationException
Configuration, which is backed-up by p2j.cfg.xml.filename - The filename that will be searched in the PROPATH.proPath - The propath, or null to compute it now.null is returned.ConfigurationException - if P2J_HOME has not been defined for this process.