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

      • getDataCategory

        public final int getDataCategory()

        Gets a data category to be saved.

        Returns:
        a data category to be saved.
      • setDataCategory

        public final void setDataCategory(int value)

        Sets a data category to be saved.

        Parameters:
        value - a data category to be saved.
      • getEncoding

        public final Charset getEncoding()

        Gets an encoding to save csv with.

        Returns:
        an encoding to save csv with.
      • setEncoding

        public final void setEncoding(Charset value)

        Sets an encoding to save csv with.

        Parameters:
        value - an encoding to save csv with.
      • getIncludeHeaders

        public final boolean getIncludeHeaders()

        Gets a value indicating whether to include headers or not (default value is TRUE).

        Returns:
        a value indicating whether to include headers or not (default value is TRUE).
      • setIncludeHeaders

        public final void setIncludeHeaders(boolean value)

        Sets a value indicating whether to include headers or not (default value is TRUE).

        Parameters:
        value - a value indicating whether to include headers or not (default value is TRUE).
      • getTextDelimiter

        public final int getTextDelimiter()

        Gets a text delimiter.

        Returns:
        a text delimiter.
      • setTextDelimiter

        public final void setTextDelimiter(int value)

        Sets a text delimiter.

        Parameters:
        value - a text delimiter.