Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dalfile / src / org / gvsig / fmap / dal / explorer / filesystem / FilesystemExplorerParameters.java @ 24876

History | View | Annotate | Download (925 Bytes)

1
package org.gvsig.fmap.dal.explorer.filesystem;
2

    
3
import org.gvsig.fmap.dal.DataServerExplorerParameters;
4
import org.gvsig.fmap.dal.DataTypes;
5
import org.gvsig.fmap.dal.spi.AbstractDataParameters;
6

    
7
public class FilesystemExplorerParameters extends AbstractDataParameters
8
                implements DataServerExplorerParameters {
9

    
10
        public FilesystemExplorerParameters() {
11
                this.addParameter("root", DataTypes.STRING, "Ruta base a usar", null);
12
                this
13
                                .addParameter("initialpath", DataTypes.STRING, "Ruta inicial",
14
                                                null);
15
        }
16

    
17
        public void setRoot(String path) {
18
                this.setAttribute("root", path);
19
        }
20

    
21
        public String getRoot() {
22
                return (String) this.getAttribute("root");
23
        }
24

    
25
        public void setInitialpath(String path) {
26
                this.setAttribute("initialpath", path);
27
        }
28

    
29
        public String getInitialpath() {
30
                return (String) this.getAttribute("initialpath");
31
        }
32

    
33
        public String getExplorerName() {
34
                return FilesystemExplorer.NAME;
35
        }
36

    
37
}