Revision 4181 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.api/src/main/java/org/gvsig/fmap/dal/coverage/store/parameter/RasterDataParameters.java
RasterDataParameters.java | ||
---|---|---|
28 | 28 |
package org.gvsig.fmap.dal.coverage.store.parameter; |
29 | 29 |
|
30 | 30 |
import java.io.File; |
31 |
import java.net.URI; |
|
31 | 32 |
|
32 | 33 |
import org.cresques.cts.IProjection; |
34 |
|
|
33 | 35 |
import org.gvsig.fmap.dal.DataStoreParameters; |
34 | 36 |
import org.gvsig.fmap.dal.coverage.store.RasterDataServerExplorer; |
35 | 37 |
|
... | ... | |
46 | 48 |
public static int NEW_PROJETION_TO_THE_LAYER = 6; |
47 | 49 |
public static int NOT_LOAD = 4; |
48 | 50 |
public static int ON_THE_FLY = 5; |
49 |
|
|
51 |
|
|
50 | 52 |
//General parameters |
51 | 53 |
public static final String FIELD_URI = "uri"; |
52 | 54 |
public static final String FIELD_CRS = "crs"; |
53 | 55 |
public static final String FIELD_RMF_FOLDER = "rmf_folder"; |
54 |
|
|
55 | 56 |
|
57 |
|
|
56 | 58 |
/** |
57 | 59 |
* Flag to know if this provider is visible or it isn't |
58 | 60 |
* @return |
59 | 61 |
*/ |
60 | 62 |
public boolean isVisible(); |
61 |
|
|
63 |
|
|
62 | 64 |
/** |
63 | 65 |
* Assigns the flag to know if this provider is visible or it isn't |
64 | 66 |
* @return |
65 | 67 |
*/ |
66 | 68 |
public void setVisible(boolean visible); |
67 |
|
|
69 |
|
|
68 | 70 |
public boolean isValid(); |
69 |
|
|
71 |
|
|
70 | 72 |
/** |
71 | 73 |
* When a layer is loaded will have several options when its projection is not the same that the view projection. |
72 |
* This options are defined as static variables in RasterDataParameters interface
|
|
74 |
* This options are defined as static variables in RasterDataParameters interface |
|
73 | 75 |
* @param frame |
74 | 76 |
*/ |
75 | 77 |
public void setReprojectionOption(int option); |
76 |
|
|
78 |
|
|
77 | 79 |
/** |
78 | 80 |
* When a layer is loaded will have several options when its projection is not the same that the view projection. |
79 |
* This options are defined as static variables in RasterDataParameters interface
|
|
81 |
* This options are defined as static variables in RasterDataParameters interface |
|
80 | 82 |
* @return |
81 | 83 |
*/ |
82 | 84 |
public int getReprojectionOption(); |
83 |
|
|
85 |
|
|
84 | 86 |
/** |
85 | 87 |
* Gets the uniform resource identifier of a provider. This can be |
86 |
* a file name or a URL
|
|
88 |
* a file name or a URL |
|
87 | 89 |
* @return |
88 | 90 |
*/ |
89 |
public String getURI();
|
|
90 |
|
|
91 |
public URI getURI();
|
|
92 |
|
|
91 | 93 |
/** |
92 | 94 |
* Sets the uniform resource identifier of a provider. This can be |
93 |
* a file name or a URL
|
|
95 |
* a file name or a URL |
|
94 | 96 |
* @param uri |
95 | 97 |
*/ |
96 |
public void setURI(String uri);
|
|
98 |
public void setURI(URI uri);
|
|
97 | 99 |
|
98 | 100 |
public String getSRSID(); |
99 | 101 |
|
... | ... | |
102 | 104 |
public void setSRS(IProjection srs); |
103 | 105 |
|
104 | 106 |
public IProjection getSRS(); |
105 |
|
|
107 |
|
|
106 | 108 |
public boolean isOverridingHost(); |
107 |
|
|
109 |
|
|
108 | 110 |
public void setOverrideHost(boolean over); |
109 |
|
|
111 |
|
|
110 | 112 |
/** |
111 | 113 |
* Sets the number of alpha band |
112 | 114 |
* @param alphaBand |
113 | 115 |
*/ |
114 | 116 |
public void setAlphaBand(int alphaBand); |
115 |
|
|
117 |
|
|
116 | 118 |
/** |
117 | 119 |
* Sets the frame width |
118 | 120 |
* @param frame |
119 | 121 |
*/ |
120 | 122 |
public void setFrame(int frame); |
121 |
|
|
123 |
|
|
122 | 124 |
/** |
123 | 125 |
* Gets the number of alpha band |
124 | 126 |
* @param alphaBand |
125 | 127 |
*/ |
126 | 128 |
public int getAlphaBand(); |
127 |
|
|
129 |
|
|
128 | 130 |
/** |
129 | 131 |
* Gets the frame width |
130 | 132 |
* @param frame |
131 | 133 |
*/ |
132 | 134 |
public int getFrame(); |
133 |
|
|
135 |
|
|
134 | 136 |
/** |
135 |
* Sets the folder to store RMF file. This folder may be different
|
|
137 |
* Sets the folder to store RMF file. This folder may be different |
|
136 | 138 |
* than the raster folder |
137 | 139 |
* @param rmfFolder |
138 | 140 |
*/ |
139 | 141 |
public void setRMFFolder(File rmfFolder); |
140 |
|
|
142 |
|
|
141 | 143 |
/** |
142 | 144 |
* Gets the folder to store RMF file |
143 | 145 |
* @return |
144 | 146 |
*/ |
145 | 147 |
public File getRMFFolder(); |
146 |
|
|
148 |
|
|
147 | 149 |
/** |
148 | 150 |
* Return true if the store to open is going to be tiled |
149 | 151 |
*/ |
150 | 152 |
public boolean isSourceTiled(); |
151 |
|
|
153 |
|
|
152 | 154 |
/** |
153 | 155 |
* Assigns field from a data parameters to other |
154 | 156 |
* @param par |
Also available in: Unified diff