svn-gvsig-desktop / trunk / libraries / libDataSourceBaseDrivers / src / org / gvsig / data / datastores / vectorial / file / dbf / DBFStoreParameters.java @ 20243
History | View | Annotate | Download (926 Bytes)
1 |
package org.gvsig.data.datastores.vectorial.file.dbf; |
---|---|
2 |
|
3 |
import java.io.File; |
4 |
|
5 |
import org.gvsig.data.IDataStoreParameters; |
6 |
import org.gvsig.data.datastores.vectorial.file.IFileStoreParameters; |
7 |
|
8 |
public class DBFStoreParameters implements IFileStoreParameters { |
9 |
private File dbffile; |
10 |
public File getDBFFile() { |
11 |
return dbffile;
|
12 |
} |
13 |
public void setDBFFile(File dbfFile){ |
14 |
this.dbffile = dbfFile;
|
15 |
} |
16 |
public String getDataStoreName() { |
17 |
return DBFStore.DATASTORE_NAME;
|
18 |
} |
19 |
public boolean isValid() { |
20 |
return (dbffile != null); |
21 |
} |
22 |
/* (non-Javadoc)
|
23 |
* @see org.gvsig.data.datastores.vectorial.file.IFileStoreParameters#getFile()
|
24 |
*/
|
25 |
public File getFile() { |
26 |
return getDBFFile();
|
27 |
} |
28 |
/* (non-Javadoc)
|
29 |
* @see org.gvsig.data.datastores.vectorial.file.IFileStoreParameters#setFile(java.io.File)
|
30 |
*/
|
31 |
public void setFile(File aFile) { |
32 |
this.setDBFFile(aFile);
|
33 |
} |
34 |
} |