Revision 952 org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.api/src/main/java/org/gvsig/raster/cache/tile/TileCacheManager.java
TileCacheManager.java | ||
---|---|---|
82 | 82 |
* @param pixelSize Pixel size of the layer |
83 | 83 |
* @param tilePxWidth Width in pixels of a tile |
84 | 84 |
* @param tilePxHeight Height in pixels of a tile |
85 |
* @param uri server URL |
|
85 | 86 |
* @param layerName Layer name or identifier |
86 | 87 |
* @param strategy Strategy to store tiles in disk |
87 | 88 |
* @param baseDir path to this layer |
... | ... | |
95 | 96 |
double pixelSize, |
96 | 97 |
int tilePxWidth, |
97 | 98 |
int tilePxHeight, |
99 |
String uri, |
|
98 | 100 |
String layerName, |
99 | 101 |
String strategy, |
100 | 102 |
String baseDir, |
101 | 103 |
String fileSuffix, |
102 | 104 |
String epsg, |
103 | 105 |
long fileSize); |
106 |
|
|
107 |
/** |
|
108 |
* Builds a standard cache structure for local files |
|
109 |
* @param typeOfCoords Constant defined in CacheStruct interface |
|
110 |
* @param levels Number of levels |
|
111 |
* @param layerExtent Bounding box of the layer |
|
112 |
* @param pixelSize Pixel size of the layer |
|
113 |
* @param tilePxWidth Width in pixels of a tile |
|
114 |
* @param tilePxHeight Height in pixels of a tile |
|
115 |
* @param layerName Layer name or identifier |
|
116 |
* @param strategy Strategy to store tiles in disk |
|
117 |
* @param baseDir path to this layer |
|
118 |
* @param fileSuffix File suffix |
|
119 |
* @param epsg |
|
120 |
* @return |
|
121 |
*/ |
|
122 |
public CacheStruct createCacheStructure(int typeOfCoords, |
|
123 |
int levels, |
|
124 |
Rectangle2D layerExtent, |
|
125 |
double pixelSize, |
|
126 |
int tilePxWidth, |
|
127 |
int tilePxHeight, |
|
128 |
String layerName, |
|
129 |
String strategy, |
|
130 |
String baseDir, |
|
131 |
String fileSuffix, |
|
132 |
String epsg, |
|
133 |
long fileSize); |
|
104 | 134 |
} |
Also available in: Unified diff