Revision 989 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dataTypes/DataTypesManager.java
DataTypesManager.java | ||
---|---|---|
24 | 24 |
package org.gvsig.tools.dataTypes; |
25 | 25 |
|
26 | 26 |
import java.util.Iterator; |
27 |
import java.util.Locale; |
|
27 | 28 |
|
28 | 29 |
/** |
29 | 30 |
* Manages data types. |
... | ... | |
38 | 39 |
public Object coerce(Object value) throws CoercionException; |
39 | 40 |
} |
40 | 41 |
|
42 |
public interface CoercionWithLocale extends Coercion { |
|
43 |
|
|
44 |
public Object coerce(Object value, Locale locale) throws CoercionException; |
|
45 |
} |
|
46 |
|
|
41 | 47 |
public DataType get(int type); |
42 | 48 |
|
43 | 49 |
public boolean isValidType(int type); |
Also available in: Unified diff