public class FrameworkConfigConverter
extends java.lang.Object
$Id $
Modifier and Type | Class and Description |
---|---|
class |
FrameworkConfigConverter.DirectoryFilter |
Modifier and Type | Field and Description |
---|---|
java.io.File |
convertedDir |
java.io.File |
originalsDir |
Constructor and Description |
---|
FrameworkConfigConverter(java.lang.String workingDirPath)
FrameworkConfigConverter Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
convertDirectory(java.io.File directory) |
boolean |
convertFile(java.io.File file)
Convert file to new format if necessary
|
static void |
main(java.lang.String[] args)
debugging
|
static void |
setDebug(boolean db)
Sets the debug attribute of the FrameworkConfigConverter object
|
static void |
show(org.dom4j.Node node)
Utility to show XML in pretty form
|
public java.io.File originalsDir
public java.io.File convertedDir
public FrameworkConfigConverter(java.lang.String workingDirPath) throws java.lang.Exception
path
- directory holding default record and records directoryjava.lang.Exception
public void convertDirectory(java.io.File directory)
public boolean convertFile(java.io.File file) throws java.lang.Exception
file
- file to be convertedjava.lang.Exception
- thrown if file cannot be converted or written to disk after conversionpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
public static void setDebug(boolean db)
db
- The new debug valuepublic static void show(org.dom4j.Node node)
node
- Description of the Parameter