org.gerhardb.lib.filetree
Class DTNReaderWriter

java.lang.Object
  extended by org.gerhardb.lib.filetree.DTNReaderWriter

public class DTNReaderWriter
extends java.lang.Object

Utility performing various actions.


Field Summary
static java.text.DateFormat DATE_FORMAT
           
static java.lang.String JIB_TREE_FILE_NAME
           
 
Constructor Summary
DTNReaderWriter(java.io.File file, DirectoryTree tree, ILoadingMessage loadingMsg)
          Used to restore from a file store.
 
Method Summary
 boolean getImagesCounted()
           
 java.util.Date getLastReadDate()
           
static java.lang.String getNameOfDrive(java.lang.String path)
           
 DirectoryTreeNode getRootNode()
           
 java.lang.String getStoredRootPath()
           
 java.lang.String getStoredVolumeName()
           
static void store(DirectoryTreeNode rootNode)
          populateFromStored is the converse.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JIB_TREE_FILE_NAME

public static final java.lang.String JIB_TREE_FILE_NAME
See Also:
Constant Field Values

DATE_FORMAT

public static final java.text.DateFormat DATE_FORMAT
Constructor Detail

DTNReaderWriter

public DTNReaderWriter(java.io.File file,
                       DirectoryTree tree,
                       ILoadingMessage loadingMsg)
Used to restore from a file store.

Parameters:
rootDirectory -
Method Detail

getRootNode

public DirectoryTreeNode getRootNode()

getImagesCounted

public boolean getImagesCounted()

getLastReadDate

public java.util.Date getLastReadDate()

getStoredRootPath

public java.lang.String getStoredRootPath()

getStoredVolumeName

public java.lang.String getStoredVolumeName()

getNameOfDrive

public static java.lang.String getNameOfDrive(java.lang.String path)

store

public static void store(DirectoryTreeNode rootNode)
                  throws java.lang.Exception
populateFromStored is the converse.

Throws:
java.lang.Exception


Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.