public class DateConverter extends java.lang.Object implements ContentConverter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_OUTPUT_FORMATSTRING |
| Constructor and Description |
|---|
DateConverter(java.text.DateFormat inputformat) |
DateConverter(java.text.DateFormat inputformat,
java.text.DateFormat outputformat) |
DateConverter(java.lang.String inputformat) |
DateConverter(java.lang.String inputformat,
java.lang.String outputformat) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convertToFlatFileContent(java.lang.String contents)
Converts the contents of a XML element to the contents of the flat file column
|
java.lang.String |
convertToXml(java.lang.String contents)
Converts the contents of column to the contents of the XML element
|
boolean |
isBlankValueIsNull() |
void |
setBlankValueIsNull(boolean blankValueIsNull) |
void |
setInputformat(java.lang.String format) |
void |
setOutpuformat(java.lang.String format) |
public static final java.lang.String DEFAULT_OUTPUT_FORMATSTRING
public DateConverter(java.text.DateFormat inputformat)
public DateConverter(java.text.DateFormat inputformat,
java.text.DateFormat outputformat)
public DateConverter(java.lang.String inputformat)
public DateConverter(java.lang.String inputformat,
java.lang.String outputformat)
public java.lang.String convertToXml(java.lang.String contents)
ContentConverterconvertToXml in interface ContentConvertercontents - contents of the flat file columnpublic java.lang.String convertToFlatFileContent(java.lang.String contents)
ContentConverterconvertToFlatFileContent in interface ContentConvertercontents - contents of the XML elementpublic final void setInputformat(java.lang.String format)
public final void setOutpuformat(java.lang.String format)
public boolean isBlankValueIsNull()
public void setBlankValueIsNull(boolean blankValueIsNull)
Copyright © 2005-2014 FuseSource. All Rights Reserved.