|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputStreamFactory
This is the factory for new OutputStreams.
| Method Summary | |
|---|---|
java.io.OutputStream |
getOutputStream(java.lang.String name,
java.lang.String type)
Getter for a new OutputStream. |
void |
register(OutputStreamObserver observer)
Register an observer which is invoked to notify about any output stream requested via a call to getOututStream(), |
void |
setExtension(java.lang.String extension)
Setter for the default extension. |
| Method Detail |
|---|
java.io.OutputStream getOutputStream(java.lang.String name,
java.lang.String type)
throws DocumentWriterException
name - the name segment to characterize the stream externally.
This segment might be used as part of the output file. If the name is
null then it is treated as not given at all.type - the type of the stream to acquire. In general this should
correspond to the extension of a file of this type
DocumentWriterException - in case of an errorvoid register(OutputStreamObserver observer)
observer - the observers to registervoid setExtension(java.lang.String extension)
null.
extension - the default extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||