Skip navigation links

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

E12907-03


oracle.irm.engine.content.source
Interface ResourceSource

All Superinterfaces:
Source

public interface ResourceSource
extends Source

A resource file source for the sealing process. A resource file source can be used to seal resources. The content type of the resource is determined by it's file extension.

A resource source will close the input stream if close is called.

Creation

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

ResourceSource object = createResourceSource(path);

XML Serialization

Resource Source instances can be serialized as an XML document. This XML document can also be used to recreate a Resource Source object. The following XML document shows an example Resource Source in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:ResourceSource xmlns:content="http://xmlns.oracle.com/irm/content">
    <path>/META-INF/xml/content/source/ResourceSource.xml</path>
</content:ResourceSource>


Method Summary
 String getPath()
          The resource path.

 

Methods inherited from interface oracle.irm.engine.content.source.Source
close, getContentType, getInputStream, getSize

 

Method Detail

getPath

String getPath()
The resource path.
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-03


Copyright © 2011, Oracle. All rights reserved.