public class TagValTextParser extends Object
| Constructor | Description |
|---|---|
TagValTextParser(ByteBuffer buffer) |
Creates an instance that contains all the tags and values in a map, that can
then be used to extract the message.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getValue(String keyMsgType) |
Gets the value associated with the key from the message.
|
int |
getValueAsInt(String keyIdField) |
Calls the getValue method first and the converts to an integer.
|
String |
toString() |
public TagValTextParser(ByteBuffer buffer) throws IOException
buffer - a buffer containing a message.IOException - if the buffer is invalidpublic String getValue(String keyMsgType) throws IOException
keyMsgType - the key to obtainIOExceptionpublic int getValueAsInt(String keyIdField) throws IOException
keyIdField - the key to obtainIOExceptionCopyright © 2018. All rights reserved.