public class MapInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
MapInformation()
Constructor
|
MapInformation(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
java.lang.String |
getBaseName() |
short |
getBINMajor() |
short |
getBINMinor() |
java.lang.String |
getCopyright() |
java.util.List<java.lang.String> |
getCountries() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
short |
getDetailLevel() |
Position |
getLowerRight() |
java.lang.String |
getMapName() |
java.lang.String |
getSeqNo() |
java.lang.String |
getTimeStamp() |
java.lang.String |
getTMCCountries() |
short |
getTNSMajor() |
short |
getTNSMinor() |
Position |
getUpperLeft() |
boolean |
isTollAvailable() |
boolean |
isTruckTollAvailable() |
void |
setBaseName(java.lang.String baseName)
Sets the base name of the map.
|
void |
setBINMajor(short bINMajor)
Sets the major format version of .bin file.
|
void |
setBINMinor(short bINMinor)
Sets the minor format version of .bin file.
|
void |
setCopyright(java.lang.String copyright)
Sets the copyright string regarding data source.
|
void |
setCountries(java.lang.String countries)
Sets the list of countries which are part of this map.
|
void |
setDetailLevel(short detailLevel)
Sets the detail level of this map.
0: detail level,
1: major roads
2: detail level but not capable of cross-map routing
|
void |
setLowerRight(Position lowerRight)
Sets the coordinates of the lower right corner of the MBR of this map.
|
void |
setMapName(java.lang.String mapName)
Sets the localized name of map.
|
void |
setSeqNo(java.lang.String seqNo)
Sets the serial number of this map.
|
void |
setTimeStamp(java.lang.String timeStamp)
Sets the production date of this map.
|
void |
setTMCCountries(java.lang.String tMCCountries)
Sets the list of countries for which TMC information are available in this map.
|
void |
setTNSMajor(short tNSMajor)
Set the major format version of .tns file.
|
void |
setTNSMinor(short tNSMinor)
Sets the minor format version of .tns file.
|
void |
setUpperLeft(Position upperLeft)
Sets coordinates of upper left corner of MBR of this map.
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public MapInformation()
public MapInformation(long cPtr, boolean cMemoryOwn)
public Position getUpperLeft()
public void setUpperLeft(Position upperLeft)
upperLeft
- The upper left coordinates of MBR.public Position getLowerRight()
public void setLowerRight(Position lowerRight)
lowerRight
- The lower right coordinates of MBR.public java.util.List<java.lang.String> getCountries()
public void setCountries(java.lang.String countries)
countries
- The countries to set.public java.lang.String getTMCCountries()
public void setTMCCountries(java.lang.String tMCCountries)
tMCCountries
- The comma separated list of countries with TMC information.public java.lang.String getCopyright()
public void setCopyright(java.lang.String copyright)
copyright
- The copyright string to set.public java.lang.String getMapName()
public void setMapName(java.lang.String mapName)
mapName
- The localized name of map.public java.lang.String getBaseName()
public void setBaseName(java.lang.String baseName)
baseName
- The base name of map.public java.lang.String getTimeStamp()
public void setTimeStamp(java.lang.String timeStamp)
timeStamp
- The production date of this map.public java.lang.String getSeqNo()
public void setSeqNo(java.lang.String seqNo)
seqNo
- - the serial number of this map.public short getDetailLevel()
public void setDetailLevel(short detailLevel)
detailLevel
- The detail level to set.public short getBINMajor()
public void setBINMajor(short bINMajor)
bINMajor
- The format version of .bin file.public short getBINMinor()
public void setBINMinor(short bINMinor)
bINMinor
- The minor format version of .bin filepublic short getTNSMajor()
public void setTNSMajor(short tNSMajor)
tNSMajor
- The major format version of .tns file.public short getTNSMinor()
public boolean isTollAvailable()
public boolean isTruckTollAvailable()
public void setTNSMinor(short tNSMinor)
tNSMinor
- The minor format version of .tns file.public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()