com.lyncode.jtwig.resource
Class StringJtwigResource

java.lang.Object
  extended by com.lyncode.jtwig.resource.StringJtwigResource
All Implemented Interfaces:
JtwigResource

public class StringJtwigResource
extends Object
implements JtwigResource


Constructor Summary
StringJtwigResource(String content)
           
 
Method Summary
 JtwigResource resolve(String relativePath)
           
 InputStream retrieve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringJtwigResource

public StringJtwigResource(String content)
Method Detail

retrieve

public InputStream retrieve()
                     throws ResourceException
Specified by:
retrieve in interface JtwigResource
Throws:
ResourceException

resolve

public JtwigResource resolve(String relativePath)
                      throws ResourceException
Specified by:
resolve in interface JtwigResource
Throws:
ResourceException


Copyright © 2014. All Rights Reserved.