WebLoadOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions

All Implemented Interfaces: java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions

public class WebLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions

Options for loading web documents.

Constructors

Constructor Description
WebLoadOptions() Initializes new instance of class.

Methods

Method Description
getFormat() Gets Input document file type.
setFormat(WebFileType format) Sets Input document file type.
isPageNumbering()
setPageNumbering(boolean pageNumbering)
getBasePath()
setBasePath(String basePath)
getEncoding()
setEncoding(String encoding)
getResourceLoadingTimeout()
setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout)
getSkipExternalResources() {@inheritDoc}
setSkipExternalResources(boolean skip) {@inheritDoc}
getWhitelistedResources() {@inheritDoc}
setWhitelistedResources(List whiteList) {@inheritDoc}

WebLoadOptions()

public WebLoadOptions()

Initializes new instance of class.

getFormat()

public WebFileType getFormat()

Gets Input document file type.

Returns: WebFileType

setFormat(WebFileType format)

public void setFormat(WebFileType format)

Sets Input document file type.

Parameters:

Parameter Type Description
format WebFileType

isPageNumbering()

public boolean isPageNumbering()

Returns: boolean

setPageNumbering(boolean pageNumbering)

public void setPageNumbering(boolean pageNumbering)

Parameters:

Parameter Type Description
pageNumbering boolean

getBasePath()

public String getBasePath()

Returns: java.lang.String

setBasePath(String basePath)

public void setBasePath(String basePath)

Parameters:

Parameter Type Description
basePath java.lang.String

getEncoding()

public String getEncoding()

Returns: java.lang.String

setEncoding(String encoding)

public void setEncoding(String encoding)

Parameters:

Parameter Type Description
encoding java.lang.String

getResourceLoadingTimeout()

public System.TimeSpan getResourceLoadingTimeout()

Returns: com.aspose.ms.System.TimeSpan

setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout)

public void setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout)

Parameters:

Parameter Type Description
resourceLoadingTimeout com.aspose.ms.System.TimeSpan

getSkipExternalResources()

public boolean getSkipExternalResources()

If true all external resource will not be loading with exception of the resources in the

Returns: boolean

setSkipExternalResources(boolean skip)

public void setSkipExternalResources(boolean skip)

Parameters:

Parameter Type Description
skip boolean

getWhitelistedResources()

public List<String> getWhitelistedResources()

External resources that will be always loaded

Returns: java.util.List<java.lang.String>

setWhitelistedResources(List whiteList)

public void setWhitelistedResources(List<String> whiteList)

Parameters:

Parameter Type Description
whiteList java.util.List<java.lang.String>