Class TextAnalyzer

java.lang.Object
org.openstreetmap.josm.tools.TextAnalyzer

public class TextAnalyzer extends Object
A helper class that analyzes the text and attempts to parse tags from it
Since:
13544 (extracted from TextTagParser)
  • Field Details

  • Constructor Details

  • Method Details

    • getFreeParsedTags

      Read tags from "Free format"
      Returns:
      map of tags
    • parseString

      public String parseString(String stopChars)
      Parses current text to extract a key or value depending on given stop characters.
      Parameters:
      stopChars - Parsing will stop when one character of this string is found
      Returns:
      key or value extracted from current text
    • skipSign

      private void skipSign()
    • skipEmpty

      private void skipEmpty()