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 ParseErrorCallbackgetErrorHandler()Specified callback method to handle xml parse errors.StringgetPassword()Protection password.PrimaveraXmlReadingOptionsgetPrimaveraOptions()Specified instance of thePrimaveraXmlReadingOptionsclassvoidsetErrorHandler(ParseErrorCallback value)Specified callback method to handle xml parse errors.voidsetPassword(String value)Protection password.voidsetPrimaveraOptions(PrimaveraXmlReadingOptions value)Specified instance of thePrimaveraXmlReadingOptionsclass
-
-
-
Method Detail
-
getErrorHandler
public ParseErrorCallback getErrorHandler()
Specified callback method to handle xml parse errors.
- Returns:
- an instance of the
ParseErrorCallbackclass 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 theParseErrorCallbackclass 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
PrimaveraXmlReadingOptionsclass- Returns:
- an instance of the
PrimaveraXmlReadingOptionsclass which represents options when reading primavera file.
-
setPrimaveraOptions
public void setPrimaveraOptions(PrimaveraXmlReadingOptions value)
Specified instance of the
PrimaveraXmlReadingOptionsclass- Parameters:
value- the specified instance of thePrimaveraXmlReadingOptionsclass which represents options when reading primavera file.
-
-