All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fge.uritemplate.expression.TemplateLiteral Maven / Gradle / Ivy

There is a newer version: 0.9
Show newest version
package com.github.fge.uritemplate.expression;

import com.github.fge.uritemplate.URITemplateException;
import com.github.fge.uritemplate.vars.values.VariableValue;

import java.util.Map;

/**
 * Literal expander
 *
 * 

This covers all strings inbetween actual URI template expressions.

*/ public final class TemplateLiteral implements URITemplateExpression { private final String literal; public TemplateLiteral(final String literal) { this.literal = literal; } @Override public String expand(final Map vars) throws URITemplateException { return literal; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy