fr.paris.lutece.plugins.comarquage.util.cache
Interface IObjectTransform

All Known Implementing Classes:
DirectStringObjectTransform

public interface IObjectTransform

Transform a binary


Method Summary
 void init(java.lang.String strBase)
          Init the instance with params based on prefix strBase
 byte[] transformToBinary(java.lang.Object o)
          Transform the object into bytes array
 java.lang.Object transformToObject(byte[] b)
          Transform the bytes array into object
 

Method Detail

init

void init(java.lang.String strBase)
Init the instance with params based on prefix strBase

Parameters:
strBase - The prefix of params to search

transformToBinary

byte[] transformToBinary(java.lang.Object o)
Transform the object into bytes array

Parameters:
o - the object to transform
Returns:
the object into bytes array encoded

transformToObject

java.lang.Object transformToObject(byte[] b)
Transform the bytes array into object

Parameters:
b - the bytes array to transform into object
Returns:
the object coded


Copyright © 2008 Mairie de Paris. All Rights Reserved.