public static class IO.BufferedImageWriteStage extends IO.WriteStageBase<BufferedImage,IO.BufferedImageWriteStage>
charset, closeSink, source| Modifier | Constructor and Description |
|---|---|
protected |
BufferedImageWriteStage(BufferedImage bufferedImage) |
protected |
BufferedImageWriteStage(BufferedImage image,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
doWriteTo(OutputStream sink)
Sub class to implement the commit to a
OutputStream logic. |
protected int |
doWriteTo(Writer sink)
Sub class to implement the commit to a
Writer logic. |
encoding, ensureCloseSink, me, to, to, toprotected BufferedImageWriteStage(BufferedImage bufferedImage)
protected BufferedImageWriteStage(BufferedImage image, String contentType)
protected int doWriteTo(Writer sink)
IO.WriteStageBaseSub class to implement the commit to a Writer logic.
doWriteTo in class IO.WriteStageBase<BufferedImage,IO.BufferedImageWriteStage>sink - the writer target to which this write stage committed.protected int doWriteTo(OutputStream sink)
IO.WriteStageBaseSub class to implement the commit to a OutputStream logic.
doWriteTo in class IO.WriteStageBase<BufferedImage,IO.BufferedImageWriteStage>sink - the output stream target to which this write stage committed.Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.