com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class LoadOptions



  • public class LoadOptions
    extends Object

    Represents the options of loading the file.

    • Constructor Detail

      • LoadOptions

        public LoadOptions()

        Initializes a new instance of the LoadOptions class.

      • LoadOptions

        public LoadOptions(String mediaType)

        Initializes a new instance of the LoadOptions class.

        Parameters:
        mediaType - A media type of the file.
      • LoadOptions

        public LoadOptions(String mediaType,
                   Charset encoding)

        Initializes a new instance of the LoadOptions class.

        Parameters:
        mediaType - A media type of the file.
        encoding - An encoding of the file.
      • LoadOptions

        public LoadOptions(String mediaType,
                   Charset encoding,
                   String password)

        Initializes a new instance of the LoadOptions class.

        Parameters:
        mediaType - A media type of the file.
        encoding - An encoding of the file.
        password - A password of the file.
    • Method Detail

      • getMediaType

        public String getMediaType()

        Gets a media type for the file.

        Returns:
        A string with a media type for the file or null, if media type is not set.
      • setMediaType

        public void setMediaType(String value)

        Sets a media type for the file.

        Parameters:
        value - A string with a media type for the file or null, if media type is not set.
      • getEncoding

        public Charset getEncoding()

        Gets an encoding for the file.

        Returns:
        An encoding for the file.
      • setEncoding

        public void setEncoding(Charset value)

        Sets an encoding for the file.

        Parameters:
        value - An encoding for the file.
      • getPassword

        public String getPassword()

        Gets a password for the file.

        Returns:
        An string with the password for the file.
      • setPassword

        public void setPassword(String value)

        Sets a password for the file.

        Parameters:
        value - An string with the password for the file.
      • getNotificationReceiver

        public INotificationReceiver getNotificationReceiver()

        Gets a NotificationReceiver.

        Returns:
        The object which implemented INotificationReceiver interface.
      • setNotificationReceiver

        public void setNotificationReceiver(INotificationReceiver value)

        Sets a NotificationReceiver.

        Parameters:
        value - The object which implemented INotificationReceiver interface.
      • deepClone

        public LoadOptions deepClone()

        Creates a new object that is a copy of the current instance.

        Returns:
        A new object that is a copy of this instance.