|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.main.tex.FileRecorder
public class FileRecorder
This observer records that a certain file has been opened.
| Constructor Summary | |
|---|---|
FileRecorder()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
print(java.lang.String name)
Print the recorded files to a file or stream. |
void |
setOutputFactory(OutputFactory outputFactory)
Setter for outputFactory. |
void |
update(java.lang.String name,
java.lang.String filetype,
java.io.InputStream stream)
This method is meant to be invoked just after a new file based stream has been opened. |
void |
update(java.lang.String name,
java.lang.String type,
java.io.OutputStream stream)
Recognize that a new output stream has been delivered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileRecorder()
| Method Detail |
|---|
public void print(java.lang.String name)
throws java.io.IOException,
DocumentWriterException
name - the name of the output file or null for stdout
java.io.IOException - in case of an I/O error
DocumentWriterException - in case of an error in the output factorypublic void setOutputFactory(OutputFactory outputFactory)
outputFactory - the outputFactory to set
public void update(java.lang.String name,
java.lang.String filetype,
java.io.InputStream stream)
update in interface OpenFileObservername - the name of the file to be openedfiletype - the type of the file to be opened. The type is resolved
via the configuration to a file name patternstream - the input stream to read fromOpenFileObserver.update(java.lang.String,
java.lang.String, java.io.InputStream)
public void update(java.lang.String name,
java.lang.String type,
java.io.OutputStream stream)
update in interface OutputStreamObservername - the name of the resource requestedtype - the type of the resourcestream - the stream to be deliveredOutputStreamObserver.update(java.lang.String,
java.lang.String, java.io.OutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||