Codota Logo
ByteSetter$StringByteSetter.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.postgis.binary.ByteSetter$StringByteSetter
constructor

Best Java code snippets using org.postgis.binary.ByteSetter$StringByteSetter.<init> (Showing top 4 results out of 315)

  • Common ways to obtain ByteSetter$StringByteSetter
private void myMethod () {
ByteSetter$StringByteSetter b =
  • Codota Iconnew ByteSetter.StringByteSetter(length)
  • Smart code suggestions by Codota
}
origin: orbisgis/h2gis

public String writeHexed(Geometry geom, byte REP) {
  int length = this.estimateBytes(geom);
  ByteSetter.StringByteSetter bytes = new ByteSetter.StringByteSetter(length);
  this.writeGeometry(geom, valueSetterForEndian(bytes, REP));
  return bytes.result();
}
origin: postgis/postgis-java

/**
 * Write a hex encoded geometry
 * 
 * Currently, geometries with more than 2 dimensions and measures are not
 * cleanly supported, but SRID is honored.
 *
 * @param geom The geometry to be written
 * @param REP The endianness representation to use for writing
 * @return String containing the hex-encoded geometry
 */
public String writeHexed(Geometry geom, byte REP) {
  int length = estimateBytes(geom);
  ByteSetter.StringByteSetter bytes = new ByteSetter.StringByteSetter(length);
  writeGeometry(geom, valueSetterForEndian(bytes, REP));
  return bytes.result();
}
origin: net.postgis/postgis-jdbc

/**
 * Write a hex encoded geometry
 * 
 * Is synchronized to protect offset counter. (Unfortunately, Java does not
 * have neither call by reference nor multiple return values.) This is a
 * TODO item.
 * 
 * The geometry you put in must be consistent, geom.checkConsistency() must
 * return true. If not, the result may be invalid WKB.
 * 
 * @see Geometry#checkConsistency() the consistency checker
 *
 * @param geom the geometry to be written
 * @param REP endianness to write the bytes with
 * @return String containing the hex encoded geometry
 */
public synchronized String writeHexed(Geometry geom, byte REP) {
  int length = estimateBytes(geom);
  ByteSetter.StringByteSetter bytes = new ByteSetter.StringByteSetter(length);
  writeGeometry(geom, valueSetterForEndian(bytes, REP));
  return bytes.result();
}
origin: postgis/postgis-java

/**
 * Write a hex encoded geometry
 * 
 * Is synchronized to protect offset counter. (Unfortunately, Java does not
 * have neither call by reference nor multiple return values.) This is a
 * TODO item.
 * 
 * The geometry you put in must be consistent, geom.checkConsistency() must
 * return true. If not, the result may be invalid WKB.
 * 
 * @see Geometry#checkConsistency() the consistency checker
 *
 * @param geom the geometry to be written
 * @param REP endianness to write the bytes with
 * @return String containing the hex encoded geometry
 */
public synchronized String writeHexed(Geometry geom, byte REP) {
  int length = estimateBytes(geom);
  ByteSetter.StringByteSetter bytes = new ByteSetter.StringByteSetter(length);
  writeGeometry(geom, valueSetterForEndian(bytes, REP));
  return bytes.result();
}
org.postgis.binaryByteSetter$StringByteSetter<init>

Popular methods of ByteSetter$StringByteSetter

  • result

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • onCreateOptionsMenu (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Table (org.hibernate.mapping)
    A relational table
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now