|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.mapinfoapi.MapInfoReader
public class MapInfoReader
MapInfoReader is a new implementation of a reader for the MID/MIF format, based on
the MapInfo 8.5 documentation.
| Constructor Summary | |
|---|---|
MapInfoReader(java.lang.String baseName)
|
|
| Method Summary | |
|---|---|
java.util.LinkedList<java.lang.String> |
getErrors()
|
FeatureCollection |
getFeatureCollection()
|
FeatureType |
getFeatureType()
|
static java.io.StreamTokenizer |
getMIDTokenizer(java.io.File file,
java.lang.String charset)
|
static java.io.StreamTokenizer |
getMIFTokenizer(java.io.File file,
java.lang.String charset)
|
java.util.HashMap<java.lang.String,java.util.HashSet<java.util.HashMap<java.lang.String,java.lang.String>>> |
getStyles()
|
static java.util.LinkedList<java.lang.String> |
parseCommaList(java.io.StreamTokenizer mif)
|
void |
parseFeatures()
|
void |
parseFeatureType()
|
static void |
quoteChars(java.io.StreamTokenizer tok,
char... chars)
Was that so hard? |
static void |
whitespaceChars(java.io.StreamTokenizer tok,
char... chars)
Was that so hard? |
static void |
wordChars(java.io.StreamTokenizer tok,
char... chars)
Was that so hard? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapInfoReader(java.lang.String baseName)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
baseName - the base name of the file(s), may also end with .mif/.mid
java.io.UnsupportedEncodingException
java.io.FileNotFoundException| Method Detail |
|---|
public static void wordChars(java.io.StreamTokenizer tok,
char... chars)
chars - tok -
public static void quoteChars(java.io.StreamTokenizer tok,
char... chars)
chars - tok -
public static void whitespaceChars(java.io.StreamTokenizer tok,
char... chars)
chars - tok -
public static java.io.StreamTokenizer getMIFTokenizer(java.io.File file,
java.lang.String charset)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
file - charset -
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
public static java.io.StreamTokenizer getMIDTokenizer(java.io.File file,
java.lang.String charset)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
file - charset -
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
public static java.util.LinkedList<java.lang.String> parseCommaList(java.io.StreamTokenizer mif)
throws java.io.IOException
mif -
java.io.IOException
public void parseFeatureType()
throws java.io.IOException
java.io.IOException
public void parseFeatures()
throws java.io.IOException
java.io.IOExceptionpublic FeatureCollection getFeatureCollection()
public java.util.HashMap<java.lang.String,java.util.HashSet<java.util.HashMap<java.lang.String,java.lang.String>>> getStyles()
public FeatureType getFeatureType()
public java.util.LinkedList<java.lang.String> getErrors()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org