Class JPropPathSplitter

    • Field Detail

      • _useSimpleIndex

        protected final boolean _useSimpleIndex
    • Constructor Detail

      • JPropPathSplitter

        protected JPropPathSplitter​(boolean useSimpleIndex)
    • Method Detail

      • splitAndAdd

        public abstract JPropNode splitAndAdd​(JPropNode parent,
                                              java.lang.String key,
                                              java.lang.String value)
        Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location.
        Returns:
        Newly added node
      • _addSegment

        protected JPropNode _addSegment​(JPropNode parent,
                                        java.lang.String segment)
      • _lastSegment

        protected JPropNode _lastSegment​(JPropNode parent,
                                         java.lang.String path,
                                         int start,
                                         int end)
      • _asInt

        protected int _asInt​(java.lang.String segment)