Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


oracle.irm.engine.content.source
Interface URLSource

All Superinterfaces:
Source

public interface URLSource
extends Source

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.

Creation

Instances of URL Source objects can be created using the following factory style method(s).

URLSource object = createURLSource(url);
URLSource object = createURLSource(connection);

XML Serialization

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

getUrl

URL getUrl()
The URL to the content.
Returns:
the value of the property. This method will never return null.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


Copyright © 2010, Oracle. All rights reserved.