|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwatch.PathControl
public final class PathControl
Path control toolkit class. Provides static methods helping in paths management. Input/output paths can be relative to the current input file, the installation directory...
Constructor Summary | |
---|---|
PathControl()
|
Method Summary | |
---|---|
static boolean |
copyResource(java.lang.String J_ResourcePath,
java.lang.String J_OutputPath)
Resource copying. |
static java.io.File |
getInputFile()
Input file retrieval. |
static java.lang.String |
getInputLocation()
Input location retrieval. |
static boolean |
isXml(java.lang.String J_InputPath)
Input XML path control. |
static java.io.File |
outputFile(java.lang.String J_OutputPath)
Output file retrieval. |
static java.io.File |
resourceFile(java.lang.String J_ResourcePath)
Resource file retrieval. |
static java.io.File |
xslFile(java.lang.String J_XslPath)
XSL file retrieval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathControl()
Method Detail |
---|
public static boolean isXml(java.lang.String J_InputPath)
J_InputPath
- Input file name.
public static final java.io.File outputFile(java.lang.String J_OutputPath)
J_OutputPath
- Relative output path, from the current input file.
public static final java.io.File getInputFile()
public static final java.lang.String getInputLocation()
public static final java.io.File resourceFile(java.lang.String J_ResourcePath) throws java.io.FileNotFoundException
J_ResourcePath
- Relative resource path, from the install directory.
java.io.FileNotFoundException
public static final boolean copyResource(java.lang.String J_ResourcePath, java.lang.String J_OutputPath)
J_ResourcePath
- Relative resource path, from the install directory.J_OutputPath
- Relative output path, from the current input file.
public static final java.io.File xslFile(java.lang.String J_XslPath) throws java.io.FileNotFoundException
J_XslPath
- Path of an XSL file, either from the current input file, or from the install directory.
java.io.FileNotFoundException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |