svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dataFile / src / org / gvsig / fmap / data / feature / file / dgn / DGNStoreParameters.java @ 23543
History | View | Annotate | Download (562 Bytes)
1 |
package org.gvsig.fmap.data.feature.file.dgn; |
---|---|
2 |
|
3 |
import java.io.File; |
4 |
|
5 |
import org.gvsig.fmap.data.feature.file.AbstractFileStoreParameters; |
6 |
import org.gvsig.fmap.data.feature.file.FileStoreParameters; |
7 |
|
8 |
|
9 |
public class DGNStoreParameters extends AbstractFileStoreParameters implements |
10 |
FileStoreParameters { |
11 |
public String getDataStoreName() { |
12 |
return DGNStore.DATASTORE_NAME;
|
13 |
} |
14 |
public boolean fileAccept(File f) { |
15 |
return f.getAbsolutePath().toLowerCase().endsWith(".dgn"); |
16 |
} |
17 |
|
18 |
public String getDescription() { |
19 |
return "DGN File"; |
20 |
} |
21 |
|
22 |
} |