public class MIFLoader
extends java.lang.Object
Constructor and Description |
---|
MIFLoader(java.io.BufferedReader br,
boolean accurate,
float textVisible,
float pointVisible)
Loads a MIF file from the Reader and placing the appropriate OMGraphics
on the OMGraphicList * Parsing is done by a simple loop and switch
statements
|
Modifier and Type | Method and Description |
---|---|
OMGraphicList |
getList()
Get the OMGraphicList from the loader, creating it from the file if it
hasn't been created yet.
|
OMGraphicList |
getList(boolean reloadList)
Get the OMGraphicList from the loader, with the option of forcing it to
be recreated from the source file if desired.
|
boolean |
isLoaded() |
OMGraphicList |
loadFile() |
public MIFLoader(java.io.BufferedReader br, boolean accurate, float textVisible, float pointVisible)
br
- BufferedReader to read the MIF fileaccurate
- if true we do a much faster line only rendering of the regionstextVisible
- the scale at which TEXT primitives should be renderedpointVisible
- the scale at which POINT primitives should be renderedpublic boolean isLoaded()
public OMGraphicList getList()
public OMGraphicList getList(boolean reloadList)
public OMGraphicList loadFile() throws java.io.IOException, MIFException
java.io.IOException
MIFException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details