Revision 43936 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.shape/src/main/java/org/gvsig/export/shape/service/ExportShapeParametersImpl.java
ExportShapeParametersImpl.java | ||
---|---|---|
1 | 1 |
package org.gvsig.export.shape.service; |
2 | 2 |
|
3 | 3 |
import java.io.File; |
4 |
import org.apache.commons.io.FilenameUtils; |
|
4 | 5 |
import org.gvsig.export.spi.AbstractExportParametersGeometry; |
5 | 6 |
|
6 | 7 |
/** |
... | ... | |
36 | 37 |
|
37 | 38 |
@Override |
38 | 39 |
public void setFile(File file) { |
39 |
this.file = file;
|
|
40 |
this.file = new File(FilenameUtils.removeExtension(file.getAbsolutePath()) + ".shp");
|
|
40 | 41 |
} |
41 | 42 |
|
42 | 43 |
} |
Also available in: Unified diff