Class CsvOptions


  • public class CsvOptions
    extends java.lang.Object
    Class for all the optional PDF output options. Only for
    • Constructor Detail

      • CsvOptions

        public CsvOptions()
        Constructor for the CsvOptions object. Set the options with the setters. Uninitialized options won't be included in the JSON.
    • Method Detail

      • getTextDelimiter

        public java.lang.String getTextDelimiter()
        Returns:
        The text delimiter. Can be " or ' (default ").
      • setTextDelimiter

        public void setTextDelimiter​(java.lang.String textDelimiter)
        Parameters:
        textDelimiter - The text delimiter. Can be " or ' (default ").
      • getFieldSeparator

        public java.lang.String getFieldSeparator()
        Returns:
        The field separator. Default ,.
      • setFieldSeparator

        public void setFieldSeparator​(java.lang.String fieldSeparator)
        Parameters:
        fieldSeparator - The field separator. Default ,.
      • getCharacterSet

        public java.lang.Integer getCharacterSet()
        Returns:
        The character set. Should be an integer. See: https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options#Filter_Options_for_Lotus.2C_dBase_and_DIF_Filters for possible values. Default 0 or system encoding.
      • setCharacterSet

        public void setCharacterSet​(java.lang.Integer characterSet)
        Parameters:
        characterSet - The character set. Should be an integer. See: https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options#Filter_Options_for_Lotus.2C_dBase_and_DIF_Filters for possible values. Default 0 or system encoding.
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Returns:
        JSON-representation of this object