|
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 |
java.lang.Object
oracle.irm.engine.types.content.source.Source
oracle.irm.engine.types.content.source.ResourceSource
public class ResourceSource
Resource Source type. 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.
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>
Constructor Summary | |
---|---|
ResourceSource() No argument constructor. |
|
ResourceSource(String path) Constructor. |
Method Summary | |
---|---|
String |
getPath() The resource path. |
void |
setPath(String value) The resource path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceSource()
public ResourceSource(String path)
Method Detail |
---|
public String getPath()
public void setPath(String value)
value
- the new value for the property.
|
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 |