@Test public void testIsMetadataFilename() throws Exception { assertTrue(LandsatGeotiffReaderPlugin.isMetadataFilename("test_L8_MTL.txt")); assertTrue(LandsatGeotiffReaderPlugin.isMetadataFilename("test_legacy_L5_WithTrailingWhiteSpace_MTL.txt")); assertFalse(LandsatGeotiffReaderPlugin.isMetadataFilename("test_MTL_L7.txt")); }
static boolean isMetadataFilename(String filename) { return filename.toLowerCase().endsWith("_mtl.txt"); }
LandsatGeotiffReaderPlugin implements ProductReaderPlugIn { static boolean isMetadataFilename(String filename) { return filename.toLowerCase().endsWith("_mtl.txt"); } }
LandsatGeotiffReaderPlugin implements ProductReaderPlugIn { static boolean isMetadataFilename(String filename) { return filename.toLowerCase().endsWith("_mtl.txt"); }  }
LandsatGeotiffReaderPlugin implements ProductReaderPlugIn { static boolean isMetadataFilename(String filename) { return filename.toLowerCase().endsWith("_mtl.txt"); }  @Override DecodeQualification getDecodeQualification(Object input); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override SnapFileFilter getProductFileFilter(); }
LandsatGeotiffReaderPlugin implements ProductReaderPlugIn { static boolean isMetadataFilename(String filename) { return filename.toLowerCase().endsWith("_mtl.txt"); }  @Override DecodeQualification getDecodeQualification(Object input); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override SnapFileFilter getProductFileFilter();  }