public class SxmpWriter extends Object
| Constructor and Description |
|---|
SxmpWriter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createString(Operation operation)
static public byte[] createByteArray(Operation operation) throws SxmpErrorException, IOException {
// most requests will be ~1000 bytes
//FastByteArrayOutputStream baos = new FastByteArrayOutputStream(1000);
ByteArrayOutputStream baos = new ByteArrayOutputStream(1000);
OutputStreamWriter out = new OutputStreamWriter(baos, "ISO-8859-1");
SxmpWriter.write(out, operation);
byte[] data = baos.toByteArray();
//out.close();
//baos.close();
return data;
}
|
static void |
write(Writer out,
Operation operation) |
static void |
write(Writer out,
Operation operation,
boolean withXmlHeader) |
public static String createString(Operation operation) throws SxmpErrorException, IOException
SxmpErrorExceptionIOExceptionpublic static void write(Writer out, Operation operation) throws SxmpErrorException, IOException
SxmpErrorExceptionIOExceptionpublic static void write(Writer out, Operation operation, boolean withXmlHeader) throws SxmpErrorException, IOException
SxmpErrorExceptionIOExceptionCopyright © 2016. All rights reserved.