Revision 43873 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.bsq/src/main/java/org/gvsig/fmap/dal/fileutils/impl/DefaultHDRFile.java
DefaultHDRFile.java | ||
---|---|---|
86 | 86 |
try { |
87 | 87 |
switch (words[0]) { |
88 | 88 |
case "nrows": |
89 |
this.nrows = Integer.parseUnsignedInt(words[1]);
|
|
89 |
this.nrows = Integer.parseInt(words[1]); |
|
90 | 90 |
break; |
91 | 91 |
case "ncols": |
92 |
this.ncols = Integer.parseUnsignedInt(words[1]);
|
|
92 |
this.ncols = Integer.parseInt(words[1]); |
|
93 | 93 |
break; |
94 | 94 |
case "nbands": |
95 |
this.nbands = Integer.parseUnsignedInt(words[1]);
|
|
95 |
this.nbands = Integer.parseInt(words[1]); |
|
96 | 96 |
break; |
97 | 97 |
case "nbits": |
98 |
this.nbits = Integer.parseUnsignedInt(words[1]);
|
|
98 |
this.nbits = Integer.parseInt(words[1]); |
|
99 | 99 |
break; |
100 | 100 |
case "pixeltype": |
101 | 101 |
this.pixeltype = words[1]; |
... | ... | |
107 | 107 |
this.layout = words[1]; |
108 | 108 |
break; |
109 | 109 |
case "skipbytes": |
110 |
this.skipbytes = Integer.parseUnsignedInt(words[1]);
|
|
110 |
this.skipbytes = Integer.parseInt(words[1]); |
|
111 | 111 |
break; |
112 | 112 |
case "nodata_value": |
113 | 113 |
this.nodata_value = Double.parseDouble(words[1]); |
114 | 114 |
break; |
115 | 115 |
case "cellsize": |
116 |
this.cellsize = Integer.parseUnsignedInt(words[1]);
|
|
116 |
this.cellsize = Integer.parseInt(words[1]); |
|
117 | 117 |
break; |
118 | 118 |
case "xllcorner": |
119 | 119 |
case "xllcenter": |
... | ... | |
136 | 136 |
this.ydim = Double.parseDouble(words[1]); |
137 | 137 |
break; |
138 | 138 |
case "bandrowbytes": |
139 |
this.bandrowbytes = Integer.parseUnsignedInt(words[1]);
|
|
139 |
this.bandrowbytes = Integer.parseInt(words[1]); |
|
140 | 140 |
break; |
141 | 141 |
case "totalrowbytes": |
142 |
this.totalrowbytes = Integer.parseUnsignedInt(words[1]);
|
|
142 |
this.totalrowbytes = Integer.parseInt(words[1]); |
|
143 | 143 |
break; |
144 | 144 |
case "bandgapbytes": |
145 |
this.bandgapbytes = Integer.parseUnsignedInt(words[1]);
|
|
145 |
this.bandgapbytes = Integer.parseInt(words[1]); |
|
146 | 146 |
break; |
147 | 147 |
} |
148 | 148 |
} catch (NumberFormatException e) { |
Also available in: Unified diff