Interface IResourceRetriever
- Namespace
- iText.StyledXmlParser.Resolver.Resource
- Assembly
- itext.styledxmlparser.dll
Interface for classes that can retrieve data from resources by URL.
public interface IResourceRetriever
Methods
GetByteArrayByUrl(Uri)
Gets the byte array that are retrieved from the source URL.
byte[] GetByteArrayByUrl(Uri url)
Parameters
url
Urithe source URL
Returns
- byte[]
the byte array or null if the retrieving failed
GetInputStreamByUrl(Uri)
Gets the Stream that connect with source URL for retrieving data from that connection.
Stream GetInputStreamByUrl(Uri url)
Parameters
url
Urithe source URL
Returns
- Stream
the input stream or null if the retrieving failed