Generated by
JDiff

Class com.itextpdf.styledxmlparser.resolver.resource.ResourceResolver

Added Constructors
ResourceResolver( String, IResourceRetriever ) Creates a new ResourceResolver instance.
 

Changed Constructors
ResourceResolver( String) Documentation changed from old to new.
Creates a new ResourceResolver instance.
 

Added Methods
IResourceRetriever  getRetriever() Gets the resource retriever.
ResourceResolver  setRetriever( IResourceRetriever) Sets the resource retriever.
 

Changed Methods
PdfXObject  createImageByUrl( URL) Documentation changed from old to new.
Create a iText XObject based on the image stored at the passed location.
boolean  isDataSrc( String) Documentation changed from old to new.
Checks if source is under data URI scheme.
boolean  isImageTypeSupportedByImageDataFactory( String) Documentation changed from old to new.
Now deprecated.
there is no need to perform laborious type checking because any resource extraction is wrapped in an try-catch block
byte[]  retrieveBytesFromResource( String) Documentation changed from old to new.
Retrieve a resource as a byte array from a source that can either be a link to a file, or a base64 encoded String.
PdfImageXObject  retrieveImage( String) Documentation changed from old to new.
will return {@link PdfXObject in pdfHTML 3.0.0}
PdfXObject  retrieveImageExtended( String) Documentation changed from old to new.
Retrieve image as either PdfImageXObject, or com.itextpdf.kernel.pdf.xobject.PdfFormXObject.
InputStream  retrieveResourceAsInputStream( String) Documentation changed from old to new.
Retrieve the resource found in src as an InputStream
byte[]  retrieveStream( String) Documentation changed from old to new.
Now deprecated.
use {@link #retrieveBytesFromResource(String)} instead
InputStream  retrieveStyleSheet( String) Documentation changed from old to new.
Now deprecated.
use {@link ResourceResolver#retrieveResourceAsInputStream(String)} instead
 

Changed Fields
String  BASE64IDENTIFIER Documentation changed from old to new.
Identifier string used when loading in base64 images.
String  DATA_SCHEMA_PREFIX Documentation changed from old to new.
Identifier string used to detect that the source is under data URI scheme.