@Test public void testGetProductFileFilter() { final SnapFileFilter productFileFilter = plugIn.getProductFileFilter(); assertNotNull(productFileFilter); assertEquals("MODIS", productFileFilter.getFormatName()); assertEquals(".hdf", productFileFilter.getDefaultExtension()); assertEquals("MODIS HDF4 Data Products (*.hdf)", productFileFilter.getDescription()); }
public SnapFileFilter getProductFileFilter() { String[] formatNames = getFormatNames(); String formatName = ""; if (formatNames.length > 0) { formatName = formatNames[0]; } return new SnapFileFilter(formatName, getDefaultFileExtensions(), getDescription(null)); }
ModisProductReaderPlugIn implements ProductReaderPlugIn { public SnapFileFilter getProductFileFilter() { String[] formatNames = getFormatNames(); String formatName = ""; if (formatNames.length > 0) { formatName = formatNames[0]; } return new SnapFileFilter(formatName, getDefaultFileExtensions(), getDescription(null)); } }
ModisProductReaderPlugIn implements ProductReaderPlugIn { public SnapFileFilter getProductFileFilter() { String[] formatNames = getFormatNames(); String formatName = ""; if (formatNames.length > 0) { formatName = formatNames[0]; } return new SnapFileFilter(formatName, getDefaultFileExtensions(), getDescription(null)); }  }
ModisProductReaderPlugIn implements ProductReaderPlugIn { public SnapFileFilter getProductFileFilter() { String[] formatNames = getFormatNames(); String formatName = ""; if (formatNames.length > 0) { formatName = formatNames[0]; } return new SnapFileFilter(formatName, getDefaultFileExtensions(), getDescription(null)); }  DecodeQualification getDecodeQualification(Object input); Class[] getInputTypes(); ProductReader createReaderInstance(); SnapFileFilter getProductFileFilter(); String[] getDefaultFileExtensions(); String getDescription(Locale locale); String[] getFormatNames(); }
ModisProductReaderPlugIn implements ProductReaderPlugIn { public SnapFileFilter getProductFileFilter() { String[] formatNames = getFormatNames(); String formatName = ""; if (formatNames.length > 0) { formatName = formatNames[0]; } return new SnapFileFilter(formatName, getDefaultFileExtensions(), getDescription(null)); }  DecodeQualification getDecodeQualification(Object input); Class[] getInputTypes(); ProductReader createReaderInstance(); SnapFileFilter getProductFileFilter(); String[] getDefaultFileExtensions(); String getDescription(Locale locale); String[] getFormatNames();  }