|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.service.datacollection.FormatField
public class FormatField
A FormatField represents a single field in a line of formatted text.
Formatter
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
DEFAULT_DATE_FORMAT
default format for Dates |
static int |
PROPERTY_TYPE
PROPERTY_TYPE format fields refer to property names |
static int |
STRING_TYPE
STRING_TYPE format fields refer to strings |
static int |
VARIABLE_TYPE
VARIABLE_TYPE format fields refer to predefined format variables |
Constructor Summary | |
---|---|
FormatField()
Construct an empty FormatField |
Method Summary | |
---|---|
void |
appendDate(java.util.Date pDate,
java.lang.StringBuffer pBuffer)
Format the specified date and append it the the specified buffer. |
java.lang.String |
getFormat()
Returns property Format |
java.lang.String |
getName()
Returns property Name |
int |
getType()
Returns property Type |
void |
setFormat(java.lang.String pFormat)
Sets property Format |
void |
setName(java.lang.String pName)
Sets property Name |
void |
setType(int pType)
Sets property Type |
java.lang.String |
toString()
Overrides Object.toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final int PROPERTY_TYPE
public static final int STRING_TYPE
public static final int VARIABLE_TYPE
public static final java.lang.String DEFAULT_DATE_FORMAT
Constructor Detail |
---|
public FormatField()
Method Detail |
---|
public void setName(java.lang.String pName)
public java.lang.String getName()
public void setType(int pType)
public int getType()
public void setFormat(java.lang.String pFormat)
public java.lang.String getFormat()
public void appendDate(java.util.Date pDate, java.lang.StringBuffer pBuffer)
pDate
- date to formatpBuffer
- string buffer to appendpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |