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 @ 9691

History | View | Annotate | Download (3.08 KB)

1 2458 nbrodin
/* 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 9476 jjdelcerro
import org.gvsig.fmap.dal.spi.AbstractDataServerExplorer;
34 2458 nbrodin
import org.gvsig.fmap.dal.spi.DataServerExplorerProvider;
35
import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices;
36
37
/**
38 5987 fdiaz
 * Explorer for a Multifile
39 2458 nbrodin
 */
40 9476 jjdelcerro
public class MultiFileServerExplorer extends AbstractDataServerExplorer implements DataServerExplorerProvider  {
41 5987 fdiaz
42
        /**
43 9691 omartinez
         *
44 5987 fdiaz
         */
45 2458 nbrodin
        public MultiFileServerExplorer() {
46 9476 jjdelcerro
            super(null, null);
47 2458 nbrodin
        }
48 5987 fdiaz
49
        /**
50
         * @param parameters
51
         * @param services
52
         * @throws InitializeException
53
         */
54 2458 nbrodin
        public MultiFileServerExplorer(
55
                        MultiFileServerExplorerParameters parameters,
56
                        DataServerExplorerProviderServices services)
57
                        throws InitializeException {
58 9476 jjdelcerro
            super(parameters, services);
59 2458 nbrodin
        }
60 5568 jjdelcerro
61
        @Override
62
        public DataStoreParameters get(String string) throws DataException {
63
            return null;
64
        }
65 5987 fdiaz
66 2458 nbrodin
        public String getDataStoreProviderName() {
67
                return MultiFileProvider.NAME;
68
        }
69 5987 fdiaz
70 2458 nbrodin
        public String getDescription() {
71
                return MultiFileProvider.DESCRIPTION;
72
        }
73 5987 fdiaz
74 9640 omartinez
        public List<String> getDataStoreProviderNames() {
75 2458 nbrodin
                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 5987 fdiaz
104 9640 omartinez
        public List<DataStoreParameters> list() throws DataException {
105 2458 nbrodin
                return null;
106
        }
107
108 9640 omartinez
        public List<DataStoreParameters> list(int mode) throws DataException {
109 2458 nbrodin
                return null;
110
        }
111
112
        public int getMode() {
113
                return DataServerExplorer.MODE_RASTER;
114
        }
115
116 5987 fdiaz
117 2458 nbrodin
}