| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
package uk.me.parabola.imgfmt; |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
public class FileSystemParam { |
| 22 |
private String filename; |
| 23 |
private String mapDescription = "Open Street Map"; |
| 24 |
private int blockSize = 512; |
| 25 |
private int directoryStartEntry = 2; |
| 26 |
private int reservedDirectoryBlocks; |
| 27 |
private boolean gmapsupp; |
| 28 |
private boolean hideGmapsuppOnPC; |
| 29 |
private int productVersion = -1; |
| 30 |
|
| 31 |
public String getFilename() { |
| 32 |
return filename; |
| 33 |
} |
| 34 |
|
| 35 |
public void setFilename(String filename) { |
| 36 |
this.filename = filename; |
| 37 |
} |
| 38 |
|
| 39 |
public String getMapDescription() { |
| 40 |
return mapDescription; |
| 41 |
} |
| 42 |
|
| 43 |
public void setMapDescription(String mapDescription) { |
| 44 |
this.mapDescription = mapDescription; |
| 45 |
if (this.mapDescription == null) |
| 46 |
this.mapDescription = ""; |
| 47 |
} |
| 48 |
|
| 49 |
public int getBlockSize() { |
| 50 |
return blockSize; |
| 51 |
} |
| 52 |
|
| 53 |
public void setBlockSize(int blockSize) { |
| 54 |
this.blockSize = blockSize; |
| 55 |
} |
| 56 |
|
| 57 |
public int getDirectoryStartEntry() { |
| 58 |
return directoryStartEntry; |
| 59 |
} |
| 60 |
|
| 61 |
public void setDirectoryStartEntry(int directoryStartBlock) { |
| 62 |
this.directoryStartEntry = directoryStartBlock; |
| 63 |
} |
| 64 |
|
| 65 |
public int getReservedDirectoryBlocks() { |
| 66 |
return reservedDirectoryBlocks; |
| 67 |
} |
| 68 |
|
| 69 |
public void setReservedDirectoryBlocks(int blocks) { |
| 70 |
this.reservedDirectoryBlocks = blocks; |
| 71 |
} |
| 72 |
|
| 73 |
public boolean isGmapsupp() { |
| 74 |
return gmapsupp; |
| 75 |
} |
| 76 |
|
| 77 |
public void setGmapsupp(boolean gmapsupp) { |
| 78 |
this.gmapsupp = gmapsupp; |
| 79 |
} |
| 80 |
|
| 81 |
public boolean isHideGmapsuppOnPC() { |
| 82 |
return hideGmapsuppOnPC; |
| 83 |
} |
| 84 |
|
| 85 |
public void setHideGmapsuppOnPC(boolean hideGmapsuppOnPC) { |
| 86 |
this.hideGmapsuppOnPC = hideGmapsuppOnPC; |
| 87 |
} |
| 88 |
|
| 89 |
public void setProductVersion(int version) { |
| 90 |
this.productVersion = version; |
| 91 |
} |
| 92 |
|
| 93 |
public int getProductVersion() { |
| 94 |
return productVersion; |
| 95 |
} |
| 96 |
} |