DEPRECATED
Represents the data about a Document at the SPI level.
com.bea.p13n.content.document.ref.DefaultDocument
, com.bea.p13n.content.document.ref.FileDocument
, com.bea.p13n.content.document.ref.URLDocument
Method Summary |
public byte[] |
|
public |
|
Method Detail |
public byte[] getBytes()Returns the entire contents of the document as an array of raw bytes.
throwsDocumentException
Depending upon the implementation, this might not be as efficient as getting a stream.
DocumentException
publicOpen an input stream to the content of the document.InputStream
openStream()
throwsDocumentException
Depending upon the implementation, this might be only as efficient as getting the bytes.
DocumentException