com.github.fge.uritemplate.expression
Interface URITemplateExpression

All Known Implementing Classes:
TemplateExpression, TemplateLiteral

public interface URITemplateExpression

Generic URI template expression

This interface covers literal expansions (ie, not expressions) and expression expansions.


Method Summary
 String expand(VariableMap vars)
          Compute an expanded string given a map of variables
 

Method Detail

expand

String expand(VariableMap vars)
              throws URITemplateException
Compute an expanded string given a map of variables

Parameters:
vars - the variables (names and values)
Returns:
the expanded string
Throws:
URITemplateException - incompatible variable/expansion pair