org.jutil
Interface Const


public interface Const

The Const interface contains several useful CONSTANTS for ease of coding when using jutils also contains jutil identifing CONSTANTS


Field Summary
static char[] BAD_XML_CHARS
           
static java.lang.String DOMAIN
          DOMAIN, alt identifier for jutil.org
static java.lang.String ENTITY
          ENTITY, identifier for jutil.org
static java.lang.String ENTITY_HOME
          ENTITY_HOME, identifier for jutil.org home http://jutil.org/
static float JAVA_1_0
           
static float JAVA_1_1
           
static float JAVA_1_2
           
static float JAVA_1_3
           
static float JAVA_1_4
           
static float JAVA_VERSION
          JAVA_VERSION, calculated version of the Java Version
static java.lang.String NAMESPACE_JUTIL
           
static java.lang.String NAMESPACE_JUTIL_PREFIX
           
static java.lang.String NEWLINE
          NEWLINE, cached value of System.getProperty("line.separator")
static org.dom4j.Namespace NS_JUTIL
           
static java.lang.String USER_DIR
          USER_DIR, cached value of System.getProperty("user.dir")
static java.lang.String USER_HOME
          USER_HOME, cached value of System.getProperty("user.home")
 

Field Detail

BAD_XML_CHARS

static final char[] BAD_XML_CHARS

NAMESPACE_JUTIL

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

NAMESPACE_JUTIL_PREFIX

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

NS_JUTIL

static final org.dom4j.Namespace NS_JUTIL

ENTITY

static final java.lang.String ENTITY
ENTITY, identifier for jutil.org

Usage:

 String str = org.jutil.Const.ENTITY;

See Also:
Constant Field Values

ENTITY_HOME

static final java.lang.String ENTITY_HOME
ENTITY_HOME, identifier for jutil.org home http://jutil.org/

Usage:

 String str = org.jutil.Const.ENTITY_HOME;

See Also:
Constant Field Values

DOMAIN

static final java.lang.String DOMAIN
DOMAIN, alt identifier for jutil.org

Usage:

 String str = org.jutil.Const.DOMAIN;

See Also:
Constant Field Values

USER_DIR

static final java.lang.String USER_DIR
USER_DIR, cached value of System.getProperty("user.dir")

Usage:

 File myDir = new File(org.jutil.Const.USER_DIR);


USER_HOME

static final java.lang.String USER_HOME
USER_HOME, cached value of System.getProperty("user.home")

Usage:

 File myDir = new File(org.jutil.Const.USER_HOME);


JAVA_1_0

static final float JAVA_1_0
See Also:
Constant Field Values

JAVA_1_1

static final float JAVA_1_1
See Also:
Constant Field Values

JAVA_1_2

static final float JAVA_1_2
See Also:
Constant Field Values

JAVA_1_3

static final float JAVA_1_3
See Also:
Constant Field Values

JAVA_1_4

static final float JAVA_1_4
See Also:
Constant Field Values

JAVA_VERSION

static final float JAVA_VERSION
JAVA_VERSION, calculated version of the Java Version

Usage:

 if( org.jutil.Const.JAVA_VERSION >= org.jutil.Const.JAVA_1_2) {
 }


NEWLINE

static final java.lang.String NEWLINE
NEWLINE, cached value of System.getProperty("line.separator")

Usage:

 String myStr = "line"+org.jutil.Const.NEWLINE+"line2";