public class LoadOptions extends Object
Allows to specify additional load parameters when loading a project from file or stream.
Constructor and Description |
---|
LoadOptions() |
Modifier and Type | Method and Description |
---|---|
ParseErrorCallback |
getErrorHandler()
Specified callback method to handle xml parse errors.
|
String |
getPassword()
Protection password.
|
PrimaveraXmlReadingOptions |
getPrimaveraOptions()
Specified instance of the
PrimaveraXmlReadingOptions class |
void |
setErrorHandler(ParseErrorCallback value)
Specified callback method to handle xml parse errors.
|
void |
setPassword(String value)
Protection password.
|
void |
setPrimaveraOptions(PrimaveraXmlReadingOptions value)
Specified instance of the
PrimaveraXmlReadingOptions class |
public ParseErrorCallback getErrorHandler()
Specified callback method to handle xml parse errors.
ParseErrorCallback
class to handle errors when parsing xml file.public void setErrorHandler(ParseErrorCallback value)
Specified callback method to handle xml parse errors.
value
- the specified instance of the ParseErrorCallback
class to handle errors when parsing
xml
file.public String getPassword()
Protection password.
public void setPassword(String value)
Protection password.
value
- the password the file was protected with.public PrimaveraXmlReadingOptions getPrimaveraOptions()
Specified instance of the PrimaveraXmlReadingOptions
class
PrimaveraXmlReadingOptions
class which represents options when reading
primavera file.public void setPrimaveraOptions(PrimaveraXmlReadingOptions value)
Specified instance of the PrimaveraXmlReadingOptions
class
value
- the specified instance of the PrimaveraXmlReadingOptions
class which represents
options when
reading primavera file.