|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.webmacro.util.EncoderProvider
A provider which dispenses Encoders, which are used for encoding Strings and caching the results.
| Field Summary | |
static java.lang.String |
TYPE
The provider type for this provider. |
| Constructor Summary | |
EncoderProvider()
|
|
| Method Summary | |
void |
destroy()
Close down this provider, freeing any allocated resources. |
void |
flush()
Clear any cache this provider may be maintaining. |
java.lang.Object |
get(java.lang.String encoding)
Get the object associated with the specified query. |
java.lang.String |
getType()
Return an array representing the types this provider serves up |
void |
init(Broker b,
Settings config)
Initialize this provider based on the specified config. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TYPE
Broker.getProvider().
| Constructor Detail |
public EncoderProvider()
| Method Detail |
public java.lang.String getType()
getType in interface Provider
public void init(Broker b,
Settings config)
throws InitException
init in interface ProviderInitExceptionpublic void flush()
flush in interface Providerpublic void destroy()
destroy in interface Provider
public java.lang.Object get(java.lang.String encoding)
throws ResourceException
get in interface ProviderResourceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||