|
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.FileSource
public class FileSource
File Source type. A file based source is probably the most common form of content supplied to the sealing process. A file based source can be created from a File
or a file path.
A file source will close the input stream if close
is called.
File Source instances can be serialized as an XML document. This XML document can also be used to recreate a File Source object. The following XML document shows an example File Source in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:FileSource xmlns:content="http://xmlns.oracle.com/irm/content">
<file>${java.io.tmpdir}/sample.txt</file>
</content:FileSource>
Constructor Summary | |
---|---|
FileSource() No argument constructor. |
|
FileSource(File file) Constructor. |
Method Summary | |
---|---|
File |
getFile() The file. |
void |
setFile(File value) The file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSource()
public FileSource(File file)
Method Detail |
---|
public File getFile()
public void setFile(File 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 |