| java.lang.Object org.nemesis.forum.util.cache.CacheableString
CacheableString | public class CacheableString implements Cacheable(Code) | | Wrapper for String objects so they can be treated as Cacheable objects.
String is a final class, so it can't be extended.
|
Method Summary | |
public int | getSize() | public String | getString() Returns the String wrapped by the CacheableString object. |
CacheableString | public CacheableString(String string)(Code) | | Creates a new CacheableString.
Parameters: string - the String object to wrap. |
getSize | public int getSize()(Code) | | |
getString | public String getString()(Code) | | Returns the String wrapped by the CacheableString object.
the String object. |
|
|