org.objectweb.dsrg.sofa.deployment.zeroconf
Interface ValueParser<T>

All Known Implementing Classes:
ListParser

public interface ValueParser<T>

Interface for parsing a value (arbitrary object) from String. Implementations are to be provided by the user and used with Configuration.


Method Summary
 T parse(java.lang.String s)
           
 

Method Detail

parse

T parse(java.lang.String s)
        throws ParseException
Parameters:
s - String to be parsed.
Returns:
parsed object.
Throws:
ParseException - if s is malformed.