@Test public void retrieveStyleSheetTest() throws IOException { String fileName = "retrieveStyleSheetTest.css"; InputStream expected = new FileInputStream(baseUri + fileName); ResourceResolver resourceResolver = new ResourceResolver(baseUri); InputStream stream = resourceResolver.retrieveStyleSheet(fileName); Assert.assertNotNull(stream); Assert.assertEquals(expected.read(), stream.read()); }
@Deprecated public InputStream retrieveStyleSheet(String uri) throws IOException { return retriever.getInputStreamByUrl(uriResolver.resolveAgainstBaseUri(uri)); }
ResourceResolver { @Deprecated public InputStream retrieveStyleSheet(String uri) throws IOException { return retriever.getInputStreamByUrl(uriResolver.resolveAgainstBaseUri(uri)); } }
ResourceResolver { @Deprecated public InputStream retrieveStyleSheet(String uri) throws IOException { return retriever.getInputStreamByUrl(uriResolver.resolveAgainstBaseUri(uri)); } ResourceResolver(String baseUri);  ResourceResolver(String baseUri, IResourceRetriever retriever); }
ResourceResolver { @Deprecated public InputStream retrieveStyleSheet(String uri) throws IOException { return retriever.getInputStreamByUrl(uriResolver.resolveAgainstBaseUri(uri)); } ResourceResolver(String baseUri);  ResourceResolver(String baseUri, IResourceRetriever retriever); IResourceRetriever getRetriever(); ResourceResolver setRetriever(IResourceRetriever retriever); @Deprecated PdfImageXObject retrieveImage(String src); PdfXObject retrieveImageExtended(String src); @Deprecated InputStream retrieveStyleSheet(String uri); @Deprecated byte[] retrieveStream(String src); byte[] retrieveBytesFromResource(String src); InputStream retrieveResourceAsInputStream(String src); boolean isDataSrc(String src); URL resolveAgainstBaseUri(String uri); void resetCache(); @Deprecated boolean isImageTypeSupportedByImageDataFactory(String src); }
ResourceResolver { @Deprecated public InputStream retrieveStyleSheet(String uri) throws IOException { return retriever.getInputStreamByUrl(uriResolver.resolveAgainstBaseUri(uri)); } ResourceResolver(String baseUri);  ResourceResolver(String baseUri, IResourceRetriever retriever); IResourceRetriever getRetriever(); ResourceResolver setRetriever(IResourceRetriever retriever); @Deprecated PdfImageXObject retrieveImage(String src); PdfXObject retrieveImageExtended(String src); @Deprecated InputStream retrieveStyleSheet(String uri); @Deprecated byte[] retrieveStream(String src); byte[] retrieveBytesFromResource(String src); InputStream retrieveResourceAsInputStream(String src); boolean isDataSrc(String src); URL resolveAgainstBaseUri(String uri); void resetCache(); @Deprecated boolean isImageTypeSupportedByImageDataFactory(String src); static final String BASE64IDENTIFIER; static final String DATA_SCHEMA_PREFIX; }