Class GeometryTextCleaner

java.lang.Object
org.locationtech.jtstest.util.GeometryTextCleaner

public class GeometryTextCleaner extends Object
Cleans text strings which are supposed to contain valid text for Geometries (either WKB, WKB, or GML)
  • Field Details

  • Constructor Details

    • GeometryTextCleaner

      public GeometryTextCleaner()
  • Method Details

    • cleanWKT

      public static String cleanWKT(String input)
    • clean

      private static String clean(String input, String allowedSymbols)
    • isAllowed

      private static boolean isAllowed(char c, String allowedSymbols)