thinkmap.server
Class DataSourceContext.ServletStreamFactory
java.lang.Object
thinkmap.server.DataSourceContext.ServletStreamFactory
- All Implemented Interfaces:
- IStreamFactory
- Enclosing class:
- DataSourceContext
protected class DataSourceContext.ServletStreamFactory
- extends Object
- implements IStreamFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
os
protected OutputStream os
DataSourceContext.ServletStreamFactory
public DataSourceContext.ServletStreamFactory(OutputStream os)
openStream
public OutputStream openStream(StreamWriter sf)
throws IOException
- Description copied from interface:
IStreamFactory
- Open an output stream for a StreamWriter.
- Specified by:
openStream in interface IStreamFactory
- Parameters:
sf - the StreamWriter who is calling this method
- Returns:
- an output stream for the StreamWriter to write to
- Throws:
IOException
closeStream
public void closeStream(StreamWriter sf)
- Description copied from interface:
IStreamFactory
- Close an output stream for a StreamWriter.
- Specified by:
closeStream in interface IStreamFactory
- Parameters:
sf - the StreamWriter who is calling this method
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.