Package com.damnhandy.uri.template.impl
Class UriTemplateParser
- java.lang.Object
-
- com.damnhandy.uri.template.impl.UriTemplateParser
-
public final class UriTemplateParser extends Object
Utility class used to parse the URI template string into a series of components- Since:
- 2.0
- Version:
- $Revision: 1.1 $
- Author:
- Ryan J. McDonough
-
-
Constructor Summary
Constructors Constructor Description UriTemplateParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedList<UriTemplateComponent>
scan(String templateString)
Scans the URI template looking for literal string components and expressions.
-
-
-
Method Detail
-
scan
public LinkedList<UriTemplateComponent> scan(String templateString) throws MalformedUriTemplateException
Scans the URI template looking for literal string components and expressions.- Parameters:
templateString
- the URI template string to scan- Throws:
MalformedUriTemplateException
- Since:
- 2.0
-
-