public static class WholeWorldTileHandler.Builder
extends java.lang.Object
There are options to control the geographic area definition zoom level, the zoom level for the tiles stored in the world-wide jar, and the maximum zoom level inserted in to the sub-jars.
Modifier and Type | Field and Description |
---|---|
protected boolean |
doWorldJar |
protected boolean |
fill |
protected java.util.logging.Level |
logLevel |
protected int |
maxx |
protected int |
maxy |
protected int |
maxZoomLevelInSubJars |
protected int |
minx |
protected int |
miny |
protected java.io.File |
sourceFile |
protected int |
subJarZoomDef |
protected java.io.File |
targetFile |
protected java.lang.String |
tileExt |
protected int |
worldWideZoomLevel |
Constructor and Description |
---|
WholeWorldTileHandler.Builder(java.io.File source) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkZoomLevel(int zoomLevel) |
protected void |
copyAndUpdateProperties(java.io.File sourceDir,
java.io.File targetDir) |
void |
go() |
boolean |
isFill()
Check whether the build process will only create jars that don't
exist.
|
void |
maxx(int parseInt)
Set the ending y number of the subjar file to create.
|
void |
maxy(int parseInt)
Set the ending y number of the subjar file to create.
|
WholeWorldTileHandler.Builder |
maxZoomLevelInSubJars(int zoomLevel) |
void |
minx(int parseInt)
Set the starting x number of the subjar file to create.
|
void |
miny(int parseInt)
Set the starting y number of the subjar file to create.
|
void |
setDoWorldJar(boolean dwj) |
void |
setFill(boolean fill)
Set whether the build process will only create jars that don't exist.
|
WholeWorldTileHandler.Builder |
subJarZoomDef(int zoomLevel) |
WholeWorldTileHandler.Builder |
targetFile(java.io.File targetFile) |
WholeWorldTileHandler.Builder |
tileExt(java.lang.String tileExtension) |
java.lang.String |
toString() |
WholeWorldTileHandler.Builder |
worldWideZoomLevel(int zoomLevel) |
protected java.io.File sourceFile
protected java.io.File targetFile
protected int subJarZoomDef
protected int worldWideZoomLevel
protected int maxZoomLevelInSubJars
protected java.lang.String tileExt
protected int minx
protected int miny
protected int maxx
protected int maxy
protected boolean doWorldJar
protected boolean fill
protected java.util.logging.Level logLevel
public WholeWorldTileHandler.Builder(java.io.File source) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public WholeWorldTileHandler.Builder targetFile(java.io.File targetFile)
public WholeWorldTileHandler.Builder tileExt(java.lang.String tileExtension)
public WholeWorldTileHandler.Builder subJarZoomDef(int zoomLevel) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public WholeWorldTileHandler.Builder worldWideZoomLevel(int zoomLevel) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public WholeWorldTileHandler.Builder maxZoomLevelInSubJars(int zoomLevel) throws java.lang.NumberFormatException
java.lang.NumberFormatException
protected boolean checkZoomLevel(int zoomLevel)
public java.lang.String toString()
toString
in class java.lang.Object
protected void copyAndUpdateProperties(java.io.File sourceDir, java.io.File targetDir)
public void go() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void minx(int parseInt)
parseInt
- public void miny(int parseInt)
parseInt
- public void maxx(int parseInt)
parseInt
- public void maxy(int parseInt)
parseInt
- public void setDoWorldJar(boolean dwj)
public boolean isFill()
public void setFill(boolean fill)
fill
- Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details