@Test public void testTitleExtraction() { String actual = TherionImporter.getSurveyName(new File("White Lightning")); String expected = "White Lightning"; Assert.assertEquals(expected, actual); }
public static String getSurveyName(File file) { return FilenameUtils.getBaseName(file.getName()); }
TherionImporter extends Importer { public static String getSurveyName(File file) { return FilenameUtils.getBaseName(file.getName()); } }
TherionImporter extends Importer { public static String getSurveyName(File file) { return FilenameUtils.getBaseName(file.getName()); }  }
TherionImporter extends Importer { public static String getSurveyName(File file) { return FilenameUtils.getBaseName(file.getName()); }  Survey toSurvey(File directory); static String getSurveyName(File file); boolean canHandleFile(File directory); static void updateCentreline(List<String> lines, Survey survey); static List<String> getContentsOfBeginEndBlock(List<String> lines, String tag); }
TherionImporter extends Importer { public static String getSurveyName(File file) { return FilenameUtils.getBaseName(file.getName()); }  Survey toSurvey(File directory); static String getSurveyName(File file); boolean canHandleFile(File directory); static void updateCentreline(List<String> lines, Survey survey); static List<String> getContentsOfBeginEndBlock(List<String> lines, String tag);  }