|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.cityguide.Util
public class Util
general utilities for CityGuide
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static void |
addLandmarkFromString(javax.microedition.location.LandmarkStore store,
java.lang.String record)
This method creates landmark from values in String record. |
static java.lang.String[] |
asArray(java.util.Enumeration e)
|
static java.util.Enumeration |
parseSVRecord(java.lang.String str,
char delimiter)
This method parses separated values from record. |
static void |
readLandmarksFromStream(javax.microedition.location.LandmarkStore store,
java.io.InputStream is,
javax.microedition.lcdui.Gauge progressGauge)
This method reads landmarks from InputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static final void readLandmarksFromStream(javax.microedition.location.LandmarkStore store, java.io.InputStream is, javax.microedition.lcdui.Gauge progressGauge) throws java.io.IOException
is
- character stream containing records of landmarksprogressGauge
- if not null external progress indicator is updated.
java.io.IOException
public static final void addLandmarkFromString(javax.microedition.location.LandmarkStore store, java.lang.String record) throws java.io.IOException
record
- comma separated values
java.io.IOException
public static final java.util.Enumeration parseSVRecord(java.lang.String str, char delimiter)
str
- record containing separated valuesdelimiter
- values delimiter char
public static final java.lang.String[] asArray(java.util.Enumeration e)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |