@Test public void testIsLandsatCollectionFilename() throws Exception { assertTrue(LandsatTypeInfo.isLandsatCollection("LE07_L1TP_016039_20040918_20160211_01_T1_MTL.txt")); assertTrue(LandsatTypeInfo.isLandsatCollection("LT04_L1GS_017036_19821115_20160315_01_T2_MTL.txt")); assertTrue(LandsatTypeInfo.isLandsatCollection("LE07_L1GT_037035_20160314_20160314_01_RT_MTL.txt")); assertTrue(LandsatTypeInfo.isLandsatCollection("LT05_L1TP_202026_20031017_20161203_01_T1_MTL.txt")); assertTrue(LandsatTypeInfo.isLandsatCollection("LC08_L1TP_194028_20160622_20170323_01_T1_MTL.txt")); assertFalse(LandsatTypeInfo.isLandsatCollection("LT82270322013068LGN01_MTL.txt")); }
static boolean isLandsatCollection(String fileName) { return LandsatType.LANDSAT_COLLECTION.matchesFileNamepattern(fileName); }
LandsatTypeInfo { static boolean isLandsatCollection(String fileName) { return LandsatType.LANDSAT_COLLECTION.matchesFileNamepattern(fileName); } }
LandsatTypeInfo { static boolean isLandsatCollection(String fileName) { return LandsatType.LANDSAT_COLLECTION.matchesFileNamepattern(fileName); } private  LandsatTypeInfo(); }
LandsatTypeInfo { static boolean isLandsatCollection(String fileName) { return LandsatType.LANDSAT_COLLECTION.matchesFileNamepattern(fileName); } private  LandsatTypeInfo(); static boolean isLandsat(String fileName); static boolean isLandsatL2(String fileName); static boolean isLandsatLevel2(String fileName); }
LandsatTypeInfo { static boolean isLandsatCollection(String fileName) { return LandsatType.LANDSAT_COLLECTION.matchesFileNamepattern(fileName); } private  LandsatTypeInfo(); static boolean isLandsat(String fileName); static boolean isLandsatL2(String fileName); static boolean isLandsatLevel2(String fileName);  }