org.sourcejammer.client.gui.conf
Class BranchIDConf

java.lang.Object
  |
  +--org.sourcejammer.client.gui.conf.BranchIDConf

public class BranchIDConf
extends java.lang.Object

Title: $FileName: BranchIDConf.java$

Version:
$VerNum: 3$
Author:
$AuthorName: Rob MacGrogan$

$Description: Manages a file that stores all the branch ids entered by the user.$
$KeyWordsOff: $

Field Summary
private static java.lang.String DOCUMENT_NAME
           
private  java.util.ArrayList ids
           
private static BranchIDConf instance
           
private static java.lang.String SEP
           
 
Constructor Summary
private BranchIDConf()
           
 
Method Summary
 void addID(java.lang.String id)
           
private  java.lang.String buildDocument(java.util.ArrayList ids)
           
 java.lang.String[] getCachedIDs()
           
static BranchIDConf getInstance()
           
private  java.util.ArrayList parseDocument(java.lang.String s)
           
private  void readBranchIDsDocument()
           
private  void saveBranchIDsDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static BranchIDConf instance

SEP

private static final java.lang.String SEP
See Also:
Constant Field Values

DOCUMENT_NAME

private static final java.lang.String DOCUMENT_NAME
See Also:
Constant Field Values

ids

private java.util.ArrayList ids
Constructor Detail

BranchIDConf

private BranchIDConf()
Method Detail

getInstance

public static BranchIDConf getInstance()

getCachedIDs

public java.lang.String[] getCachedIDs()

addID

public void addID(java.lang.String id)

readBranchIDsDocument

private void readBranchIDsDocument()
                            throws java.io.IOException
java.io.IOException

saveBranchIDsDocument

private void saveBranchIDsDocument()
                            throws java.io.UnsupportedEncodingException,
                                   java.io.IOException
java.io.UnsupportedEncodingException
java.io.IOException

buildDocument

private java.lang.String buildDocument(java.util.ArrayList ids)

parseDocument

private java.util.ArrayList parseDocument(java.lang.String s)


Copyright 2003 Soucejammer project.