Statistics
| Revision:

svn-gvsig-desktop / branches / Mobile_Compatible_Hito_1 / libFMap_dataFile / src / org / gvsig / data / datastores / vectorial / file / dbf / DBFStoreParameters.java @ 22125

History | View | Annotate | Download (907 Bytes)

1 19844 vcaballero
package org.gvsig.data.datastores.vectorial.file.dbf;
2 19737 vcaballero
3
import java.io.File;
4
5 21045 jmvivo
import org.gvsig.data.datastores.vectorial.file.FileStoreParameters;
6 19737 vcaballero
7 21045 jmvivo
public class DBFStoreParameters implements FileStoreParameters {
8 19737 vcaballero
         private File dbffile;
9
                public String getDataStoreName() {
10
                        return DBFStore.DATASTORE_NAME;
11
                }
12 19785 jmvivo
                public boolean isValid() {
13
                        return (dbffile != null);
14
                }
15 20243 jmvivo
                /* (non-Javadoc)
16 21045 jmvivo
                 * @see org.gvsig.data.datastores.vectorial.file.FileStoreParameters#getFile()
17 20243 jmvivo
                 */
18
                public File getFile() {
19 20479 jmvivo
                        return this.getDBFFile();
20 20243 jmvivo
                }
21
                /* (non-Javadoc)
22 21045 jmvivo
                 * @see org.gvsig.data.datastores.vectorial.file.FileStoreParameters#setFile(java.io.File)
23 20243 jmvivo
                 */
24
                public void setFile(File aFile) {
25 20479 jmvivo
                        this.setDBFFile(aFile);
26 20243 jmvivo
                }
27 20479 jmvivo
28
            protected File getDBFFile(){
29
                    return dbffile;
30
            }
31
32
            protected void setDBFFile(File aFile){
33
                    this.dbffile = aFile;
34
            }
35
36 19737 vcaballero
}