at.gv.egiz.pdfas.impl.api.commons
Class DataSinkAdapter
java.lang.Object
at.gv.egiz.pdfas.impl.api.commons.DataSinkAdapter
- All Implemented Interfaces:
- DataSink
- public class DataSinkAdapter
- extends Object
- implements DataSink
Adapter that converts an API DataSink to a framework DataSink.
- Author:
- wprinz
|
Field Summary |
protected DataSink |
apiDataSink
The API DataSink to be adapted to a framework DataSink. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apiDataSink
protected DataSink apiDataSink
- The API DataSink to be adapted to a framework DataSink.
DataSinkAdapter
public DataSinkAdapter(DataSink apiDataSink)
- Constructor.
- Parameters:
apiDataSink - The API DataSink to be adapted to a framework DataSink.
createOutputStream
public OutputStream createOutputStream(String mimeType)
- Specified by:
createOutputStream in interface DataSink
- See Also:
DataSink.createOutputStream(java.lang.String)
createOutputStream
public OutputStream createOutputStream(String mimeType,
String characterEncoding)
- Specified by:
createOutputStream in interface DataSink
- See Also:
DataSink.createOutputStream(java.lang.String,
java.lang.String)
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface DataSink
- See Also:
DataSink.getCharacterEncoding()
getMimeType
public String getMimeType()
- Specified by:
getMimeType in interface DataSink
- See Also:
DataSink.getMimeType()
Copyright © 2006-2010. All Rights Reserved.