Package com.aspose.tasks
Class CsvOptions
- java.lang.Object
-
- com.aspose.tasks.SaveOptions
-
- com.aspose.tasks.CsvOptions
-
public class CsvOptions extends SaveOptions
Allows to specify additional options when saving project to CSV.
-
-
Constructor Summary
Constructors Constructor Description CsvOptions()
Initializes a new instance of theCsvOptions
class which can be used to save project in CSV format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDataCategory()
Gets a data category to be saved.Charset
getEncoding()
Gets an encoding to save CSV with.boolean
getIncludeHeaders()
Gets a value indicating whether to include headers or not (default value is TRUE).int
getTextDelimiter()
Gets a text delimiter.void
setDataCategory(int value)
Sets a data category to be saved.void
setEncoding(Charset value)
Sets an encoding to save CSV with.void
setIncludeHeaders(boolean value)
Sets a value indicating whether to include headers or not (default value is TRUE).void
setTextDelimiter(int value)
Sets a text delimiter.-
Methods inherited from class com.aspose.tasks.SaveOptions
getBarStyles, getCustomPageSize, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRenderToSinglePage, getRollUpGanttBars, getSaveFormat, getStartDate, getTasksComparer, getTasksFilter, getTextStyles, getTimescale, getUseGradientBrush, getView, getViewSettings, setBarStyles, setCustomPageSize, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRenderToSinglePage, setRollUpGanttBars, setStartDate, setTasksComparer, setTasksFilter, setTextStyles, setTimescale, setUseGradientBrush, setView, setViewSettings
-
-
-
-
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.
-
-