Class FixedFileInputField

  • All Implemented Interfaces:
    Cloneable, org.pentaho.di.core.xml.XMLInterface

    public class FixedFileInputField
    extends Object
    implements Cloneable, org.pentaho.di.core.xml.XMLInterface
    • Constructor Detail

      • FixedFileInputField

        public FixedFileInputField​(Node fnode)
      • FixedFileInputField

        public FixedFileInputField()
      • FixedFileInputField

        protected FixedFileInputField​(String name)
        For testing only.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getXML

        public String getXML()
        Specified by:
        getXML in interface org.pentaho.di.core.xml.XMLInterface
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        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

        public String getFormat()
        Returns:
        the format
      • setFormat

        public void setFormat​(String format)
        Parameters:
        format - the format to set
      • getDecimal

        public String getDecimal()
        Returns:
        the decimal
      • setDecimal

        public void setDecimal​(String decimal)
        Parameters:
        decimal - the decimal to set
      • getGrouping

        public String getGrouping()
        Returns:
        the grouping
      • setGrouping

        public void setGrouping​(String grouping)
        Parameters:
        grouping - the grouping to set
      • getCurrency

        public String getCurrency()
        Returns:
        the currency
      • setCurrency

        public void setCurrency​(String currency)
        Parameters:
        currency - the currency to set
      • setSamples

        public void setSamples​(String[] samples)
      • getSamples

        public String[] 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)