fr.paris.lutece.plugins.comarquage.util.cache.genericimpl
Class AbstractKeyAdapter

java.lang.Object
  extended by fr.paris.lutece.plugins.comarquage.util.cache.genericimpl.AbstractKeyAdapter
All Implemented Interfaces:
IKeyAdapter
Direct Known Subclasses:
DiskCardKeyAdapter, HttpCardKeyAdapter

public abstract class AbstractKeyAdapter
extends java.lang.Object
implements IKeyAdapter

Abstract Key Adapter implements description basic
Properties read here:


Constructor Summary
AbstractKeyAdapter(java.lang.String strDescription)
          Construct the instance with the description of the implementation class.
 
Method Summary
 java.lang.String getDescription()
          Return a description of the implementation adapter
 java.lang.String getPrefix()
          Return the prefix associated with this key adapter.
 java.lang.String getSuffix()
          Return the suffix associated with this key adapter.
 void init(java.lang.String strBase)
          Init the instance with params based on prefix strBase
 void setPrefix(java.lang.String prefix)
          Set the prefix associated with this key adapter.
 void setSuffix(java.lang.String suffix)
          Set the suffix associated with this key adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.comarquage.util.cache.IKeyAdapter
adaptKey
 

Constructor Detail

AbstractKeyAdapter

public AbstractKeyAdapter(java.lang.String strDescription)
Construct the instance with the description of the implementation class.

Parameters:
strDescription - The description of the implementation class
Method Detail

init

public void init(java.lang.String strBase)
Description copied from interface: IKeyAdapter
Init the instance with params based on prefix strBase

Specified by:
init in interface IKeyAdapter
Parameters:
strBase - The prefix of params to search
See Also:
IKeyAdapter.init(String)

getDescription

public final java.lang.String getDescription()
Description copied from interface: IKeyAdapter
Return a description of the implementation adapter

Specified by:
getDescription in interface IKeyAdapter
Returns:
a description of the implementation adapter
See Also:
IKeyAdapter.getDescription()

getPrefix

public java.lang.String getPrefix()
Return the prefix associated with this key adapter.

Returns:
the prefix associated with this key adapter.

getSuffix

public java.lang.String getSuffix()
Return the suffix associated with this key adapter.

Returns:
the suffix associated with this key adapter.

setPrefix

public void setPrefix(java.lang.String prefix)
Set the prefix associated with this key adapter.

Parameters:
prefix - the prefix associated with this key adapter

setSuffix

public void setSuffix(java.lang.String suffix)
Set the suffix associated with this key adapter.

Parameters:
suffix - the prefix associated with this key adapter


Copyright © 2012 Mairie de Paris. All Rights Reserved.