Class FixedFileInputField
java.lang.Object
org.pentaho.di.trans.steps.fixedinput.FixedFileInputField
- All Implemented Interfaces:
Cloneable,org.pentaho.di.core.xml.XMLInterface
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFixedFileInputField(String name) For testing only.FixedFileInputField(Node fnode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetName()intString[]intintgetType()intgetWidth()getXML()voidguess()static final intguessPrecision(double d) voidinthashCode()voidsetCurrency(String currency) voidsetDecimal(String decimal) voidvoidsetGrouping(String grouping) voidsetLength(int length) voidvoidsetPrecision(int precision) voidsetSamples(String[] samples) voidsetTrimType(int trimType) voidsetType(int type) voidsetWidth(int width)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
FixedFileInputField
-
FixedFileInputField
public FixedFileInputField() -
FixedFileInputField
For testing only.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getXML
- Specified by:
getXMLin interfaceorg.pentaho.di.core.xml.XMLInterface
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getType
public int getType()- Returns:
- the type
-
setType
public void setType(int type) - Parameters:
type- the type to set
-
getWidth
public int getWidth()- Returns:
- the width
-
setWidth
public void setWidth(int width) - Parameters:
width- the width to set
-
getLength
public int getLength()- Returns:
- the length
-
setLength
public void setLength(int length) - Parameters:
length- the length to set
-
getPrecision
public int getPrecision()- Returns:
- the precision
-
setPrecision
public void setPrecision(int precision) - Parameters:
precision- the precision to set
-
getFormat
- Returns:
- the format
-
setFormat
- Parameters:
format- the format to set
-
getDecimal
- Returns:
- the decimal
-
setDecimal
- Parameters:
decimal- the decimal to set
-
getGrouping
- Returns:
- the grouping
-
setGrouping
- Parameters:
grouping- the grouping to set
-
getCurrency
- Returns:
- the currency
-
setCurrency
- Parameters:
currency- the currency to set
-
setSamples
-
getSamples
- Returns:
- the samples
-
guess
public void guess() -
guessType
public void guessType() -
guessPrecision
public static final int guessPrecision(double d) -
getTrimType
public int getTrimType() -
setTrimType
public void setTrimType(int trimType)
-