org.sourcejammer.util
Class AppConfig

java.lang.Object
  |
  +--org.sourcejammer.util.AppConfig

public class AppConfig
extends java.lang.Object

Title: $FileName: AppConfig.java$

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

$Description: $
$KeyWordsOff: $

Nested Class Summary
static class AppConfig.ConfXMLNodes
           
static class AppConfig.EndOfLineChars
           
static class AppConfig.EndOfLines
           
static class AppConfig.EndOfLineType
           
static class AppConfig.FileHistoryStorageTypes
           
static class AppConfig.FileTypes
           
static class AppConfig.LookAndFeel
           
static class AppConfig.NodeTypes
           
 
Field Summary
private static java.lang.String CONF_FILE
           
private  java.util.HashMap dontZipFileExtensions
           
private static AppConfig instance
           
private  char[] mcaDefaultEndOfLine
           
private  int miDefaultEOL
           
private  java.lang.String msConfigFilePath
           
private  java.lang.String msSourceJammerSwitch
           
private  java.lang.String textEncodingCharset
           
private  java.lang.String xmlEncodingCharset
           
 
Constructor Summary
private AppConfig()
           
 
Method Summary
 java.lang.String getConfigFilePath()
           
 char[] getDefaultEndOfLine()
           
 int getDefaultEOLType()
           
 java.util.HashMap getDontZipExtensions()
           
static AppConfig getInstance()
           
static AppConfig getInstance(java.lang.String basePath)
           
 java.lang.String getSourceJammerSwitch()
           
 java.lang.String getTextEncodingCharset()
          Returns the textEncodingCharset.
 java.lang.String getXmlEncodingCharset()
          Returns the xmlEncodingCharset.
private  void load(java.lang.String sBasePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONF_FILE

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

instance

private static AppConfig instance

msSourceJammerSwitch

private java.lang.String msSourceJammerSwitch

msConfigFilePath

private java.lang.String msConfigFilePath

miDefaultEOL

private int miDefaultEOL

mcaDefaultEndOfLine

private char[] mcaDefaultEndOfLine

textEncodingCharset

private java.lang.String textEncodingCharset

xmlEncodingCharset

private java.lang.String xmlEncodingCharset

dontZipFileExtensions

private java.util.HashMap dontZipFileExtensions
Constructor Detail

AppConfig

private AppConfig()
Method Detail

load

private void load(java.lang.String sBasePath)
           throws java.io.IOException,
                  org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException

getInstance

public static AppConfig getInstance(java.lang.String basePath)

getInstance

public static AppConfig getInstance()

getDontZipExtensions

public java.util.HashMap getDontZipExtensions()

getSourceJammerSwitch

public java.lang.String getSourceJammerSwitch()

getConfigFilePath

public java.lang.String getConfigFilePath()

getDefaultEOLType

public int getDefaultEOLType()

getDefaultEndOfLine

public char[] getDefaultEndOfLine()

getTextEncodingCharset

public java.lang.String getTextEncodingCharset()
Returns the textEncodingCharset.

Returns:
String

getXmlEncodingCharset

public java.lang.String getXmlEncodingCharset()
Returns the xmlEncodingCharset.

Returns:
String


Copyright 2003 Soucejammer project.