com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class CsvOptions



  • public class CsvOptions
    extends SaveOptions

    Allows to specify additional options when saving project to CSV.

    • Constructor Detail

      • CsvOptions

        public CsvOptions()

        Initializes a new instance of the CsvOptions class which can be used to save project in csv format.

    • Method Detail

      • getEncoding

        public Charset getEncoding()
        Returns charset to save csv with.
        Returns:
        charset (java.nio.charset.Charset).
      • setEncoding

        public void setEncoding(Charset value)
        Sets charset to save csv with.
        Parameters:
        value - charset (java.nio.charset.Charset).
      • getTextDelimiter

        public int getTextDelimiter()

        Returns text delimiter.

        Returns:
        text delimiter (CsvTextDelimiter).
      • setTextDelimiter

        public void setTextDelimiter(int value)

        Sets text delimiter.

        Parameters:
        value - text delimiter (CsvTextDelimiter).
      • getIncludeHeaders

        public boolean getIncludeHeaders()

        Specifies whether to include headers or not (default value is TRUE).

        Returns:
        true if headers are to be included in saved csv format.
      • setIncludeHeaders

        public void setIncludeHeaders(boolean value)

        Specifies whether to include headers or not (default value is TRUE).

        Parameters:
        value - true if headers are to be included in saved csv format.
      • getDataCategory

        public int getDataCategory()

        Returns data category to be saved.

        Returns:
        data category (DataCategory).
      • setDataCategory

        public void setDataCategory(int value)

        Sets data category to be saved.

        Parameters:
        value - data category to save.