Class CSVField


  • public class CSVField
    extends Object
    • Constructor Detail

      • CSVField

        public CSVField()
      • CSVField

        public CSVField​(String name)
        Parameters:
        name - the name of the field
      • CSVField

        public CSVField​(String name,
                        int size)
        Parameters:
        name - the name of the field
        size - the size of the field
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the field
      • setName

        public void setName​(String name)
        Set the name of the field
        Parameters:
        name - the name
      • getSize

        public int getSize()
        Returns:
        the size of the field
      • setSize

        public void setSize​(int size)
        Set the size of the field. The size will be ignored when fixedwidth is set to false in the CSVConfig
        Parameters:
        size - the size of the field.
      • getFill

        public int getFill()
        Returns:
        the fill pattern.
      • setFill

        public void setFill​(int fill)
        Sets overrideFill to true.
        Parameters:
        fill - the file pattern
      • overrideFill

        public boolean overrideFill()
        Does this field override fill ?