commons-file/src/main/java/info/monitorenter/cpdetector/io/AbstractCodepageDetector.java
public final Reader open(final URL url) throws IOException {
        Reader ret = null;
        Charset cs = this.detectCodepage(url);
        if (cs != null) {
            ret = new InputStreamReader(new BufferedInputStream(url.openStream()), cs);
        }
        return ret;
    }
public final Reader open(final URL url) throws IOException {
        Reader ret = null;
        Charset cs = this.detectCodepage(url);
        if (cs != null) {
            ret = new InputStreamReader(new BufferedInputStream(url.openStream()), cs);
        }
        return ret;
    }
public final Reader open ( final URL url ) throws IOException { Reader ret = null ; Charset cs = this . detectCodepage ( url ) ; if ( cs != null ) { ret = new InputStreamReader ( new BufferedInputStream ( url . openStream ( ) ) , cs ) ; } return ret ; }
A default delegation to {@link #detectCodepage(java.net.URL)}that opens the document specified by the given URL with the
detected codepage.
<p>

@see ICodepageDetector#open(java.net.URL)
A default delegation to { @link #detectCodepage ( java . net . URL ) } that opens the document specified by the given URL with the detected codepage . <p >