org.mmbase.util.transformers
Class Url

java.lang.Object
  |
  +--org.mmbase.util.transformers.AbstractTransformer
        |
        +--org.mmbase.util.transformers.Url
All Implemented Interfaces:
CharTransformer, Transformer

public class Url
extends AbstractTransformer
implements CharTransformer

Encodings related to URL's. The implementation is still in ../URL*Escape. Perhaps should be migrated to here...

Author:
Michiel Meeuwissen

Fields inherited from class org.mmbase.util.transformers.AbstractTransformer
to
 
Constructor Summary
Url()
           
 
Method Summary
 java.lang.String getEncoding()
          Returns the encoding that is currently active
 java.io.Writer transform(java.io.Reader r)
           
 java.lang.String transform(java.lang.String r)
           
 java.io.Writer transformBack(java.io.Reader r)
           
 java.lang.String transformBack(java.lang.String r)
           
 java.util.Map transformers()
          Used when registering this class as a possible Transformer
 
Methods inherited from class org.mmbase.util.transformers.AbstractTransformer
configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mmbase.util.transformers.Transformer
configure
 

Constructor Detail

Url

public Url()
Method Detail

transformers

public java.util.Map transformers()
Used when registering this class as a possible Transformer
Specified by:
transformers in interface Transformer
Overrides:
transformers in class AbstractTransformer
Following copied from interface: org.mmbase.util.transformers.Transformer
Returns:
A Map with String Integer/Class pairs.

transform

public java.io.Writer transform(java.io.Reader r)
Specified by:
transform in interface CharTransformer

transformBack

public java.io.Writer transformBack(java.io.Reader r)
Specified by:
transformBack in interface CharTransformer

transform

public java.lang.String transform(java.lang.String r)
Specified by:
transform in interface CharTransformer

transformBack

public java.lang.String transformBack(java.lang.String r)
Specified by:
transformBack in interface CharTransformer

getEncoding

public java.lang.String getEncoding()
Description copied from interface: Transformer
Returns the encoding that is currently active
Specified by:
getEncoding in interface Transformer
Following copied from interface: org.mmbase.util.transformers.Transformer
Returns:
An String representing the coding that is currently used.


MMBase build 1.6.5.20030923