com.aspose.html.saving

Class ResourceHandlingOptions

  • java.lang.Object
    • com.aspose.html.saving.ResourceHandlingOptions


  • public class ResourceHandlingOptions
    extends java.lang.Object

    Represents resource handling options.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getDefault()
      Gets or sets enum which represents default way of resources handling.
      int getJavaScript()
      Gets or sets enum which represents the way scripts are handled.
      int getMaxHandlingDepth()
      Gets or sets maximum depth of resource which will be handled.
      int getUrlRestriction()
      Gets or sets restriction applied to URLs of handled resources.
      void setDefault(int value)
      Gets or sets enum which represents default way of resources handling.
      void setJavaScript(int value)
      Gets or sets enum which represents the way scripts are handled.
      void setMaxHandlingDepth(int value)
      Gets or sets maximum depth of resource which will be handled.
      void setUrlRestriction(int value)
      Gets or sets restriction applied to URLs of handled resources.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceHandlingOptions

        public ResourceHandlingOptions()
    • Method Detail

      • getUrlRestriction

        public int getUrlRestriction()

        Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders.

      • setUrlRestriction

        public void setUrlRestriction(int value)

        Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders.

      • getMaxHandlingDepth

        public int getMaxHandlingDepth()

        Gets or sets maximum depth of resource which will be handled. Depth of 1 means that only resources directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all resources. Default value is 3.

      • setMaxHandlingDepth

        public void setMaxHandlingDepth(int value)

        Gets or sets maximum depth of resource which will be handled. Depth of 1 means that only resources directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all resources. Default value is 3.