util
Interface Patterned


public interface Patterned

Objects implementing this interface know how to convert themselves into fully qualifying string. This means that this holds o.equals(new o1();o1.applyPattern(o.toPattern())) == true A few classes in that extend the standard java.text.Format class have equally named methods, but do not implemnt this interface, but are similar to it.


Method Summary
 void applyPattern(String pattern)
          Reads the configuration from a string.
 String toPattern()
          Converts this object to a fully qualifying string.
 

Method Detail

toPattern

String toPattern()
Converts this object to a fully qualifying string.


applyPattern

void applyPattern(String pattern)
Reads the configuration from a string. This method should throw an illegal argument exception if the pattern is invalid