com.liferay.portal.velocity
Class StringResourceRepositoryImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringResourceRepositoryImpl
public StringResourceRepositoryImpl()
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