|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.combiners.GmapsuppBuilder
public class GmapsuppBuilder
Create the gmapsupp file. There is nothing much special about this file (as far as I know - there's not a public official spec or anything) it is just a regular .img file which is why it works to rename a single .img file and send it to the device.
Effectively we just 'unzip' the constituent .img files and then 'zip' them back into the gmapsupp.img file. In addition we need to create and add the TDB file, if we don't already have one.
Constructor Summary | |
---|---|
GmapsuppBuilder()
|
Method Summary | |
---|---|
void |
init(CommandArgs args)
Initialise with the command line arguments. |
void |
onFinish()
The complete map set has been processed. |
void |
onMapEnd(FileInfo finfo)
This is called when the map is complete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GmapsuppBuilder()
Method Detail |
---|
public void init(CommandArgs args)
Combiner
Combiner.onMapEnd(uk.me.parabola.mkgmap.combiners.FileInfo)
methods.
init
in interface Combiner
args
- The command line arguments.public void onMapEnd(FileInfo finfo)
onMapEnd
in interface Combiner
finfo
- Information about the img file.public void onFinish()
onFinish
in interface Combiner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |