Revision 6516 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.tilecache/org.gvsig.raster.tilecache.provider/src/main/java/org/gvsig/raster/tilecache/provider/TileCacheStoreProviderParameters.java

View differences:

TileCacheStoreProviderParameters.java
153 153
        return parameters;
154 154
    }
155 155

  
156

  
157
//    private void loadPRJ(File file){
158
//        File prjFile = new File(FilenameUtils.removeExtension(file.getAbsolutePath())+".prj");
159
//        if (prjFile.exists()) {
160
//            try {
161
//                String contentFile = FileUtils.readFileToString(prjFile);
162
//                if (StringUtils.isNotEmpty(contentFile)){
163
//                    IProjection crs=CRSFactory.getCRSFactory().get(ICRSFactory.FORMAT_WKT_ESRI, contentFile);
164
//                    setCRS(crs);
165
//                }
166
//
167
//            } catch (IOException e) {
168
//                logger.warn("Couldn't read wld file");
169
//            }
170
//        }
171
//    }
172
//
173
//    private void loadWLD(File file){
174
//        File wldFile = new File(FilenameUtils.removeExtension(file.getAbsolutePath())+".wld");
175
//        if (wldFile.exists()) {
176
//            try {
177
//                List<String> lines = FileUtils.readLines(wldFile);
178
//                if (lines!=null && lines.size()==6){
179
//                    setWldParams(lines);
180
//                }
181
//
182
//            } catch (IOException e) {
183
//                logger.warn("Couldn't read wld file");
184
//            }
185
//        }
186
//    }
187

  
188 156
}

Also available in: Unified diff