com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class LoadOptions



  • public class LoadOptions
    extends Object

    Allows to specify additional load parameters when loading a project from file or stream.

    • Constructor Detail

      • LoadOptions

        public LoadOptions()
    • 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 the ParseErrorCallback 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 PrimaveraXmlReadingOptionsclass

        Returns:
        an instance of the PrimaveraXmlReadingOptions class which represents options when reading primavera file.
      • setPrimaveraOptions

        public void setPrimaveraOptions(PrimaveraXmlReadingOptions value)

        Specified instance of the PrimaveraXmlReadingOptionsclass

        Parameters:
        value - the specified instance of the PrimaveraXmlReadingOptions class which represents options when reading primavera file.