ilog.views.appframe.docview
Interface IlvStreamDocument
- All Superinterfaces:
- ActionHandler, ActionListener, EventListener, IlvDocument, IlvPropertyManager, MessageListener
- All Known Implementing Classes:
- IlvAbstractFileDocument, IlvDataContainerDocument, IlvDOMDocument, IlvProjectDocument, IlvTextDocument, IlvWorkspaceDocument
public interface IlvStreamDocument
- extends IlvDocument
Defines documents that are read and write their data from streams.
| Methods inherited from interface ilog.views.appframe.docview.IlvDocument |
activated, addView, clean, documentClosed, documentClosing, getApplication, getDocumentTemplate, getTitle, getView, getViewCount, initializeDocument, isModified, removeView, removeViews, setModified, setTitle |
readStreamDocument
boolean readStreamDocument(Reader reader,
IlvFileFilter filter)
- Initializes the document data from the specified reader.
- Parameters:
reader - The reader to use for reading the document data.filter - The file filter that indicates the format to use for
reading the data.
- Returns:
true if the document could read its data;
false otherwise.- See Also:
writeStreamDocument(java.io.Writer, ilog.views.appframe.docview.IlvFileFilter)
writeStreamDocument
boolean writeStreamDocument(Writer writer,
IlvFileFilter filter)
- Stores the document data in the specified writer.
- Parameters:
writer - The writer to use for writing the document data.filter - The file filter that indicates the format to use for
writing the data.
- Returns:
true if document data could write its data;
false otherwise.- See Also:
readStreamDocument(java.io.Reader, ilog.views.appframe.docview.IlvFileFilter)
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.