|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLSource
A URL based source for the sealing process. This source can be used to seal content that is available, for example, from a HTTP based URL.
A URL source will close the input stream if close
is called.
Instances of URL Source objects can be created using the following factory style method(s).
URLSource object = createURLSource
(url);
URLSource object = createURLSource
(connection);
URL Source instances can be serialized as an XML document. This XML document can also be used to recreate a URL Source object. The following XML document shows an example URL Source in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:URLSource xmlns:content="http://xmlns.oracle.com/irm/content">
<url>http://irm.example.com/sample.html</url>
</content:URLSource>
Method Summary | |
---|---|
URL |
getUrl() The URL to the content. |
Methods inherited from interface oracle.irm.engine.content.source.Source |
---|
close, getContentType, getInputStream, getSize |
Method Detail |
---|
URL getUrl()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |