public float getR4(int id) { Property p = (Property) properties.get(new Integer(id)); try { int offset = p.getOffset(); stream.seek(offset); return stream.readFloatLE(); } catch (IOException e) { ImagingListenerProxy.errorOccurred(JaiI18N.getString("PropertySet6"), e, this, false); // e.printStackTrace(); return -1.0F; } }