gvsig-raster / org.gvsig.raster.multifile / trunk / org.gvsig.raster.multifile / org.gvsig.raster.multifile.io / src / main / java / org / gvsig / raster / multifile / io / MultiFileDataParameters.java @ 4181
History | View | Annotate | Download (2.39 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 |
/*
|
24 |
* AUTHORS (In addition to CIT):
|
25 |
* 2009 IVER T.I {{Task}}
|
26 |
*/
|
27 |
|
28 |
package org.gvsig.raster.multifile.io; |
29 |
|
30 |
import java.net.URI; |
31 |
import java.util.List; |
32 |
|
33 |
import org.gvsig.fmap.dal.coverage.store.RasterDataStore; |
34 |
import org.gvsig.fmap.dal.coverage.store.parameter.RasterDataParameters; |
35 |
import org.gvsig.fmap.dal.spi.DataStoreProvider; |
36 |
import org.gvsig.raster.impl.provider.RasterProvider; |
37 |
|
38 |
/**
|
39 |
* Parameters for the Multifile provider
|
40 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
41 |
*/
|
42 |
public interface MultiFileDataParameters extends RasterDataParameters { |
43 |
public static final String FIELD_PROVIDERS = "Providers"; |
44 |
|
45 |
/**
|
46 |
* Removes all providers
|
47 |
*/
|
48 |
public void removeAllProviders(); |
49 |
|
50 |
/**
|
51 |
* Returns true if this multifile has providers loaded
|
52 |
* @return
|
53 |
*/
|
54 |
public boolean hasProviders(); |
55 |
|
56 |
/**
|
57 |
* Removes a provider from the list
|
58 |
* @param uri
|
59 |
*/
|
60 |
public void removeProvider(URI uri); |
61 |
|
62 |
/**
|
63 |
* Adds a provider to the list if the this is not tiled
|
64 |
* @param prov
|
65 |
*/
|
66 |
public void addProviderNotTiled(DataStoreProvider provider); |
67 |
|
68 |
/**
|
69 |
* Set the selected provider in the first position
|
70 |
* @param provider
|
71 |
*/
|
72 |
public void setFirstProvider(DataStoreProvider provider); |
73 |
|
74 |
/**
|
75 |
* Adds a provider to the list
|
76 |
* @param prov
|
77 |
*/
|
78 |
public void addProvider(DataStoreProvider provider); |
79 |
|
80 |
/**
|
81 |
* Adds a provider to the list from a RasterDataStore
|
82 |
* @param rasterDataStore
|
83 |
*/
|
84 |
public void addProvider(RasterDataStore rasterDataStore); |
85 |
|
86 |
/**
|
87 |
* Gets the list of providers
|
88 |
*/
|
89 |
public List<RasterProvider> getProviders(); |
90 |
} |