Class CharsetStore


  • public class CharsetStore
    extends Object
    Purpose of this class is to have it “hidden” inside existing classes that have charsets to reconcile situations when one does a setCharset (or in constructor) with a Charset and then a getCharset as a String. Or the other way around. Example:

    Foo foo = new Foo(…, "utf-8"); Charset cs = foo.getCharset(); String srtCs = foo.CharsetAsString(); And that would open the door to adding more public APIs taking / returning Charset