public interface BinaryData
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Gets the binary data as an array of bytes.
|
long |
getDataSize()
Gets the size of underlying binary data.
|
int |
getId()
Gets the id of this binary data.
|
InputStream |
getInputStream()
Gets an
InputStream representing the binary data. |
int |
getNamespaceId()
Gets the namespace id.
|
int |
getPublicationId()
Gets the publication id of this binary data.
|
String |
getVariantId()
Returns the id of the variant for this binary data.
|
int getId()
int getNamespaceId()
int getPublicationId()
String getVariantId()
InputStream getInputStream() throws IOException
InputStream
representing the binary data.InputStream
.IOException
- If an error occurs accessing the binary data.byte[] getBytes() throws IOException
IOException
- If an error occurs accessing the binary data.long getDataSize()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries