|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.bbn.openmap.layer.vpf.VPFUtil
Miscellaneous utility functions in dealing with VPF data.
| Field Summary | |
static java.lang.String |
Area
|
static java.lang.String |
CPoint
|
static java.lang.String |
Edge
some strings |
static java.lang.String |
Edges
|
static java.lang.String |
EPoint
|
static java.lang.String |
Text
|
| Method Summary | |
static boolean |
getHashedValueAsBoolean(java.util.Hashtable dynArgs,
java.lang.String arg)
If arg maps to a Boolean in the
Hashtable, that value is returned, false
otherwise. |
static java.lang.String |
getTypeForFeatureCode(java.lang.String featureCode)
|
static java.lang.String |
listToString(java.util.List l)
returns a string with the elements of l separated by spaces |
static int |
objectToInt(java.lang.Object val)
get the value contained in the object. |
static java.util.Hashtable |
parseDynamicArgs(java.lang.String args)
Parses dynamic args passed by specialist client. |
static java.lang.String |
vectorToString(java.util.List l)
Deprecated. use listToString(List) instead |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String Edge
public static final java.lang.String Edges
public static final java.lang.String Text
public static final java.lang.String Area
public static final java.lang.String EPoint
public static final java.lang.String CPoint
| Method Detail |
public static final java.lang.String vectorToString(java.util.List l)
l - the list to stringize
public static final java.lang.String listToString(java.util.List l)
l - the list to stringize
public static final int objectToInt(java.lang.Object val)
val - returns the value of Shorts and Integers as an int.
VPF null values get returned as Integer.MIN_VALUE, as do
all other types
public static java.util.Hashtable parseDynamicArgs(java.lang.String args)
Hashtable is returned as a unified holder of all
dynamic arguments.
public static boolean getHashedValueAsBoolean(java.util.Hashtable dynArgs,
java.lang.String arg)
arg maps to a Boolean in the
Hashtable, that value is returned, false
otherwise.
dynArgs - the Hashtable to look inarg - the argument to returnpublic static java.lang.String getTypeForFeatureCode(java.lang.String featureCode)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||