Class ParserBase

java.lang.Object
com.github.weisj.jsvg.util.ParserBase
Direct Known Subclasses:
PathParser

public class ParserBase extends Object
  • Field Details

    • input

      @NotNull protected final @NotNull String input
  • Constructor Details

    • ParserBase

      public ParserBase(@NotNull @NotNull String input, int startIndex)
  • Method Details

    • peek

      protected char peek()
    • consume

      protected void consume()
    • hasNext

      public boolean hasNext()
    • consumeWhiteSpaceOrSeparator

      public void consumeWhiteSpaceOrSeparator()
    • nextFloatOrUnspecified

      protected float nextFloatOrUnspecified()
    • nextFloat

      public float nextFloat() throws NumberFormatException
      Throws:
      NumberFormatException
    • nextDouble

      public double nextDouble() throws NumberFormatException
      Throws:
      NumberFormatException
    • currentLocation

      @NotNull protected @NotNull String currentLocation()