it.geosolutions.unredd.stats.model.config.util
Class TokenResolver<O,T extends Enum<T>>
java.lang.Object
it.geosolutions.unredd.stats.model.config.util.TokenResolver<O,T>
- Type Parameters:
O - The class to be un/marshalledT - The token type
public class TokenResolver<O,T extends Enum<T>>
- extends Object
- Author:
- etj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenResolver
public TokenResolver(O instance,
Class<O> type)
put
public void put(T token,
String value)
putAll
public void putAll(Map<T,? extends String> m)
setTokens
public void setTokens(Map<T,String> tokens)
resolve
public O resolve()
Copyright © 2012. All Rights Reserved.