Class LatLon.Processor

  • All Implemented Interfaces:
    io.annot8.api.components.Annot8Component, io.annot8.api.components.Processor, AutoCloseable
    Enclosing class:
    LatLon

    public static class LatLon.Processor
    extends AbstractTextProcessor
    • Constructor Detail

      • Processor

        public Processor​(boolean lonLat,
                         int minDP)
    • Method Detail

      • process

        protected void process​(io.annot8.common.data.content.Text content)
        Specified by:
        process in class AbstractContentProcessor<io.annot8.common.data.content.Text>
      • normalizeQuotesAndDots

        public static String normalizeQuotesAndDots​(String s)
        Replace smart quotes, curly quotes, back ticks and mid-dots with standard quotes and dots to simplify the required regular expressions.

        Symbols are replaced with the same number of characters (one-to-one replacement) so that character offsets are not affected.