|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.xhtml.CssDocument
public class CssDocument
An implementation of OutputFile for CSS documents.
(Actually this is a trivial implementation which never parses the files)
| Constructor Summary | |
|---|---|
CssDocument(java.lang.String sName)
Constructor (creates an empty document) |
|
| 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 |
read(java.io.InputStream is)
|
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 CssDocument(java.lang.String sName)
name - Document name.| 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
public void read(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||