|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlxt.bintype.Bintype | +--com.bea.wlxt.bintype.BintypeDate
This class provides the default implementation for Data Types used by the WLXT to translate Binary Date Data to XML or XML data to Binary Date data.
Fields inherited from class com.bea.wlxt.bintype.Bintype |
codepageEBCDIC |
Constructor Summary | |
BintypeDate()
|
Method Summary | |
protected static java.lang.String |
rawDateToString(byte[] data,
java.lang.String baseType)
Take a date that is in byte array format and return it as a String. |
protected static java.lang.String |
readDate(java.lang.String date,
java.text.SimpleDateFormat fmt)
Returns a String containing the date. |
protected static java.lang.String |
readDate(java.lang.String date,
java.text.SimpleDateFormat fmt,
com.bea.wlxt.mfl.MFLField fld,
int yearpos)
Returns a String containing the date. |
protected static byte[] |
stringDateToRaw(java.lang.String date,
java.lang.String baseType)
Take a date that is in String format and return it in a byte array. |
protected static java.lang.String |
writeDate(java.lang.String date,
java.text.SimpleDateFormat fmt)
Returns a String containing the date to be written. |
Methods inherited from class com.bea.wlxt.bintype.Bintype |
applyPadAndTrim,
canBeDelimited,
canBeFieldType,
canBeLenFieldType,
canBePadded,
canBeTagFieldType,
canBeTrimmed,
canHaveDecimalPlaces,
getBinaryBytes,
getDescriptionText,
getDisplayName,
getTypeName,
isCodepageOK,
isCutoffRequired,
isDateType,
isFixedSize,
isValueOK,
makeString,
read,
readDelimitedField,
readLength,
readTag,
reverseBytes,
write,
writeLength,
writeTag |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BintypeDate()
Method Detail |
protected static java.lang.String readDate(java.lang.String date, java.text.SimpleDateFormat fmt) throws java.lang.Exception
date
- String the Date that is to be read/parsed.fmt
- SimpleDateFormat object that describes the the date format.protected static java.lang.String readDate(java.lang.String date, java.text.SimpleDateFormat fmt, com.bea.wlxt.mfl.MFLField fld, int yearpos) throws java.lang.Exception
date
- String the Date that is to be read/parsed.fmt
- SimpleDateFormat object that describes the the date format.fld
- MFLField the field description for the date fieldyearpos
- int the relative position of the year field in the date format.protected static java.lang.String writeDate(java.lang.String date, java.text.SimpleDateFormat fmt) throws java.lang.Exception
date
- String the Date that is to be written.fmt
- String the codepage that applies to the output data format.protected static java.lang.String rawDateToString(byte[] data, java.lang.String baseType) throws java.io.UnsupportedEncodingException
data
- byte[] a byte array that contains the Date value to be converted to String format.baseType
- String the codepage that applies to the output data format.protected static byte[] stringDateToRaw(java.lang.String date, java.lang.String baseType) throws java.io.UnsupportedEncodingException
date
- String the Date that is to be converted to a byte array.baseType
- String the codepage that applies to the output data format.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |