|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.epub.EPUBWriter
public class EPUBWriter
This class repackages an XHTML document into EPUB format. Some filenames are hard wired in this implementation: The main directory is OEBPS and the OPF and NCX files are book.opf and book.ncx respectively
| Constructor Summary | |
|---|---|
EPUBWriter(ConverterResult xhtmlResult,
java.lang.String sFileName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Returns the file name of the OutputFile. |
java.lang.String |
getMIMEType()
Get the MIME type of the OutputFile. |
boolean |
isMasterDocument()
Test whether this document is part of the main document flow (master documents) or an auxiliary document |
void |
write(java.io.OutputStream os)
Writes the OutputFile to an OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EPUBWriter(ConverterResult xhtmlResult,
java.lang.String sFileName)
| Method Detail |
|---|
public java.lang.String getFileName()
OutputFileOutputFile. This includes
the file extension and may also include a relative path, always using
/ as separator.
getFileName in interface OutputFileOutputFilepublic java.lang.String getMIMEType()
OutputFileOutputFile.
getMIMEType in interface OutputFilepublic boolean isMasterDocument()
OutputFile
isMasterDocument in interface OutputFile
public void write(java.io.OutputStream os)
throws java.io.IOException
OutputFileOutputFile to an OutputStream.
write in interface OutputFileos - OutputStream to which the content should be written
java.io.IOException - if any I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||