private Reader createReader(InputStream in, String charSet) throws UnsupportedEncodingException {
        return new BufferedReader(new InputStreamReader(in, charSet));
    }
Factory method to create a Reader from the given InputStream.
@param in the input stream
@return the reader
@throws IOException never
xmppserver/src/main/java/org/dom4j/io/XMPPPacketReader.java