Class CsvOptions
- java.lang.Object
-
- com.aspose.tasks.SimpleSaveOptions
-
- com.aspose.tasks.CsvOptions
-
public class CsvOptions extends SimpleSaveOptions
Allows to specify additional options when saving project to CSV.
-
-
Constructor Summary
Constructors Constructor Description CsvOptions()Initializes a new instance of theCsvOptionsclass which can be used to save project in CSV format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataCategory()Gets a data category to be saved.CharsetgetEncoding()Gets an encoding to save CSV with.booleangetIncludeHeaders()Gets a value indicating whether to include headers or not (default value is TRUE).intgetTextDelimiter()Gets a text delimiter.ProjectViewgetView()Gets a list of the view columns (GanttChartColumn) to save to XLSX format.voidsetDataCategory(int value)Sets a data category to be saved.voidsetEncoding(Charset value)Sets an encoding to save CSV with.voidsetIncludeHeaders(boolean value)Sets a value indicating whether to include headers or not (default value is TRUE).voidsetTextDelimiter(int value)Sets a text delimiter.voidsetView(ProjectView value)Sets a list of the view columns (GanttChartColumn) to save to XLSX format.-
Methods inherited from class com.aspose.tasks.SimpleSaveOptions
getSaveFormat, getTasksComparer, getTasksFilter, setTasksComparer, setTasksFilter
-
-
-
-
Constructor Detail
-
CsvOptions
public CsvOptions()
Initializes a new instance of the
CsvOptionsclass 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.
-
getView
public final ProjectView getView()
Gets a list of the view columns (
GanttChartColumn) to save to XLSX format. If not set then default columns are saved.- Returns:
- a list of the view columns (
GanttChartColumn) to save to XLSX format.
-
setView
public final void setView(ProjectView value)
Sets a list of the view columns (
GanttChartColumn) to save to XLSX format. If not set then default columns are saved.- Parameters:
value- a list of the view columns (GanttChartColumn) to save to XLSX format.
-
-