org.xerial.util.template
Class Template

java.lang.Object
  extended by org.xerial.util.template.Template

public class Template
extends Object

Searches a

$propertyKey$
in a template, replaces it with the corresponding property value.

Author:
leo

Constructor Summary
Template(InputStream templateStream)
           
Template(String templateString)
           
 
Method Summary
 String apply(Properties property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template(String templateString)

Template

public Template(InputStream templateStream)
         throws IOException
Throws:
IOException
Method Detail

apply

public String apply(Properties property)


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.