|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jopendocument.dom.ODPackage
org.jopendocument.dom.OOFileDocument
public class OOFileDocument
An opendocument file.
Constructor Summary | |
---|---|
OOFileDocument(java.io.File f)
|
|
OOFileDocument(java.util.Map<java.lang.String,java.lang.Object> files)
|
Method Summary | |
---|---|
java.io.File |
getFile()
|
java.io.File |
save()
Save the content of this package to our file, overwriting it if it exists. |
void |
setFile(java.io.File f)
|
Methods inherited from class org.jopendocument.dom.ODPackage |
---|
getBinaryFile, getContent, getContentType, getDocument, getFiles, getMimeType, getVersion, getXMLFile, putFile, save, toSingle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OOFileDocument(java.io.File f) throws java.io.IOException
java.io.IOException
public OOFileDocument(java.util.Map<java.lang.String,java.lang.Object> files)
Method Detail |
---|
public java.io.File getFile()
public void setFile(java.io.File f)
public java.io.File save() throws java.io.IOException
java.io.IOException
- if an error occurs while saving.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |