|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.content.document.ref.FileDocument
A concreate implementation of a document which uses a file.
Field Summary | |
protected java.io.File |
file
The file object we read from. |
Constructor Summary | |
FileDocument(java.io.File file)
Constructor. |
Method Summary | |
byte[] |
getBytes()
Get the bytes of the file. |
java.io.File |
getFile()
Get the file used. |
java.io.InputStream |
openStream()
Open a sream to the bytes of the file. |
void |
setFile(java.io.File file)
Set the file used. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.io.File file
Constructor Detail |
public FileDocument(java.io.File file)
Method Detail |
public java.io.File getFile()
public void setFile(java.io.File file)
public byte[] getBytes() throws DocumentException
public java.io.InputStream openStream() throws DocumentException
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |