Package org.pentaho.di.trans.steps.file
Class BaseFileField
java.lang.Object
org.pentaho.di.trans.steps.file.BaseFileField
- All Implemented Interfaces:
Cloneable
,Comparable<org.pentaho.di.core.gui.TextFileInputFieldInterface>
,org.pentaho.di.core.gui.TextFileInputFieldInterface
public class BaseFileField
extends Object
implements Cloneable, org.pentaho.di.core.gui.TextFileInputFieldInterface
Describes a single field in a text file
- Since:
- 19-04-2004
- Author:
- Matt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
int
compareTo
(org.pentaho.di.core.gui.TextFileInputFieldInterface field) org.pentaho.di.core.gui.TextFileInputFieldInterface
createNewInstance
(String newFieldname, int x, int newlength) boolean
void
void
int
getName()
int
int
int
int
getType()
void
guess()
void
static final int
guessPrecision
(double d) void
void
boolean
boolean
void
setCurrencySymbol
(String currency_symbol) void
setDecimalSymbol
(String decimal_symbol) void
void
setGroupSymbol
(String group_symbol) void
setIfNullValue
(String ifNullValue) void
setIgnored
(boolean ignore) void
setLength
(int length) void
void
setNullString
(String null_string) void
setPosition
(int position) void
setPrecision
(int precision) void
setRepeated
(boolean repeat) void
setSamples
(String[] samples) void
setTrimType
(int trimtype) void
setTrimType
(String value) void
setType
(int type) void
toString()
-
Constructor Details
-
BaseFileField
-
BaseFileField
public BaseFileField()
-
-
Method Details
-
compare
-
compareTo
public int compareTo(org.pentaho.di.core.gui.TextFileInputFieldInterface field) - Specified by:
compareTo
in interfaceComparable<org.pentaho.di.core.gui.TextFileInputFieldInterface>
-
equal
-
clone
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceorg.pentaho.di.core.gui.TextFileInputFieldInterface
-
setPosition
public void setPosition(int position) -
getLength
public int getLength()- Specified by:
getLength
in interfaceorg.pentaho.di.core.gui.TextFileInputFieldInterface
-
setLength
public void setLength(int length) - Specified by:
setLength
in interfaceorg.pentaho.di.core.gui.TextFileInputFieldInterface
-
getName
- Specified by:
getName
in interfaceorg.pentaho.di.core.gui.TextFileInputFieldInterface
-
setName
-
getType
public int getType() -
getTypeDesc
-
setType
public void setType(int type) -
setType
-
isIgnored
public boolean isIgnored() -
setIgnored
public void setIgnored(boolean ignore) -
flipIgnored
public void flipIgnored() -
getFormat
-
setFormat
-
setSamples
-
getTrimType
public int getTrimType() -
getTrimTypeCode
-
getTrimTypeDesc
-
setTrimType
public void setTrimType(int trimtype) -
setTrimType
-
getGroupSymbol
-
setGroupSymbol
-
getDecimalSymbol
-
setDecimalSymbol
-
getCurrencySymbol
-
setCurrencySymbol
-
getPrecision
public int getPrecision() -
setPrecision
public void setPrecision(int precision) -
isRepeated
public boolean isRepeated() -
setRepeated
public void setRepeated(boolean repeat) -
flipRepeated
public void flipRepeated() -
getNullString
-
setNullString
-
getIfNullValue
-
setIfNullValue
-
toString
-
guess
public void guess() -
guessTrimType
public void guessTrimType() -
guessType
public void guessType() -
guessPrecision
public static final int guessPrecision(double d) -
guessIgnore
public void guessIgnore() -
createNewInstance
public org.pentaho.di.core.gui.TextFileInputFieldInterface createNewInstance(String newFieldname, int x, int newlength) - Specified by:
createNewInstance
in interfaceorg.pentaho.di.core.gui.TextFileInputFieldInterface
-