org.gvsig.fmap.geom.operation.towkb
Class WKBEncoder

java.lang.Object
  extended by org.gvsig.fmap.geom.operation.towkb.WKBEncoder

public class WKBEncoder
extends Object


Nested Class Summary
static interface WKBEncoder.wkbByteOrder
           
static interface WKBEncoder.wkbGeometryType
           
 
Constructor Summary
WKBEncoder()
           
 
Method Summary
 byte[] encode(Geometry geometry)
           
 void encode(Geometry geometry, ByteArrayOutputStream stream)
           
 void encode(Geometry geometry, DataOutputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKBEncoder

public WKBEncoder()
Method Detail

encode

public byte[] encode(Geometry geometry)
              throws GeometryTypeNotSupportedException,
                     WKBEncodingException,
                     IOException
Throws:
GeometryTypeNotSupportedException
WKBEncodingException
IOException

encode

public void encode(Geometry geometry,
                   ByteArrayOutputStream stream)
            throws GeometryTypeNotSupportedException,
                   WKBEncodingException,
                   IOException
Throws:
GeometryTypeNotSupportedException
WKBEncodingException
IOException

encode

public void encode(Geometry geometry,
                   DataOutputStream stream)
            throws GeometryTypeNotSupportedException,
                   WKBEncodingException,
                   IOException
Throws:
GeometryTypeNotSupportedException
WKBEncodingException
IOException


Copyright © 2004-2012 gvSIG. All Rights Reserved.