com.esri.aims.mtier.model.util
Class CoordsToPoints
java.lang.Object
com.esri.aims.mtier.model.util.CoordsToPoints
public class CoordsToPoints
- extends Object
A utility object used to convert a string of coordinates to an
ArcIMS Java Connector Points object.
Constructor Summary |
CoordsToPoints()
Constructs an instance of a CoordsToPoints object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoordsToPoints
public CoordsToPoints()
- Constructs an instance of a CoordsToPoints object.
Example:
CoordsToPoints coordsToPoints = new CoordsToPoints();
convertCoords
public Points convertCoords(String coords,
String tuppleSeparator,
String coordinateSeparator)
- Converts a delimited string into a ArcIMS Java Connector Points object.
Example:
Points points = coordsToPoints.convertCoords("125.00,45.0,129.0, "," , "#");
- Parameters:
coords
- String of coordinate values.tuppleSeparator
- the tupple separator value.coordinateSeparator
- the coordinate separator value.
- Returns:
- com.esri.aims.mtier.model.acetate.Points