public class NumberConverter extends java.lang.Object implements ContentConverter
| Constructor and Description |
|---|
NumberConverter() |
| 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
|
void |
setBlankValueIsNull(boolean blankValueIsNull) |
void |
setZeroValueIsNull(boolean zeroValueIsNull) |
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 setZeroValueIsNull(boolean zeroValueIsNull)
public final void setBlankValueIsNull(boolean blankValueIsNull)
Copyright © 2005-2014 FuseSource. All Rights Reserved.