Class Timeline.BaseParser
java.lang.Object
com.inductiveautomation.ignition.common.util.Timeline.BaseParser
- All Implemented Interfaces:
Timeline.TimelineParser
- Direct Known Subclasses:
Timeline.CalandarParser,Timeline.TimeOfDayParser
- Enclosing class:
- Timeline
protected abstract static class Timeline.BaseParser
extends Object
implements Timeline.TimelineParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToTimeline(Timeline tl, long start, long end) protected abstract Timelineprotected abstract longShould parse the provided sub pattern and add it to the timeline.
-
Constructor Details
-
BaseParser
protected BaseParser()
-
-
Method Details
-
createTimeline
-
parse
- Specified by:
parsein interfaceTimeline.TimelineParser- Throws:
ParseException
-
parsePart
Should parse the provided sub pattern and add it to the timeline. Should throw an exception if the pattern cannot be parsed for some reason.- Throws:
Exception
-
addToTimeline
-