Example usage for org.apache.commons.lang CharSetUtils subclass-usage

List of usage examples for org.apache.commons.lang CharSetUtils subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.lang CharSetUtils subclass-usage.

Usage

From source file org.mule.util.CharSetUtils.java

public class CharSetUtils extends org.apache.commons.lang.CharSetUtils {
    public static String defaultCharsetName() {
        try {
            if (SystemUtils.IS_JAVA_1_4) {
                return new OutputStreamWriter(new ByteArrayOutputStream()).getEncoding();
            } else {