|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.p13n.content.document.ref.DefaultDocument
A concreate DocumentDef that takes an array of bytes.
| Field Summary | |
protected byte[] |
data
Deprecated. The raw data. |
| Constructor Summary | |
DefaultDocument(byte[] data)
Deprecated. Constructor from a byte array. |
|
DefaultDocument(InputStream in)
Deprecated. Constructor from an input stream. |
|
| Method Summary | |
static void |
close(InputStream in)
Deprecated. Close an input stream and ignore any exception. |
byte[] |
getBytes()
Deprecated. Get the bytes of the document. |
InputStream |
openStream()
Deprecated. Open an input stream to the bytes of the document. |
static byte[] |
readFully(InputStream in)
Deprecated. Fully read an input stream and return the resulting bytes. |
void |
setBytes(byte[] data)
Deprecated. Set the bytes of the document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected byte[] data
| Constructor Detail |
public DefaultDocument(byte[] data)
public DefaultDocument(InputStream in)
throws IOException
| Method Detail |
public static void close(InputStream in)
public byte[] getBytes()
getBytes in interface DocumentDef
public InputStream openStream()
throws DocumentException
openStream in interface DocumentDefDocumentException - thrown on an error.
public static byte[] readFully(InputStream in)
throws IOException
IOExceptionpublic void setBytes(byte[] data)
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||