Class ClockParser

  • All Implemented Interfaces:
    Localizable, Parser

    public class ClockParser
    extends TimingParser
    A parser for clock values.
    Version:
    $Id: ClockParser.java 1802297 2017-07-18 13:58:12Z ssteiner $
    • Field Detail

      • clockHandler

        protected ClockHandler clockHandler
        The handler used to report parse events.
      • parseOffset

        protected boolean parseOffset
        Whether this parser should parse offsets rather than clock values.
    • Constructor Detail

      • ClockParser

        public ClockParser​(boolean parseOffset)
        Creates a new ClockParser.
    • Method Detail

      • setClockHandler

        public void setClockHandler​(ClockHandler handler)
        Registers a parse event handler.
      • getClockHandler

        public ClockHandler getClockHandler()
        Returns the parse event handler in use.