org.pentaho.di.trans.steps.loadfileinput
Class LoadFileInputField
java.lang.Object
org.pentaho.di.trans.steps.loadfileinput.LoadFileInputField
- All Implemented Interfaces:
- Cloneable
public class LoadFileInputField
- extends Object
- implements Cloneable
Describes a field
- Since:
- 20-06-2007
- Author:
- Samatar
TYPE_TRIM_NONE
public static final int TYPE_TRIM_NONE
- See Also:
- Constant Field Values
TYPE_TRIM_LEFT
public static final int TYPE_TRIM_LEFT
- See Also:
- Constant Field Values
TYPE_TRIM_RIGHT
public static final int TYPE_TRIM_RIGHT
- See Also:
- Constant Field Values
TYPE_TRIM_BOTH
public static final int TYPE_TRIM_BOTH
- See Also:
- Constant Field Values
trimTypeCode
public static final String[] trimTypeCode
trimTypeDesc
public static final String[] trimTypeDesc
ELEMENT_TYPE_FILECONTENT
public static final int ELEMENT_TYPE_FILECONTENT
- See Also:
- Constant Field Values
ELEMENT_TYPE_FILESIZE
public static final int ELEMENT_TYPE_FILESIZE
- See Also:
- Constant Field Values
ElementTypeCode
public static final String[] ElementTypeCode
ElementTypeDesc
public static final String[] ElementTypeDesc
LoadFileInputField
public LoadFileInputField(String fieldname)
LoadFileInputField
public LoadFileInputField()
LoadFileInputField
public LoadFileInputField(Node fnode)
throws KettleValueException
- Throws:
KettleValueException
getXML
public String getXML()
getTrimTypeByCode
public static final int getTrimTypeByCode(String tt)
getElementTypeByCode
public static final int getElementTypeByCode(String tt)
getTrimTypeByDesc
public static final int getTrimTypeByDesc(String tt)
getElementTypeByDesc
public static final int getElementTypeByDesc(String tt)
getTrimTypeCode
public static final String getTrimTypeCode(int i)
getElementTypeCode
public static final String getElementTypeCode(int i)
getTrimTypeDesc
public static final String getTrimTypeDesc(int i)
getElementTypeDesc
public static final String getElementTypeDesc(int i)
clone
public Object clone()
- Overrides:
clone
in class Object
getLength
public int getLength()
setLength
public void setLength(int length)
getName
public String getName()
setName
public void setName(String fieldname)
getType
public int getType()
getTypeDesc
public String getTypeDesc()
setType
public void setType(int type)
getFormat
public String getFormat()
setFormat
public void setFormat(String format)
getTrimType
public int getTrimType()
getElementType
public int getElementType()
getTrimTypeCode
public String getTrimTypeCode()
getElementTypeCode
public String getElementTypeCode()
getTrimTypeDesc
public String getTrimTypeDesc()
getElementTypeDesc
public String getElementTypeDesc()
setTrimType
public void setTrimType(int trimtype)
setElementType
public void setElementType(int element_type)
getGroupSymbol
public String getGroupSymbol()
setGroupSymbol
public void setGroupSymbol(String group_symbol)
getDecimalSymbol
public String getDecimalSymbol()
setDecimalSymbol
public void setDecimalSymbol(String decimal_symbol)
getCurrencySymbol
public String getCurrencySymbol()
setCurrencySymbol
public void setCurrencySymbol(String currency_symbol)
getPrecision
public int getPrecision()
setPrecision
public void setPrecision(int precision)
isRepeated
public boolean isRepeated()
setRepeated
public void setRepeated(boolean repeat)
flipRepeated
public void flipRepeated()
getFieldPositionsCode
public String getFieldPositionsCode()
guess
public void guess()