public NodeReader(InputStream is, PreferencesFactory factory) { this(new InputStreamReader(is), factory);
public NodeReader(Reader r, PreferencesFactory factory) { if(r instanceof BufferedReader) { br = (BufferedReader) r; } else { br = new BufferedReader(r); } this.factory = factory;
    public NodeReader(InputStream is, PreferencesFactory factory) {        this(new InputStreamReader(is), factory);    }