de.hunsicker.jalopy.storage
Class Environment.Variable

java.lang.Object
  |
  +--de.hunsicker.jalopy.storage.Environment.Variable
Enclosing class:
Environment

public static class Environment.Variable
extends java.lang.Object

Represents a local environment variable.


Field Summary
static Environment.Variable CLASS_NAME
          The class name variable
static Environment.Variable CONVENTION
          Defines the variable "convention".
static Environment.Variable DATE
          The date variable you can specify a pattern following the date like $date:dd/mmmm$ as long as it follows the simple date format rules
static Environment.Variable FILE
          Defines the variable "file".
static Environment.Variable FILE_FORMAT
          Defines the variable "fileFormat".
static Environment.Variable FILE_NAME
          Defines the variable "fileName".
static Environment.Variable PACKAGE
          Defines the variable "package".
static Environment.Variable TAB_SIZE
          Defines the variable "tabSize".
static Environment.Variable TYPE_EXCEPTION
          Defines the variable "exceptionType".
static Environment.Variable TYPE_OBJECT
          Defines the variable "objectType".
static Environment.Variable TYPE_PARAM
          Defines the variable "paramType".
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String format(java.lang.Object value, java.lang.String pattern)
           
 java.lang.String getName()
          Returns the name of the variable.
 int hashCode()
           
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FILE

public static final Environment.Variable FILE
Defines the variable "file".


FILE_NAME

public static final Environment.Variable FILE_NAME
Defines the variable "fileName".


FILE_FORMAT

public static final Environment.Variable FILE_FORMAT
Defines the variable "fileFormat".


TAB_SIZE

public static final Environment.Variable TAB_SIZE
Defines the variable "tabSize".


CONVENTION

public static final Environment.Variable CONVENTION
Defines the variable "convention".


PACKAGE

public static final Environment.Variable PACKAGE
Defines the variable "package".


TYPE_PARAM

public static final Environment.Variable TYPE_PARAM
Defines the variable "paramType".


TYPE_EXCEPTION

public static final Environment.Variable TYPE_EXCEPTION
Defines the variable "exceptionType".


TYPE_OBJECT

public static final Environment.Variable TYPE_OBJECT
Defines the variable "objectType".


DATE

public static final Environment.Variable DATE
The date variable you can specify a pattern following the date like $date:dd/mmmm$ as long as it follows the simple date format rules


CLASS_NAME

public static final Environment.Variable CLASS_NAME
The class name variable

Method Detail

getName

public java.lang.String getName()
Returns the name of the variable.

Returns:
variable name.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

format

public java.lang.String format(java.lang.Object value,
                               java.lang.String pattern)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
getName()


Copyright © 1997-2005 Jalopy. All Rights Reserved.