Revision 20660 trunk/libraries/libFMap_dataFile/src/org/gvsig/data/datastores/vectorial/file/shp/SHPStoreParameters.java
SHPStoreParameters.java | ||
---|---|---|
7 | 7 |
public class SHPStoreParameters extends DBFStoreParameters { |
8 | 8 |
private File shpfile; |
9 | 9 |
private File shxfile; |
10 |
private String srs = null; |
|
11 |
|
|
10 | 12 |
public boolean isValid() { |
11 | 13 |
return super.isValid() && ( shpfile != null ) && (shxfile != null ); |
12 | 14 |
} |
... | ... | |
35 | 37 |
return this.shpfile; |
36 | 38 |
} |
37 | 39 |
|
40 |
protected File getSHXFile(){ |
|
41 |
return this.shxfile; |
|
42 |
} |
|
38 | 43 |
|
44 |
protected void setSHXFile(File file){ |
|
45 |
this.shxfile = file; |
|
46 |
} |
|
47 |
/** |
|
48 |
* @return the srs |
|
49 |
*/ |
|
50 |
public String getSRS() { |
|
51 |
return srs; |
|
52 |
} |
|
53 |
/** |
|
54 |
* @param srs the srs to set |
|
55 |
*/ |
|
56 |
public void setSRS(String srs) { |
|
57 |
this.srs = srs; |
|
58 |
} |
|
39 | 59 |
|
60 |
|
|
40 | 61 |
} |
Also available in: Unified diff