|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.common.osm
Class OsmPrinter

java.lang.Objectcom.aendvari.common.osm.OsmPrinter
- public class OsmPrinter
- extends java.lang.Object
This class prints a given Osm or OsmNode in a human-readable format.
| Constructor Summary | |
OsmPrinter()
|
|
| Method Summary | |
private static java.lang.String |
examineChildNode(OsmNode osmNode,
java.lang.String indent)
Convert the node into a string representation. |
private static java.lang.String |
extractAttributes(OsmNode osmNode)
Extract and return the attributes of the node as a string. |
static java.lang.String |
nodeToString(OsmNode osmNode)
Return the OsmNode as it's string representation. |
static void |
writeString(OsmNode osmNode,
java.io.Writer writer)
Print the OsmNode string representation to the supplied Writer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
OsmPrinter
public OsmPrinter()
| Method Detail |
nodeToString
public static java.lang.String nodeToString(OsmNode osmNode)
- Return the OsmNode as it's string representation.
writeString
public static void writeString(OsmNode osmNode, java.io.Writer writer) throws java.io.IOException
- Print the OsmNode string representation to the supplied
Writer.
examineChildNode
private static java.lang.String examineChildNode(OsmNode osmNode, java.lang.String indent)
- Convert the node into a string representation.
extractAttributes
private static java.lang.String extractAttributes(OsmNode osmNode)
- Extract and return the attributes of the node as a string.
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ osm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.common.osm.OsmPrinter