Revision 4200 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/datastruct/DatasetBandImpl.java
DatasetBandImpl.java | ||
---|---|---|
83 | 83 |
nBandsInThisProvider = nBands; |
84 | 84 |
} |
85 | 85 |
|
86 |
/** |
|
87 |
* Creates a new <code>DatasetBand</code> |
|
88 |
* @param uri |
|
89 |
* URI |
|
90 |
* @param position |
|
91 |
* Position of this band inside the provider |
|
92 |
* @param dataType |
|
93 |
* Data type |
|
94 |
* @param nBands |
|
95 |
* Number of bands of the provider |
|
96 |
*/ |
|
97 |
public DatasetBandImpl(URI uri, int position, int dataType, int nBands){ |
|
98 |
setFileName(uri.getPath()); |
|
99 |
setPosition(position); |
|
100 |
setDataType(dataType); |
|
101 |
nBandsInThisProvider = nBands; |
|
102 |
} |
|
103 |
|
|
86 | 104 |
/* |
87 | 105 |
* (non-Javadoc) |
88 | 106 |
* @see java.lang.Object#clone() |
Also available in: Unified diff