Generated by
JDiff

com.itextpdf.styledxmlparser.resolver.resource Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.styledxmlparser.resolver.resource as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class ResourceResolver, constructor ResourceResolver(String)

Creates a new ResourceResolver instance. If {@code baseUri} is a string that represents an absolute URI with any schema schema except "file" - resources resources url values will be resolved exactly as "new URL(baseUrl, uriString)". Otherwise base URI URI will be handled handled as path in local file system.

If empty string or relative URI string is passed as base URI, then it will be resolved against current working current working directory of this application instance. @param baseUri base URI against which all relative resource URIs will be resolved .

Class ResourceResolver, PdfXObject createImageByUrl(URL)

Create a iText XObject based on the image stored at the passed location location. @param url location of the Image file @return PdfXObject containing the Image loaded in @throws Exception thrown if error occurred during fetching or constructing the image
Class ResourceResolver, boolean isDataSrc(String)

Checks if source is under data URI scheme. (eg data:[][;base64],). @param src String string to test @return true if source is under data URI scheme
Class ResourceResolver, boolean isImageTypeSupportedByImageDataFactory(String)

Check if the type of image located at the passed is supported by the ImageDataFactory. @param src location of the image resource @return true if the image type is supported, false otherwise otherwise @deprecated there is no need to perform laborious type checking because any resource extraction is wrapped in an try-catch block
Class ResourceResolver, byte[] retrieveBytesFromResource(String)

Retrieve a resource as a byte array from a source that can either be a link to a file, or a base64 encoded String. @param src either link to file or base64 encoded stream. stream @return byte[] on success, otherwise null .
Class ResourceResolver, PdfImageXObject retrieveImage(String)

Retrieve PdfImageXObject. @param src either link to file or base64 encoded stream. stream @return PdfImageXObject on success, otherwise null. null @deprecated will return in pdfHTML 3.0.0
Class ResourceResolver, PdfXObject retrieveImageExtended(String)

Retrieve image as either PdfImageXObject, or com.itextpdf.kernel.pdf.xobject.PdfFormXObject. @param src either link to file or base64 encoded stream. stream @return PdfImageXObject on success, otherwise null .
Class ResourceResolver, InputStream retrieveResourceAsInputStream(String)

Retrieve the resource found in src as an InputStream @param src path to the resource @return InputStream for the resource on success, otherwise null
Class ResourceResolver, byte[] retrieveStream(String)

Deprecated: use retrieveBytesFromResource instead Replaced by retrieveBytesFromResource for the sake of method name clarity.

Retrieve a resource as a byte array from a source that can either be a link to a file, or a base64 encoded String. @param src either link to file or base64 encoded stream. stream @return byte[] on success, otherwise null null @deprecated use .retrieveBytesFromResource(String) instead

Class ResourceResolver, InputStream retrieveStyleSheet(String)

Open an InputStream to a style sheet URI. @param uri the URI @return the InputStream @throws IOException Signals that an I/O exception has occurred occurred @deprecated use ResourceResolver.retrieveResourceAsInputStream(String) instead
Class ResourceResolver, String BASE64IDENTIFIER

Identifier string used when loading in base64 images.