|
© 2005 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.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 byte[] getBytes() throws DocumentException
getBytes
in interface DocumentDef
DocumentException
- thrown on an error.public File getFile()
public InputStream openStream() throws DocumentException
openStream
in interface DocumentDef
DocumentException
- thrown on an error.public void setFile(File file)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |