public class ShapeBinaryParser extends Object
Constructor and Description |
---|
ShapeBinaryParser() |
Modifier and Type | Method and Description |
---|---|
int |
parse(byte[] value,
GeneralPath path)
Parse a binary encoded geometry.
|
int |
parse(String value,
GeneralPath path)
Parse a hex encoded geometry
Is synchronized to protect offset counter.
|
protected int |
parseGeometry(ValueGetter data,
GeneralPath path)
Parse a geometry starting at offset.
|
static ValueGetter |
valueGetterForEndian(ByteGetter bytes)
Get the appropriate ValueGetter for my endianness
|
public static ValueGetter valueGetterForEndian(ByteGetter bytes)
bytes
- The appropriate Byte Getterpublic int parse(String value, GeneralPath path)
public int parse(byte[] value, GeneralPath path)
protected int parseGeometry(ValueGetter data, GeneralPath path)
path
- Copyright © 2014. All rights reserved.