org.sourcejammer.client.gui.conf
Class GuiConf

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

public class GuiConf
extends java.lang.Object

Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:

Version:
$Revision: 1.3 $
Author:
Robert MacGrogan

Field Summary
static java.lang.String DEFAULT_DIRECTORIES_NODE
           
static java.lang.String GUI_CONF_ROOT_NODE
           
(package private)  org.w3c.dom.Document mdocGuiConfXML
           
(package private)  org.w3c.dom.Element melmDefaultDirectories
           
(package private)  java.io.File mflGuiConf
           
static java.lang.String NUM_BEGINNER
           
static java.lang.String QUOTE_REPLACER
           
static java.lang.String SPACE_REPLACER
           
 
Constructor Summary
GuiConf(java.lang.String archiveName, java.lang.String userName)
           
 
Method Summary
private  java.lang.String fixBeginningNumber(java.lang.String s)
           
private  org.w3c.dom.Element getConfElement(org.w3c.dom.Element parent, java.lang.String name)
           
 java.io.File getDefaultWorkingDirectory(org.sourcejammer.project.view.NodeName oNodeName)
           
private  java.util.Stack getInvertedNodeNameStack(org.sourcejammer.project.view.NodeName nodeName)
           
private  java.lang.String projectNameToLegalDOM(java.lang.String name)
           
private  void saveConfFile()
           
 void setDefaultWorkingDirectory(org.sourcejammer.project.view.NodeName nodeName, java.io.File directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUI_CONF_ROOT_NODE

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

DEFAULT_DIRECTORIES_NODE

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

SPACE_REPLACER

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

QUOTE_REPLACER

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

NUM_BEGINNER

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

mflGuiConf

java.io.File mflGuiConf

mdocGuiConfXML

org.w3c.dom.Document mdocGuiConfXML

melmDefaultDirectories

org.w3c.dom.Element melmDefaultDirectories
Constructor Detail

GuiConf

public GuiConf(java.lang.String archiveName,
               java.lang.String userName)
        throws java.io.IOException
Method Detail

saveConfFile

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

setDefaultWorkingDirectory

public void setDefaultWorkingDirectory(org.sourcejammer.project.view.NodeName nodeName,
                                       java.io.File directory)
                                throws java.io.IOException,
                                       org.sourcejammer.xml.XMLNodeDoesNotExistException
java.io.IOException
org.sourcejammer.xml.XMLNodeDoesNotExistException

projectNameToLegalDOM

private java.lang.String projectNameToLegalDOM(java.lang.String name)

getDefaultWorkingDirectory

public java.io.File getDefaultWorkingDirectory(org.sourcejammer.project.view.NodeName oNodeName)
                                        throws java.io.IOException
java.io.IOException

fixBeginningNumber

private java.lang.String fixBeginningNumber(java.lang.String s)

getConfElement

private org.w3c.dom.Element getConfElement(org.w3c.dom.Element parent,
                                           java.lang.String name)
                                    throws java.io.IOException
java.io.IOException

getInvertedNodeNameStack

private java.util.Stack getInvertedNodeNameStack(org.sourcejammer.project.view.NodeName nodeName)


Copyright 2003 Soucejammer project.