thinkmap.datasource.stream
Class RemoteDataSource.URLStreamFactory
java.lang.Object
thinkmap.datasource.stream.RemoteDataSource.URLStreamFactory
- All Implemented Interfaces:
- IStreamFactory
- Enclosing class:
- RemoteDataSource
protected class RemoteDataSource.URLStreamFactory
- extends Object
- implements IStreamFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callback
protected IEntityHandler callback
uc
protected URLConnection uc
RemoteDataSource.URLStreamFactory
public RemoteDataSource.URLStreamFactory(IEntityHandler callback)
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
getErrorString
protected String getErrorString(String prefix)
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.