Liferay 6.1.2-ce-ga3

com.liferay.portal.velocity
Class StringResourceRepositoryImpl

java.lang.Object
  extended by com.liferay.portal.velocity.StringResourceRepositoryImpl
All Implemented Interfaces:
org.apache.velocity.runtime.resource.util.StringResourceRepository

public class StringResourceRepositoryImpl
extends Object
implements org.apache.velocity.runtime.resource.util.StringResourceRepository


Constructor Summary
StringResourceRepositoryImpl()
           
 
Method Summary
 String getEncoding()
           
 org.apache.velocity.runtime.resource.util.StringResource getStringResource(String key)
           
 void putStringResource(String key, String body)
           
 void putStringResource(String key, String body, String encoding)
           
 void removeStringResource(String key)
           
 void setEncoding(String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringResourceRepositoryImpl

public StringResourceRepositoryImpl()
Method Detail

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

getStringResource

public org.apache.velocity.runtime.resource.util.StringResource getStringResource(String key)
Specified by:
getStringResource in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

putStringResource

public void putStringResource(String key,
                              String body)
Specified by:
putStringResource in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

putStringResource

public void putStringResource(String key,
                              String body,
                              String encoding)
Specified by:
putStringResource in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

removeStringResource

public void removeStringResource(String key)
Specified by:
removeStringResource in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface org.apache.velocity.runtime.resource.util.StringResourceRepository

Liferay 6.1.2-ce-ga3