Package org.ocpsoft.urlbuilder.util
Class ParseTools
java.lang.Object
org.ocpsoft.urlbuilder.util.ParseTools
- Author:
- Lincoln Baxter, III
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CapturingGroupbalancedCapture(CharSequence path, int startPos, int endPos, CaptureType type) Return the index of the terminating character in the group, excluding markers.static booleanisEscaped(CharSequence path, int cursor) Return true if the character at the given cursor is escaped; otherwise, return false.
-
Constructor Details
-
ParseTools
public ParseTools()
-
-
Method Details
-
balancedCapture
public static CapturingGroup balancedCapture(CharSequence path, int startPos, int endPos, CaptureType type) Return the index of the terminating character in the group, excluding markers. -
isEscaped
Return true if the character at the given cursor is escaped; otherwise, return false.
-