org.mmbase.util.transformers
Interface Transformer
- All Known Subinterfaces:
- ByteToCharTransformer, ByteTransformer, CharTransformer
- All Known Implementing Classes:
- AbstractTransformer
- public interface Transformer
Interface for transformations.
- Author:
- Michiel Meeuwissen
|
Method Summary |
void |
configure(int to)
If a transformer can handle more then one destination
format, it can be configured with this. |
java.lang.String |
getEncoding()
Returns the encoding that is currently active |
java.util.Map |
transformers()
Returns which transformations can be done by an object of this class. |
configure
public void configure(int to)
- If a transformer can handle more then one destination
format, it can be configured with this.
There must be a default, since to can be null.
transformers
public java.util.Map transformers()
- Returns which transformations can be done by an object of this class.
- Returns:
- A Map with String Integer/Class pairs.
getEncoding
public java.lang.String getEncoding()
- Returns the encoding that is currently active
- Returns:
- An String representing the coding that is currently used.
MMBase build 1.6.5.20030923