org.codehaus.plexus.component.configurator.converters.basic

Interface Converter

public interface Converter

Translates the String representation of a class into an instance of the class and vice versa
Method Summary
booleancanConvert(Class type)
ObjectfromString(String str)
Parses a given String and return
StringtoString(Object obj)

Method Detail

canConvert

public boolean canConvert(Class type)

fromString

public Object fromString(String str)
Parses a given String and return

Parameters: str String representation of the class

Returns: an instance of the class

toString

public String toString(Object obj)