| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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(String baseName)
 | 
|
| Method Summary | |
|---|---|
 LinkedList<String> | 
getErrors()
 | 
 FeatureCollection | 
getFeatureCollection()
 | 
 FeatureType | 
getFeatureType()
 | 
static StreamTokenizer | 
getMIDTokenizer(File file,
                               String charset)
 | 
static StreamTokenizer | 
getMIFTokenizer(File file,
                               String charset)
 | 
 HashMap<String,HashSet<HashMap<String,String>>> | 
getStyles()
 | 
static LinkedList<String> | 
parseCommaList(StreamTokenizer mif)
 | 
 void | 
parseFeatures()
 | 
 void | 
parseFeatureType()
 | 
static void | 
quoteChars(StreamTokenizer tok,
                     char... chars)
Was that so hard?  | 
static void | 
whitespaceChars(StreamTokenizer tok,
                               char... chars)
Was that so hard?  | 
static void | 
wordChars(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(String baseName)
              throws FileNotFoundException,
                     UnsupportedEncodingException
baseName - the base name of the file(s), may also end with .mif/.mid
UnsupportedEncodingException
FileNotFoundException| Method Detail | 
|---|
public static void wordChars(StreamTokenizer tok,
                             char... chars)
chars - tok - 
public static void quoteChars(StreamTokenizer tok,
                              char... chars)
chars - tok - 
public static void whitespaceChars(StreamTokenizer tok,
                                   char... chars)
chars - tok - 
public static StreamTokenizer getMIFTokenizer(File file,
                                              String charset)
                                       throws FileNotFoundException,
                                              UnsupportedEncodingException
file - charset - 
FileNotFoundException
UnsupportedEncodingException
public static StreamTokenizer getMIDTokenizer(File file,
                                              String charset)
                                       throws FileNotFoundException,
                                              UnsupportedEncodingException
file - charset - 
FileNotFoundException
UnsupportedEncodingException
public static LinkedList<String> parseCommaList(StreamTokenizer mif)
                                         throws IOException
mif - 
IOException
public void parseFeatureType()
                      throws IOException
IOException
public void parseFeatures()
                   throws IOException
IOExceptionpublic FeatureCollection getFeatureCollection()
public HashMap<String,HashSet<HashMap<String,String>>> getStyles()
public FeatureType getFeatureType()
public LinkedList<String> getErrors()
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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