Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libFMap_dataFile / src / org / gvsig / data / datastores / vectorial / file / dxf / DXFStoreParameters.java @ 20692

History | View | Annotate | Download (977 Bytes)

1
package org.gvsig.data.datastores.vectorial.file.dxf;
2

    
3
import java.io.File;
4

    
5
import org.cresques.cts.IProjection;
6
import org.gvsig.data.datastores.vectorial.file.IFileStoreParameters;
7

    
8

    
9
public class DXFStoreParameters implements IFileStoreParameters{
10
        private File dxffile;
11
        private IProjection projection;
12
        public String getDataStoreName() {
13
                return DXFStore.DATASTORE_NAME;
14
        }
15
        public IProjection getProjection() {
16
                return projection;
17
        }
18
        public void setProjection(IProjection projection){
19
                this.projection=projection;
20
        }
21
        public boolean isValid() {
22
                return dxffile != null && this.projection != null;
23
        }
24
        /* (non-Javadoc)
25
         * @see org.gvsig.data.datastores.vectorial.file.IFileStoreParameters#getFile()
26
         */
27
        public File getFile() {
28
                return dxffile;
29
        }
30
        /* (non-Javadoc)
31
         * @see org.gvsig.data.datastores.vectorial.file.IFileStoreParameters#setFile(java.io.File)
32
         */
33
        public void setFile(File aFile) {
34
                this.dxffile = aFile;
35
        }
36
}