test_class.file: app/src/test/java/org/hwyl/sexytopo/control/io/thirdparty/therion/Th2ExporterTest.java
test_class.identifier: Th2ExporterTest
test_case.body: @Test
      public void testStripXTherion() {
  
          String testContent =
                  "encoding utf-8\n" +
                  "shouldstayhere\n" +
                  "\n" +
                  "\n" +
                  "##XTHERION## xth_me_area_adjust -175.21 -124.65 1051.26 747.91\n" +
                  "##XTHERION## zoom_to 50\n" +
                  "##XTHERION## xth_me_image_insert {169.46974581605784 1 1.0} " +
                          "{566.1369842550464 1} \"NewSurvey-4 plan.xvi\" 0 {}";
  
          String stripped = new Th2Exporter().stripXTherion(testContent);
          Assert.assertTrue(stripped.contains("shouldstayhere"));
          Assert.assertFalse(stripped.contains("XTHERION"));
      }
test_case.class_method_signature: Th2ExporterTest.testStripXTherion()
test_case.full_signature: @Test public void testStripXTherion()
test_case.identifier: testStripXTherion
test_case.invocations: stripXTherion assertTrue contains assertFalse contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStripXTherion()
focal_class.file: app/src/main/java/org/hwyl/sexytopo/control/io/thirdparty/therion/Th2Exporter.java
focal_class.identifier: Th2Exporter
focal_class.class_method_signature: Th2Exporter.getContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.full_signature: public static String getContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.identifier: getContent
focal_class.modifiers: public static
focal_class.parameters: (
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.return: String
focal_class.signature: String getContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.class_method_signature: Th2Exporter.updateOriginalContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection,
              String originalFileContent)
focal_class.full_signature: public static String updateOriginalContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection,
              String originalFileContent)
focal_class.identifier: updateOriginalContent
focal_class.modifiers: public static
focal_class.parameters: (
              Survey survey, double scale, String filename, Space<Coord2D> projection,
              String originalFileContent)
focal_class.return: String
focal_class.signature: String updateOriginalContent(
              Survey survey, double scale, String filename, Space<Coord2D> projection,
              String originalFileContent)
focal_class.class_method_signature: Th2Exporter.stripXTherion(String originalFileContent)
focal_class.full_signature: public static String stripXTherion(String originalFileContent)
focal_class.identifier: stripXTherion
focal_class.modifiers: public static
focal_class.parameters: (String originalFileContent)
focal_class.return: String
focal_class.signature: String stripXTherion(String originalFileContent)
focal_class.class_method_signature: Th2Exporter.getXviBlock(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.full_signature: public static String getXviBlock(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.identifier: getXviBlock
focal_class.modifiers: public static
focal_class.parameters: (
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.return: String
focal_class.signature: String getXviBlock(
              Survey survey, double scale, String filename, Space<Coord2D> projection)
focal_class.class_method_signature: Th2Exporter.getXviLine(String command, Object... values)
focal_class.full_signature: private static String getXviLine(String command, Object... values)
focal_class.identifier: getXviLine
focal_class.modifiers: private static
focal_class.parameters: (String command, Object... values)
focal_class.return: String
focal_class.signature: String getXviLine(String command, Object... values)
focal_method.body: public static String stripXTherion(String originalFileContent) {
          return originalFileContent.replaceAll("(\\s*##XTHERION##.*?)", "");
      }
focal_method.class_method_signature: Th2Exporter.stripXTherion(String originalFileContent)
focal_method.full_signature: public static String stripXTherion(String originalFileContent)
focal_method.identifier: stripXTherion
focal_method.invocations: replaceAll
focal_method.modifiers: public static
focal_method.parameters: (String originalFileContent)
focal_method.return: String
focal_method.signature: String stripXTherion(String originalFileContent)