Statistics
| Revision:

gvsig-raster / org.gvsig.raster.multifile / trunk / org.gvsig.raster.multifile / org.gvsig.raster.multifile.io / src / main / java / org / gvsig / raster / multifile / io / MultiFileServerExplorer.java @ 9640

History | View | Annotate | Download (3.08 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
* MA  02110-1301, USA.
20
*
21
*/
22

    
23
package org.gvsig.raster.multifile.io;
24

    
25
import java.util.List;
26

    
27
import org.gvsig.fmap.dal.DataServerExplorer;
28
import org.gvsig.fmap.dal.DataStoreParameters;
29
import org.gvsig.fmap.dal.NewDataStoreParameters;
30
import org.gvsig.fmap.dal.exception.DataException;
31
import org.gvsig.fmap.dal.exception.InitializeException;
32
import org.gvsig.fmap.dal.exception.RemoveException;
33
import org.gvsig.fmap.dal.spi.AbstractDataServerExplorer;
34
import org.gvsig.fmap.dal.spi.DataServerExplorerProvider;
35
import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices;
36

    
37
/**
38
 * Explorer for a Multifile
39
 */
40
public class MultiFileServerExplorer extends AbstractDataServerExplorer implements DataServerExplorerProvider  {
41

    
42
        /**
43
         *
44
         */
45
        public MultiFileServerExplorer() {
46
            super(null, null);
47
        }
48

    
49
        /**
50
         * @param parameters
51
         * @param services
52
         * @throws InitializeException
53
         */
54
        public MultiFileServerExplorer(
55
                        MultiFileServerExplorerParameters parameters,
56
                        DataServerExplorerProviderServices services)
57
                        throws InitializeException {
58
            super(parameters, services);
59
        }
60

    
61
        @Override
62
        public DataStoreParameters get(String string) throws DataException {
63
            return null;
64
        }
65

    
66
        public String getDataStoreProviderName() {
67
                return MultiFileProvider.NAME;
68
        }
69

    
70
        public String getDescription() {
71
                return MultiFileProvider.DESCRIPTION;
72
        }
73

    
74
        public List<String> getDataStoreProviderNames() {
75
                return null;
76
        }
77

    
78
        public String getProviderName() {
79
                return MultiFileProvider.NAME;
80
        }
81

    
82
        public void remove(DataStoreParameters parameters) throws RemoveException {
83
                throw new UnsupportedOperationException();
84
        }
85

    
86
        public boolean add(String provider, NewDataStoreParameters parameters,
87
                        boolean overwrite) throws DataException {
88
                return false;
89
        }
90

    
91
        public boolean canAdd() {
92
                return false;
93
        }
94

    
95
        public boolean canAdd(String storeName) throws DataException {
96
                return false;
97
        }
98

    
99
        public NewDataStoreParameters getAddParameters(String storeName)
100
                        throws DataException {
101
                return null;
102
        }
103

    
104
        public List<DataStoreParameters> list() throws DataException {
105
                return null;
106
        }
107

    
108
        public List<DataStoreParameters> list(int mode) throws DataException {
109
                return null;
110
        }
111

    
112
        public int getMode() {
113
                return DataServerExplorer.MODE_RASTER;
114
        }
115

    
116

    
117
}