us.zuercher.gpx2map.util
Class Util

java.lang.Object
  extended by us.zuercher.gpx2map.util.Util

public class Util
extends Object

Util is a static class that provides miscellaneous utility methods. Methods added here should be simple and provide functionality that 1) doesn't fit in any other class or package, and 2) doesn't deserve it's own class with a more descriptive name.

Author:
Stephan Zuercher

Field Summary
static String GPX2MAP_DEBUG_PROPERTY
          The Gpx2Map "debug" system property name: "gpx2map.debug".
 
Constructor Summary
private Util()
          Util is not constructable.
 
Method Summary
static boolean isDebug()
          Checks the Gpx2Map system debug property to see if "debug mode" is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GPX2MAP_DEBUG_PROPERTY

public static final String GPX2MAP_DEBUG_PROPERTY
The Gpx2Map "debug" system property name: "gpx2map.debug".

See Also:
Constant Field Values
Constructor Detail

Util

private Util()
Util is not constructable. All methods are static.

Method Detail

isDebug

public static boolean isDebug()
Checks the Gpx2Map system debug property to see if "debug mode" is enabled.

Returns:
true if debug is enabled, false otherwise
See Also:
GPX2MAP_DEBUG_PROPERTY