Class DbaseFileWriter.FieldFormatter

  • Enclosing class:
    DbaseFileWriter

    public static class DbaseFileWriter.FieldFormatter
    extends Object
    Utility for formatting Dbase fields.
    • Constructor Detail

      • FieldFormatter

        public FieldFormatter​(Charset charset,
                              TimeZone timeZone,
                              boolean swallowFieldSizeErrors)
    • Method Detail

      • getFieldString

        public String getFieldString​(int size,
                                     String s)
      • getFieldString

        public String getFieldString​(Date d)
      • getFieldStringDateTime

        public String getFieldStringDateTime​(Date d)
      • getFieldString

        public String getFieldString​(int size,
                                     int decimalPlaces,
                                     Number n)