gvsig-raster / org.gvsig.raster.tilecache / trunk / org.gvsig.raster.tilecache / org.gvsig.raster.tilecache.io / src / main / java / org / gvsig / raster / tilecache / io / TileServerExplorer.java @ 9477
History | View | Annotate | Download (3.66 KB)
1 | 2477 | 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 | /*
|
||
24 | * AUTHORS (In addition to CIT):
|
||
25 | * 2009 IVER T.I {{Task}}
|
||
26 | */
|
||
27 | |||
28 | package org.gvsig.raster.tilecache.io; |
||
29 | |||
30 | import java.io.File; |
||
31 | import java.io.FileInputStream; |
||
32 | import java.util.List; |
||
33 | |||
34 | 5980 | fdiaz | import org.apache.commons.io.FilenameUtils; |
35 | |||
36 | 2477 | nbrodin | import org.gvsig.fmap.dal.DALLocator; |
37 | import org.gvsig.fmap.dal.DataManager; |
||
38 | import org.gvsig.fmap.dal.DataServerExplorer; |
||
39 | import org.gvsig.fmap.dal.DataServerExplorerParameters; |
||
40 | 5980 | fdiaz | import org.gvsig.fmap.dal.DataStore; |
41 | 2477 | nbrodin | import org.gvsig.fmap.dal.DataStoreParameters; |
42 | import org.gvsig.fmap.dal.NewDataStoreParameters; |
||
43 | import org.gvsig.fmap.dal.coverage.RasterLocator; |
||
44 | import org.gvsig.fmap.dal.exception.CreateException; |
||
45 | import org.gvsig.fmap.dal.exception.DataException; |
||
46 | import org.gvsig.fmap.dal.exception.InitializeException; |
||
47 | import org.gvsig.fmap.dal.exception.RemoveException; |
||
48 | import org.gvsig.fmap.dal.serverexplorer.filesystem.impl.AbstractFilesystemServerExplorerProvider; |
||
49 | import org.gvsig.fmap.dal.serverexplorer.filesystem.spi.FilesystemServerExplorerProviderServices; |
||
50 | 9477 | jjdelcerro | import org.gvsig.fmap.dal.spi.AbstractDataServerExplorer; |
51 | 2477 | nbrodin | import org.gvsig.fmap.dal.spi.DataServerExplorerProvider; |
52 | import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices; |
||
53 | import org.gvsig.raster.impl.store.AbstractRasterFileDataParameters; |
||
54 | |||
55 | 9477 | jjdelcerro | public class TileServerExplorer extends AbstractDataServerExplorer implements DataServerExplorerProvider { |
56 | 2477 | nbrodin | public static final String NAME = "TileServerExplorer"; |
57 | 5554 | fdiaz | |
58 | 2477 | nbrodin | public TileServerExplorer() {
|
59 | 9477 | jjdelcerro | super(null,null); |
60 | 2477 | nbrodin | } |
61 | 5554 | fdiaz | |
62 | 2477 | nbrodin | public TileServerExplorer(
|
63 | TileServerExplorerParameters parameters, |
||
64 | DataServerExplorerProviderServices services) |
||
65 | throws InitializeException {
|
||
66 | 9477 | jjdelcerro | super(parameters, services);
|
67 | 2477 | nbrodin | } |
68 | 5554 | fdiaz | |
69 | 2477 | nbrodin | public void remove(DataStoreParameters parameters) throws RemoveException { |
70 | throw new UnsupportedOperationException(); |
||
71 | } |
||
72 | |||
73 | public DataServerExplorerParameters getParameters() {
|
||
74 | return null; |
||
75 | } |
||
76 | 5554 | fdiaz | |
77 | 2477 | nbrodin | public DataServerExplorerProviderServices getServerExplorerProviderServices() {
|
78 | return null; |
||
79 | } |
||
80 | |||
81 | public boolean add(String provider, NewDataStoreParameters parameters, |
||
82 | boolean overwrite) throws DataException { |
||
83 | return false; |
||
84 | } |
||
85 | |||
86 | public boolean canAdd() { |
||
87 | return false; |
||
88 | } |
||
89 | |||
90 | public boolean canAdd(String storeName) throws DataException { |
||
91 | return false; |
||
92 | } |
||
93 | |||
94 | public NewDataStoreParameters getAddParameters(String storeName) |
||
95 | throws DataException {
|
||
96 | return null; |
||
97 | } |
||
98 | |||
99 | @SuppressWarnings("unchecked") |
||
100 | public List getDataStoreProviderNames() { |
||
101 | return null; |
||
102 | } |
||
103 | |||
104 | public String getProviderName() { |
||
105 | return null; |
||
106 | } |
||
107 | |||
108 | @SuppressWarnings("unchecked") |
||
109 | public List list() throws DataException { |
||
110 | return null; |
||
111 | } |
||
112 | |||
113 | @SuppressWarnings("unchecked") |
||
114 | public List list(int mode) throws DataException { |
||
115 | return null; |
||
116 | } |
||
117 | |||
118 | 5554 | fdiaz | @Override
|
119 | public DataStoreParameters get(String name) throws DataException { |
||
120 | 9477 | jjdelcerro | return null; |
121 | 5554 | fdiaz | } |
122 | |||
123 | 2477 | nbrodin | } |