|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the data about a Document at the SPI level.
Method Summary | |
byte[] |
getBytes()
Returns the entire contents of the document as an array of raw bytes. |
java.io.InputStream |
openStream()
Open an input stream to the content of the document. |
Method Detail |
public byte[] getBytes() throws DocumentException
Depending upon the implementation, this might not be as efficient as getting a stream.
public java.io.InputStream openStream() throws DocumentException
Depending upon the implementation, this might be only as efficient as getting the bytes.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |