public class SbdWriter extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
binaryWriter(String mimeType) |
OutputStream |
binaryWriter(String mimeType,
String encoding) |
void |
close() |
static SbdWriter |
newInstance(OutputStream outputStream,
Header header) |
OutputStream |
textWriter(String mimeType) |
XMLStreamWriter |
xmlWriter() |
public static SbdWriter newInstance(OutputStream outputStream, Header header) throws SbdhException
SbdhExceptionpublic XMLStreamWriter xmlWriter()
public OutputStream binaryWriter(String mimeType) throws XMLStreamException
XMLStreamExceptionpublic OutputStream binaryWriter(String mimeType, String encoding) throws XMLStreamException
XMLStreamExceptionpublic OutputStream textWriter(String mimeType) throws XMLStreamException
XMLStreamExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2022 NorStella. All rights reserved.