|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagecom.itextpdf.styledxmlparser.resolver.resource
as colored differences. Deletions are shownlike 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.
Creates a new ResourceResolver instance. If {@code baseUri} is a string that represents an absolute URI with anyClass ResourceResolver, PdfXObject createImageByUrl(URL)schemaschema except "file" -resourcesresources url values will be resolved exactly as "new URL(baseUrl, uriString)". Otherwise baseURIURI will behandledhandled 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 workingcurrent working directory of this application instance. @param baseUri base URI against which all relative resource URIs will be resolved.
Create a iText XObject based on the image stored at the passedClass ResourceResolver, boolean isDataSrc(String)locationlocation. @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
Checks if source is under data URI scheme. (eg data:[Class ResourceResolver, boolean isImageTypeSupportedByImageDataFactory(String)][;base64],). @param src Stringstring to test @return true if source is under data URI scheme
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, falseClass ResourceResolver, byte[] retrieveBytesFromResource(String)otherwiseotherwise @deprecated there is no need to perform laborious type checking because any resource extraction is wrapped in an try-catch block
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 encodedClass ResourceResolver, PdfImageXObject retrieveImage(String)stream.stream @return byte[] on success, otherwise null.
Retrieve PdfImageXObject. @param src either link to file or base64 encodedClass ResourceResolver, PdfXObject retrieveImageExtended(String)stream.stream @return PdfImageXObject on success, otherwisenull.null @deprecated will return in pdfHTML 3.0.0
Retrieve image as either PdfImageXObject, or com.itextpdf.kernel.pdf.xobject.PdfFormXObject. @param src either link to file or base64 encodedClass ResourceResolver, InputStream retrieveResourceAsInputStream(String)stream.stream @return PdfImageXObject on success, otherwise null.
Retrieve the resource found in src as an InputStream @param src path to the resource @return InputStream for the resource on success, otherwise nullClass ResourceResolver, byte[] retrieveStream(String)
Class ResourceResolver, InputStream retrieveStyleSheet(String)Deprecated: use retrieveBytesFromResource insteadReplaced 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, otherwisenullnull @deprecated use .retrieveBytesFromResource(String) instead
Open an InputStream to a style sheet URI. @param uri the URI @return the InputStream @throws IOException Signals that an I/O exception hasClass ResourceResolver, String BASE64IDENTIFIERoccurredoccurred @deprecated use ResourceResolver.retrieveResourceAsInputStream(String) instead
Identifier string used when loading in base64 images.