PocketTopoTxtImporter extends Importer { public static String getNamedSubSection(String text, String header, String sectionHeader) { String section = getSection(text, sectionHeader); return getNamedSubSection(section, header); }  Survey toSurvey(File file); boolean canHandleFile(File file); static String getSection(String text, String header); static Coord2D extractOffset(
            Survey survey, String text, Space<Coord2D> projection); static Coord2D getOffsetForNamedStation(String[] lines, Station station); static String getNamedSubSection(String text, String header, String sectionHeader); static String getNamedSubSection(String text, String header); static Set<PathDetail> parsePolylines(String text, Coord2D offset); static Colour interpretColour(String colourText);  }
@Test public void testGetNamedSubSection() { String section = PocketTopoTxtImporter.getSection(FAKE_TEXT, "ELEVATION"); String stationsSubSection = PocketTopoTxtImporter.getNamedSubSection(section, "STATIONS"); Assert.assertEquals("0.000\t0.000\t1.0\n10.335\t0.789\t1.1", stationsSubSection); }