|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.re.odf.ODFToEPub
public class ODFToEPub
Converts an ODF-document to ePub. Currently only text-documents are supported.
Constructor Summary | |
---|---|
ODFToEPub()
|
Method Summary | |
---|---|
static void |
convert(java.io.File in,
java.io.OutputStream out,
java.lang.String defaultIdentifier)
|
static void |
main(java.lang.String[] args)
Usage: be.re.odf.ODFToEPub [-h|--help] [in_file [out_file]] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ODFToEPub()
Method Detail |
---|
public static void convert(java.io.File in, java.io.OutputStream out, java.lang.String defaultIdentifier) throws java.io.IOException
in
- the ODF-documentout
- the ePub-document. The stream is closed.defaultIdentifier
- the default book identifier. It may be
null
in which case a UUID will be generated. The default
identifier is only used when the document doesn't contain an identifier.
First the dc:identifier property is taken from the document. If that
doesn't exist the custom property "identifier" will be tried and if that
fails the default identifier is used.
java.io.IOException
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |