Class UEncoder

java.lang.Object
org.apache.tomcat.util.buf.UEncoder

public final class UEncoder extends Object
Efficient implementation of a UTF-8 encoder. This class is not thread safe - you need one encoder per thread. The encoder will save and recycle the internal objects, avoiding garbage. You can add extra characters that you want preserved, for example while encoding a URL you can add "/".
Author:
Costin Manolache