WebLoadOptions
Leave feedback
On this page
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.
| Constructor | Description |
|---|---|
| WebLoadOptions() | Initializes new instance of class. |
| 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 |
{@inheritDoc} |
public WebLoadOptions()
Initializes new instance of class.
public WebFileType getFormat()
Gets Input document file type.
Returns: WebFileType
public void setFormat(WebFileType format)
Sets Input document file type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| format | WebFileType |
public boolean isPageNumbering()
Returns: boolean
public void setPageNumbering(boolean pageNumbering)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageNumbering | boolean |
public String getBasePath()
Returns: java.lang.String
public void setBasePath(String basePath)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| basePath | java.lang.String |
public String getEncoding()
Returns: java.lang.String
public void setEncoding(String encoding)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| encoding | java.lang.String |
public System.TimeSpan getResourceLoadingTimeout()
Returns: com.aspose.ms.System.TimeSpan
public void setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| resourceLoadingTimeout | com.aspose.ms.System.TimeSpan |
public boolean getSkipExternalResources()
If true all external resource will not be loading with exception of the resources in the
Returns: boolean
public void setSkipExternalResources(boolean skip)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| skip | boolean |
public List<String> getWhitelistedResources()
External resources that will be always loaded
Returns: java.util.List<java.lang.String>
public void setWhitelistedResources(List<String> whiteList)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| whiteList | java.util.List<java.lang.String> |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.