|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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 File |
file
Deprecated. The file object we read from. |
| Constructor Summary | |
FileDocument(File file)
Deprecated. Constructor. |
|
| Method Summary | |
byte[] |
getBytes()
Deprecated. Get the bytes of the file. |
File |
getFile()
Deprecated. Get the file used. |
InputStream |
openStream()
Deprecated. Open a sream to the bytes of the file. |
void |
setFile(File file)
Deprecated. 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 File file
| Constructor Detail |
public FileDocument(File file)
| Method Detail |
public File getFile()
public void setFile(File file)
public byte[] getBytes()
throws DocumentException
getBytes in interface DocumentDefDocumentException - thrown on an error.
public InputStream openStream()
throws DocumentException
openStream in interface DocumentDefDocumentException - thrown on an error.
|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||