|
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 ResourceSource
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.
Instances of Resource Source objects can be created using the following factory style method(s).
ResourceSource object = createResourceSource
(path);
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 |
---|
String getPath()
|
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 |