public class OriginalMetadataParser
extends java.lang.Object
OriginalMetadataResponse.| Constructor and Description |
|---|
OriginalMetadataParser(java.io.File file)
Creates a new instance.
|
OriginalMetadataParser(java.lang.StringBuffer buffer)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
read(omero.cmd.OriginalMetadataResponse response)
Reads the content of the response and writes it to the file.
|
void |
read(omero.cmd.OriginalMetadataResponse response,
java.lang.String separator)
Reads the content of the response and writes (appends) it to the file or
buffer.
|
public OriginalMetadataParser(java.io.File file)
file - The file to write the content intopublic OriginalMetadataParser(java.lang.StringBuffer buffer)
buffer - The buffer to write the content intopublic void read(omero.cmd.OriginalMetadataResponse response)
throws java.lang.Exception
response - The response to handle.java.lang.Exception - The exception thrown if an error occurred while
reading/writing.public void read(omero.cmd.OriginalMetadataResponse response,
java.lang.String separator)
throws java.lang.Exception
response - The response to handle.separator - Value used to separate key and value.java.lang.Exception - The exception thrown if an error occurred while
reading/writing.