1 13 package com.tonbeller.wcf.format; 14 15 import java.util.List ; 16 import java.util.Locale ; 17 18 19 22 public interface FormatHandler { 23 26 public void setLocale(Locale locale); 27 28 31 public String getName(); 32 33 39 public String format(Object o, String pattern); 40 41 47 public Object parse(String s, String pattern) throws FormatException; 48 49 52 boolean canHandle(Object value); 53 54 59 Object toNativeArray(List list); 60 61 69 Object [] toObjectArray(Object value); 70 71 } | Popular Tags |