Revision 2623 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/buffer/cache/CacheDataServer.java
CacheDataServer.java | ||
---|---|---|
126 | 126 |
} |
127 | 127 |
} |
128 | 128 |
|
129 |
/* (non-Javadoc) |
|
130 |
* @see org.gvsig.fmap.dataaccess.cache.ICacheDataSource#savePage(int, org.gvsig.fmap.dataaccess.cache.PageBuffer) |
|
131 |
*/ |
|
132 | 129 |
public void savePage(PageBandBuffer pageBuffer) throws IOException { |
133 | 130 |
tempDirectoryPath = file.getTemporalPath(); |
134 | 131 |
String fileName = tempDirectoryPath + File.separator + id; |
... | ... | |
139 | 136 |
dos.close(); |
140 | 137 |
} |
141 | 138 |
|
142 |
/* |
|
143 |
* (non-Javadoc) |
|
144 |
* @see org.gvsig.raster.dataaccess.cache.ICacheDataSource#delete() |
|
145 |
*/ |
|
146 | 139 |
public void delete() { |
147 | 140 |
String fileName = tempDirectoryPath + File.separator + id; |
148 | 141 |
File f = new File(fileName); |
... | ... | |
151 | 144 |
} |
152 | 145 |
} |
153 | 146 |
|
154 |
/* |
|
155 |
* (non-Javadoc) |
|
156 |
* @see org.gvsig.raster.dataaccess.cache.ICacheDataSource#getPath() |
|
157 |
*/ |
|
158 | 147 |
public String getPath() { |
159 | 148 |
return tempDirectoryPath + File.separator + id; |
160 | 149 |
} |
Also available in: Unified diff