@Test public void testGetSMDAP2_v0200Descriptors() { final Family<BandDescriptor> descriptors = dddb.getBandDescriptors(DBL_SM_XXXX_MIR_SMDAP2_0200); assertEquals(70, descriptors.asList().size()); final BandDescriptor x_swath = descriptors.getMember("X_Swath"); assertNotNull(x_swath); }
public Family<BandDescriptor> getBandDescriptors(String formatName) { if (!bandDescriptorMap.containsKey(formatName)) { InputStream inputStream = null; try { inputStream = getBandDescriptorResource(formatName); if (inputStream != null) { final BandDescriptors descriptors = readBandDescriptors(inputStream); bandDescriptorMap.putIfAbsent(formatName, descriptors); } } catch (Throwable t) { throw new IllegalStateException(MessageFormat.format( "An error occurred while reading band descriptors for format name ''{0}''.", formatName)); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { } } } } return bandDescriptorMap.get(formatName); }
Dddb { public Family<BandDescriptor> getBandDescriptors(String formatName) { if (!bandDescriptorMap.containsKey(formatName)) { InputStream inputStream = null; try { inputStream = getBandDescriptorResource(formatName); if (inputStream != null) { final BandDescriptors descriptors = readBandDescriptors(inputStream); bandDescriptorMap.putIfAbsent(formatName, descriptors); } } catch (Throwable t) { throw new IllegalStateException(MessageFormat.format( "An error occurred while reading band descriptors for format name ''{0}''.", formatName)); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { } } } } return bandDescriptorMap.get(formatName); } }
Dddb { public Family<BandDescriptor> getBandDescriptors(String formatName) { if (!bandDescriptorMap.containsKey(formatName)) { InputStream inputStream = null; try { inputStream = getBandDescriptorResource(formatName); if (inputStream != null) { final BandDescriptors descriptors = readBandDescriptors(inputStream); bandDescriptorMap.putIfAbsent(formatName, descriptors); } } catch (Throwable t) { throw new IllegalStateException(MessageFormat.format( "An error occurred while reading band descriptors for format name ''{0}''.", formatName)); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { } } } } return bandDescriptorMap.get(formatName); } private  Dddb(); }
Dddb { public Family<BandDescriptor> getBandDescriptors(String formatName) { if (!bandDescriptorMap.containsKey(formatName)) { InputStream inputStream = null; try { inputStream = getBandDescriptorResource(formatName); if (inputStream != null) { final BandDescriptors descriptors = readBandDescriptors(inputStream); bandDescriptorMap.putIfAbsent(formatName, descriptors); } } catch (Throwable t) { throw new IllegalStateException(MessageFormat.format( "An error occurred while reading band descriptors for format name ''{0}''.", formatName)); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { } } } } return bandDescriptorMap.get(formatName); } private  Dddb(); static Dddb getInstance(); DataFormat getDataFormat(File hdrFile); BandDescriptor findBandDescriptorForMember(String formatName, String memberName); Family<BandDescriptor> getBandDescriptors(String formatName); Family<FlagDescriptor> getFlagDescriptors(String identifier); Family<MemberDescriptor> getMemberDescriptors(File hdrFile); }
Dddb { public Family<BandDescriptor> getBandDescriptors(String formatName) { if (!bandDescriptorMap.containsKey(formatName)) { InputStream inputStream = null; try { inputStream = getBandDescriptorResource(formatName); if (inputStream != null) { final BandDescriptors descriptors = readBandDescriptors(inputStream); bandDescriptorMap.putIfAbsent(formatName, descriptors); } } catch (Throwable t) { throw new IllegalStateException(MessageFormat.format( "An error occurred while reading band descriptors for format name ''{0}''.", formatName)); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { } } } } return bandDescriptorMap.get(formatName); } private  Dddb(); static Dddb getInstance(); DataFormat getDataFormat(File hdrFile); BandDescriptor findBandDescriptorForMember(String formatName, String memberName); Family<BandDescriptor> getBandDescriptors(String formatName); Family<FlagDescriptor> getFlagDescriptors(String identifier); Family<MemberDescriptor> getMemberDescriptors(File hdrFile);  }