org.sourcejammer.client.gui.conf
Class ArchiveConf
java.lang.Object
|
+--org.sourcejammer.client.gui.conf.ArchiveConf
- public class ArchiveConf
- extends java.lang.Object
Title: SourceJammer v 0.1.0
Description:
Copyright: Copyright (c) 2001
Company:
- Version:
- $Revision: 1.3 $
- Author:
- Robert MacGrogan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARCHIVE_CONF_FILE_NAME
public static final java.lang.String ARCHIVE_CONF_FILE_NAME
- See Also:
- Constant Field Values
ARCHIVES_NODE
public static final java.lang.String ARCHIVES_NODE
- See Also:
- Constant Field Values
ARCHIVE_NODE
public static final java.lang.String ARCHIVE_NODE
- See Also:
- Constant Field Values
NAME_NODE
public static final java.lang.String NAME_NODE
- See Also:
- Constant Field Values
URL_NODE
public static final java.lang.String URL_NODE
- See Also:
- Constant Field Values
ARCHIVE_NAME_NODE
public static final java.lang.String ARCHIVE_NAME_NODE
- See Also:
- Constant Field Values
NEXT_ID_NODE
public static final java.lang.String NEXT_ID_NODE
- See Also:
- Constant Field Values
ID_ATTR
public static final java.lang.String ID_ATTR
- See Also:
- Constant Field Values
ArchiveConf
private ArchiveConf()
readArchiveConfDocument
private static org.w3c.dom.Document readArchiveConfDocument()
throws java.io.IOException,
org.xml.sax.SAXException
- Read the archive conf file from the filesys and return it as a Document.
java.io.IOException
org.xml.sax.SAXException
getArchiveConfDocument
private static org.w3c.dom.Document getArchiveConfDocument()
throws java.io.IOException,
org.xml.sax.SAXException
- Tries to read doc from filesys. If doc does not exist, builds a base
document and returns that.
java.io.IOException
org.xml.sax.SAXException
saveArchiveConfDocument
private static void saveArchiveConfDocument(org.w3c.dom.Document doc)
throws java.io.IOException
- Save the archive conf document.
java.io.IOException
addOrUpdateArchive
public static void addOrUpdateArchive(ArchiveBean bn)
throws java.io.IOException
java.io.IOException
deleteArchiveConfInfo
public static void deleteArchiveConfInfo(int iID)
throws java.io.IOException
java.io.IOException
getAllArchives
public static ArchiveBean[] getAllArchives()
throws java.io.IOException
java.io.IOException
getArchvieBeanFromArchiveElement
private static ArchiveBean getArchvieBeanFromArchiveElement(org.w3c.dom.Element elmArchive)
getArchiveElementByID
private static org.w3c.dom.Element getArchiveElementByID(int id,
org.w3c.dom.Element elmRoot)
getArchiveConfInfo
public static ArchiveBean getArchiveConfInfo(int iID)
throws java.io.IOException
java.io.IOException
Copyright © 2003 Soucejammer project.