org.postgis.binary
Class ByteGetter.StringByteGetter

java.lang.Object
  extended by org.postgis.binary.ByteGetter
      extended by org.postgis.binary.ByteGetter.StringByteGetter
Enclosing class:
ByteGetter

public static class ByteGetter.StringByteGetter
extends ByteGetter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.postgis.binary.ByteGetter
ByteGetter.BinaryByteGetter, ByteGetter.StringByteGetter
 
Constructor Summary
ByteGetter.StringByteGetter(java.lang.String rep)
           
 
Method Summary
 int get(int index)
          Get a byte.
static byte unhex(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteGetter.StringByteGetter

public ByteGetter.StringByteGetter(java.lang.String rep)
Method Detail

get

public int get(int index)
Description copied from class: ByteGetter
Get a byte.

Specified by:
get in class ByteGetter
Returns:
The result is returned as Int to eliminate sign problems when or'ing several values together.

unhex

public static byte unhex(char c)