Binding.BytesEntry, Binding.BytesEntryIterator, Binding.Entry<V>, Binding.StringEntry, Binding.StringEntryIterator| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
in |
protected OutputStream |
out |
| Constructor and Description |
|---|
BinaryBinding(InputStream in) |
BinaryBinding(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
Binding.BytesEntryIterator |
readBytesMap(String key) |
byte[] |
readBytesValue(String key) |
int |
readIntValue(String key) |
long |
readLongValue(String key) |
Binding.StringEntryIterator |
readStringMap(String key) |
String |
readStringValue(String key) |
void |
write(String key,
byte[] value) |
void |
write(String key,
int value) |
void |
write(String key,
long value) |
void |
write(String key,
String value) |
void |
writeMap(String key,
int count,
Binding.BytesEntryIterator iterator) |
void |
writeMap(String key,
int count,
Binding.StringEntryIterator iterator) |
protected InputStream in
protected OutputStream out
public BinaryBinding(InputStream in)
public BinaryBinding(OutputStream out)
public void writeMap(String key, int count, Binding.StringEntryIterator iterator) throws Exception
public void writeMap(String key, int count, Binding.BytesEntryIterator iterator) throws Exception
public String readStringValue(String key) throws Exception
readStringValue in interface BindingExceptionpublic byte[] readBytesValue(String key) throws Exception
readBytesValue in interface BindingExceptionpublic long readLongValue(String key) throws Exception
readLongValue in interface BindingExceptionpublic int readIntValue(String key) throws Exception
readIntValue in interface BindingExceptionpublic Binding.StringEntryIterator readStringMap(String key) throws Exception
readStringMap in interface BindingExceptionpublic Binding.BytesEntryIterator readBytesMap(String key) throws Exception
readBytesMap in interface BindingExceptionCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.