|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.config.FrameworkConfigConverter
public class FrameworkConfigConverter
Converts old style DcsData records (that only mantained a single-entry) into history-aware records.
$Id $
| Nested Class Summary | |
|---|---|
class |
FrameworkConfigConverter.DirectoryFilter
|
| Field Summary | |
|---|---|
File |
convertedDir
|
File |
originalsDir
|
| Constructor Summary | |
|---|---|
FrameworkConfigConverter(String workingDirPath)
FrameworkConfigConverter Constructor. |
|
| Method Summary | |
|---|---|
void |
convertDirectory(File directory)
|
boolean |
convertFile(File file)
Convert file to new format if necessary |
static void |
main(String[] args)
debugging |
static void |
setDebug(boolean db)
Sets the debug attribute of the FrameworkConfigConverter object |
static void |
show(Node node)
Utility to show XML in pretty form |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public File originalsDir
public File convertedDir
| Constructor Detail |
|---|
public FrameworkConfigConverter(String workingDirPath)
throws Exception
path - directory holding default record and records directory
Exception| Method Detail |
|---|
public void convertDirectory(File directory)
public boolean convertFile(File file)
throws Exception
file - file to be converted
Exception - thrown if file cannot be converted or written to disk after conversion
public static void main(String[] args)
throws Exception
args - The command line arguments
Exceptionpublic static void setDebug(boolean db)
db - The new debug valuepublic static void show(Node node)
node - Description of the Parameter
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||