Package com.aspose.tasks
Class LoadOptions
- java.lang.Object
-
- com.aspose.tasks.LoadOptions
-
public class LoadOptions extends Object
Allows to specify additional load parameters when loading a project from file or stream.
-
-
Constructor Summary
Constructors Constructor Description LoadOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseErrorCallback
getErrorHandler()
Specified callback method to handle xml parse errors.String
getPassword()
Protection password.PrimaveraXmlReadingOptions
getPrimaveraOptions()
Specified instance of thePrimaveraXmlReadingOptions
classvoid
setErrorHandler(ParseErrorCallback value)
Specified callback method to handle xml parse errors.void
setPassword(String value)
Protection password.void
setPrimaveraOptions(PrimaveraXmlReadingOptions value)
Specified instance of thePrimaveraXmlReadingOptions
class
-
-
-
Method Detail
-
getErrorHandler
public ParseErrorCallback getErrorHandler()
Specified callback method to handle xml parse errors.
- Returns:
- an instance of the
ParseErrorCallback
class to handle errors when parsing xml file.
-
setErrorHandler
public void setErrorHandler(ParseErrorCallback value)
Specified callback method to handle xml parse errors.
- Parameters:
value
- the specified instance of theParseErrorCallback
class to handle errors when parsing xml file.
-
getPassword
public String getPassword()
Protection password.
- Returns:
- password the file was protected with.
-
setPassword
public void setPassword(String value)
Protection password.
- Parameters:
value
- the password the file was protected with.
-
getPrimaveraOptions
public PrimaveraXmlReadingOptions getPrimaveraOptions()
Specified instance of the
PrimaveraXmlReadingOptions
class- Returns:
- an instance of the
PrimaveraXmlReadingOptions
class which represents options when reading primavera file.
-
setPrimaveraOptions
public void setPrimaveraOptions(PrimaveraXmlReadingOptions value)
Specified instance of the
PrimaveraXmlReadingOptions
class- Parameters:
value
- the specified instance of thePrimaveraXmlReadingOptions
class which represents options when reading primavera file.
-
-