org.sourcejammer.client
Class SourceJammerClient

java.lang.Object
  |
  +--org.sourcejammer.client.SourceJammerClient

public class SourceJammerClient
extends java.lang.Object

Title: $FileName: SourceJammerClient.java$

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

$Description: $
$KeyWordsOff: $

Nested Class Summary
static class SourceJammerClient.ConfXMLNodes
           
 
Field Summary
private  java.awt.Color addedColor
           
private  char[] cDefaultEndOfLine
           
private static java.lang.String CONF_FILE
           
private  java.awt.Color deletedColor
           
private static SourceJammerClient instance
           
static java.lang.String J_FILE_CHOOSER
           
static java.lang.String lfa_DELETE
           
static java.lang.String lfa_GET_LATEST
           
static java.lang.String lfa_NO_SPECIAL_ACTION
           
static java.lang.String lfa_SET_READ_ONLY
           
private  int miDefaultEOLType
           
private  int miDefaultFileType
           
private  int miMaxFileSendChunkSize
           
private  int miZipIfLargerThan
           
private  java.awt.Color modifiedColor
           
private  java.lang.String[] msaHideFileCommand
           
private  java.lang.String[] msaMakeWritableCommand
           
private  java.lang.String[] msaShowFileCommand
           
private  java.lang.String msDisplayTextPropertiesFileName
           
private  java.lang.String msFileDialogType
           
private  java.lang.String msInitialLookAndFeel
           
private  java.lang.String onAddFileAction
           
private  java.lang.String onCheckInFileAction
           
private  java.lang.String onFileModifiedOnCheckin
           
private  java.lang.String onGetFileAction
           
static java.lang.String TREE_FILE_DIALOG
           
static java.lang.String VERSION
           
 
Constructor Summary
private SourceJammerClient()
           
 
Method Summary
 java.awt.Color getAddedColor()
           
private  java.awt.Color getColorFromElement(org.w3c.dom.Element elm)
          Looks for r, g, and b attributes in elm and builds a Color based on the values.
 char[] getDefaultEndOfLine()
           
 int getDefaultEOLType()
           
 int getDefaultFileType()
           
 java.awt.Color getDeletedColor()
           
 java.lang.String getDisplayTextFileName()
           
 java.lang.String getFileDialogType()
           
 java.lang.String[] getHideFileCommand()
           
 java.lang.String getInitialLookAndFeel()
           
static SourceJammerClient getInstance()
           
static SourceJammerClient getInstance(java.lang.String confPath)
           
 java.lang.String[] getMakeWritableHack()
           
 int getMaxFileSendChunkSize()
           
 java.awt.Color getModifiedColor()
           
 java.lang.String getOnAddFileAction()
           
 java.lang.String getOnCheckInFileAction()
           
 java.lang.String getOnFileModifiedOnCheckinAction()
           
 java.lang.String getOnGetFileAciton()
           
 java.lang.String[] getShowFileCommand()
           
 int getZipBinariesLargerThan()
           
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

VERSION

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

CONF_FILE

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

lfa_SET_READ_ONLY

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

lfa_DELETE

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

lfa_GET_LATEST

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

lfa_NO_SPECIAL_ACTION

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

TREE_FILE_DIALOG

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

J_FILE_CHOOSER

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

instance

private static SourceJammerClient instance

cDefaultEndOfLine

private char[] cDefaultEndOfLine

miDefaultFileType

private int miDefaultFileType

msaMakeWritableCommand

private java.lang.String[] msaMakeWritableCommand

miZipIfLargerThan

private int miZipIfLargerThan

msInitialLookAndFeel

private java.lang.String msInitialLookAndFeel

miDefaultEOLType

private int miDefaultEOLType

miMaxFileSendChunkSize

private int miMaxFileSendChunkSize

msDisplayTextPropertiesFileName

private java.lang.String msDisplayTextPropertiesFileName

msFileDialogType

private java.lang.String msFileDialogType

msaHideFileCommand

private java.lang.String[] msaHideFileCommand

msaShowFileCommand

private java.lang.String[] msaShowFileCommand

deletedColor

private java.awt.Color deletedColor

addedColor

private java.awt.Color addedColor

modifiedColor

private java.awt.Color modifiedColor

onAddFileAction

private java.lang.String onAddFileAction

onCheckInFileAction

private java.lang.String onCheckInFileAction

onGetFileAction

private java.lang.String onGetFileAction

onFileModifiedOnCheckin

private java.lang.String onFileModifiedOnCheckin
Constructor Detail

SourceJammerClient

private SourceJammerClient()
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

getColorFromElement

private java.awt.Color getColorFromElement(org.w3c.dom.Element elm)
Looks for r, g, and b attributes in elm and builds a Color based on the values.


getInstance

public static SourceJammerClient getInstance()

getInstance

public static SourceJammerClient getInstance(java.lang.String confPath)

getOnCheckInFileAction

public java.lang.String getOnCheckInFileAction()

getOnAddFileAction

public java.lang.String getOnAddFileAction()

getOnGetFileAciton

public java.lang.String getOnGetFileAciton()

getOnFileModifiedOnCheckinAction

public java.lang.String getOnFileModifiedOnCheckinAction()

getDeletedColor

public java.awt.Color getDeletedColor()

getModifiedColor

public java.awt.Color getModifiedColor()

getAddedColor

public java.awt.Color getAddedColor()

getHideFileCommand

public java.lang.String[] getHideFileCommand()

getShowFileCommand

public java.lang.String[] getShowFileCommand()

getFileDialogType

public java.lang.String getFileDialogType()

getDisplayTextFileName

public java.lang.String getDisplayTextFileName()

getMaxFileSendChunkSize

public int getMaxFileSendChunkSize()

getMakeWritableHack

public java.lang.String[] getMakeWritableHack()

getDefaultEndOfLine

public char[] getDefaultEndOfLine()

getDefaultFileType

public int getDefaultFileType()

getZipBinariesLargerThan

public int getZipBinariesLargerThan()

getInitialLookAndFeel

public java.lang.String getInitialLookAndFeel()

getDefaultEOLType

public int getDefaultEOLType()


Copyright 2003 Soucejammer project.