public interface DTEDNameTranslator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDTEDDir()
Get the path to the top-level DTED directory.
|
java.lang.String |
getFileName()
Get the file name.
|
double |
getLat()
Get the latitude.
|
int |
getLevel()
Get the DTED level set in the translator.
|
double |
getLon()
Get the longitude.
|
java.lang.String |
getName()
Get the complete path to the DTED frame file based on the
current internal settings.
|
java.lang.String |
getSubDirs()
Get the relative part of the path to the DTED frame file, from
just under the top-level dted directory to just above the frame
file.
|
void |
set(double lat,
double lon,
int level)
Assuming that the DTED directory is set, set the other
parameters to reveal a path to a file name, which would be
retrieved by calling getName().
|
void |
set(java.lang.String filePath)
Set the internal parameters based on the given file path.
|
void |
set(java.lang.String dtedDir,
double lat,
double lon,
int level)
Sets the internal parameters given a parent DTED directory,
latitude, longitude and level.
|
void |
setDTEDDir(java.lang.String dtedDirectory)
Set the top-level DTED directory.
|
void |
setLat(double lat)
Set the latitude in the translator.
|
void |
setLevel(int level)
Set the DTED level in the translator.
|
void |
setLon(double lon)
Set the longitude in the translator.
|
void |
setName(java.lang.String fileName)
Configure the internal settings based on a path to a DTED frame
file.
|
void set(java.lang.String filePath) throws FormatException
filePath
- a path to a dted frame file.FormatException
void set(java.lang.String dtedDir, double lat, double lon, int level)
dtedDir
- the path to the top DTED directory.lat
- the desired latitude, in decimal degrees.lon
- the desired longitude, in decimal degrees.level
- the DTED level (0, 1, 2).void set(double lat, double lon, int level)
lat
- the desired latitude, in decimal degrees.lon
- the desired longitude, in decimal degrees.level
- the DTED level (0, 1, 2).void setLat(double lat)
lat
- the desired latitude, in decimal degrees.double getLat()
void setLon(double lon)
lon
- the desired longitude, in decimal degrees.double getLon()
void setLevel(int level)
level
- the DTED level (0, 1, 2).int getLevel()
java.lang.String getName()
void setName(java.lang.String fileName) throws FormatException
FormatException
java.lang.String getSubDirs()
java.lang.String getFileName()
void setDTEDDir(java.lang.String dtedDirectory)
java.lang.String getDTEDDir()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details