|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.combiners.FileInfo
public class FileInfo
Used for holding information about an individual file that will be made into a gmapsupp file.
Method Summary | |
---|---|
Area |
getBounds()
|
java.lang.String[] |
getCopyrights()
|
java.lang.String |
getDescription()
|
int |
getFamilyId()
|
java.lang.String |
getFamilyName()
|
static FileInfo |
getFileInfo(java.lang.String inputName)
Create a file info the the given file. |
java.lang.String |
getFilename()
|
uk.me.parabola.mkgmap.combiners.FileKind |
getKind()
|
int |
getLblsize()
|
java.lang.String |
getMapname()
|
int |
getMapnameAsInt()
|
java.lang.String |
getMpsName()
|
int |
getNetsize()
|
int |
getNodsize()
|
int |
getNumBlocks(int bs)
Get the number of blocks at the given block size. |
int |
getNumHeaderSlots(int blockSize)
Get the number of blocks required at a particular block size. |
int |
getProductId()
|
int |
getRgnsize()
|
java.lang.String |
getSeriesName()
|
int |
getTresize()
|
boolean |
isImg()
|
void |
setArgs(CommandArgs args)
|
protected void |
setCopyrights(java.lang.String[] copyrights)
|
protected void |
setDescription(java.lang.String description)
|
protected void |
setKind(uk.me.parabola.mkgmap.combiners.FileKind kind)
|
protected void |
setLblsize(int lblsize)
|
protected void |
setMapname(java.lang.String mapname)
|
protected void |
setNetsize(int netsize)
|
protected void |
setNodsize(int nodsize)
|
protected void |
setRgnsize(int rgnsize)
|
protected void |
setTresize(int tresize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getMapname()
protected void setMapname(java.lang.String mapname)
public java.lang.String getDescription()
protected void setDescription(java.lang.String description)
public int getRgnsize()
protected void setRgnsize(int rgnsize)
public int getTresize()
protected void setTresize(int tresize)
public int getLblsize()
protected void setLblsize(int lblsize)
public Area getBounds()
public static FileInfo getFileInfo(java.lang.String inputName) throws java.io.FileNotFoundException
inputName
- The filename to examine.
java.io.FileNotFoundException
- If the file doesn't actually exist.public java.lang.String getFilename()
public boolean isImg()
protected void setKind(uk.me.parabola.mkgmap.combiners.FileKind kind)
public uk.me.parabola.mkgmap.combiners.FileKind getKind()
public int getNumHeaderSlots(int blockSize)
blockSize
- The block size.
public int getNumBlocks(int bs)
bs
- The block size at which to calculate the value.public int getMapnameAsInt()
protected void setCopyrights(java.lang.String[] copyrights)
public java.lang.String[] getCopyrights()
public int getNetsize()
protected void setNetsize(int netsize)
public int getNodsize()
protected void setNodsize(int nodsize)
public void setArgs(CommandArgs args)
public java.lang.String getFamilyName()
public java.lang.String getSeriesName()
public int getFamilyId()
public int getProductId()
public java.lang.String getMpsName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |