org.objectweb.jac.ide
Class MethodItemConverter

java.lang.Object
  |
  +--org.objectweb.jac.ide.MethodItemConverter
All Implemented Interfaces:
StringConverter

public class MethodItemConverter
extends Object
implements StringConverter

Persistance for a MethodItem Class


Constructor Summary
MethodItemConverter()
           
 
Method Summary
 String objectToString(Object obj)
          Persistance storage : translate the object into String
 Object stringToObject(String str)
          Trying to convert a String into a MethodItem: the string must be like ClassItem:MethodItem (fully qualified)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodItemConverter

public MethodItemConverter()
Method Detail

objectToString

public String objectToString(Object obj)
Persistance storage : translate the object into String

Specified by:
objectToString in interface StringConverter
Parameters:
obj - the object to translate
Returns:
a string representing the object ClassItem:MethodItem

stringToObject

public Object stringToObject(String str)
Trying to convert a String into a MethodItem: the string must be like ClassItem:MethodItem (fully qualified)

Specified by:
stringToObject in interface StringConverter
Parameters:
str - the input string ClassItem:MethodItem
Returns:
a MethodItem