|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Constants
Holds non-user-visible constant values for the entire program. The constants are organized into several inner interfaces to keep them categorized and to allow some classes to "implement" them in order to import the constants into their namespace. This import-by-implement pattern should be used sparingly and only where there exists a sub-interface which is clearly related to the implementing class.
| Nested Class Summary | |
|---|---|
static interface |
Constants.Character
Character literal constants. |
static interface |
Constants.Format
Format strings. |
static interface |
Constants.Input
Input module constants. |
static interface |
Constants.Options
Options constants. |
static interface |
Constants.Output
Output module constants. |
static interface |
Constants.Regex
Regular expression constants. |
static interface |
Constants.UI
Constants for UI. |
static interface |
Constants.XMLExternalIdentifier
Constants for XML external identifiers. |
| Field Summary | |
|---|---|
static int |
BASE_DECIMAL
The base for the decimal number system. |
static int |
BASE_HEXADECIMAL
The base for the hexadecimal number system. |
static String[] |
COPYRIGHT_MESSAGE
A short message about the copyright and license. |
static String |
CWD
The current working directory at runtime. |
static String |
CWD_PROPERTY
The system property name for the current working directory. |
static String |
DEFAULT_MESSAGE
The default message that is displayed if something really screws up in the localisation process. |
static String |
EOL
The system end of line marker. |
static String |
EOL_PROPERTY
The system property name for the end of line marker. |
static String |
FILE_JAR_PREFIX
The prefix to a URL that is pointing to a file. |
static int |
HASHCODE_MAGIC_NUMBER
The magic number for calculating hash codes in implementations of Object.hashCode(). |
static int |
INFINITY
A close approximation to infinity. |
static String |
JAR_METAINF_DIR
The META-INF directory inside a JAR file. |
static double |
MILLISECONDS_IN_A_SECOND
The number of milliseconds in a second. |
static String |
NULL_STRING
The String representation of null. |
static String |
PACKAGE
The package that the program is rooted in. |
static String |
PROGRAM_NAME
The name of the program. |
static String |
PROGRAM_VERSION
The version of the program. |
static String |
TIMESTAMP_FORMAT
The timestamp format used in the templates. |
static String |
URL_JAR_PREFIX
The prefix to a URL that is pointing to a JAR file. |
| Field Detail |
|---|
static final String PROGRAM_NAME
static final String PROGRAM_VERSION
static final String[] COPYRIGHT_MESSAGE
static final String PACKAGE
static final String CWD_PROPERTY
static final String CWD
static final String EOL_PROPERTY
static final String EOL
static final String TIMESTAMP_FORMAT
static final String DEFAULT_MESSAGE
static final int INFINITY
static final int HASHCODE_MAGIC_NUMBER
Object.hashCode().
static final int BASE_DECIMAL
static final int BASE_HEXADECIMAL
static final String FILE_JAR_PREFIX
static final String URL_JAR_PREFIX
static final String JAR_METAINF_DIR
static final String NULL_STRING
String representation of null.
static final double MILLISECONDS_IN_A_SECOND
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||