localObject3 = this.fErrorReporter.getMessageFormatter("http://www.w3.org/TR/1998/REC-xml-19980210");
localObject4 = this.fErrorReporter.getLocale();
throw new IOException(((MessageFormatter)localObject3).formatMessage((Locale)localObject4, "EncodingDeclInvalid", new Object[] { localObject2 }));
}
if (str1.equals("ASCII"))
return new ASCIIReader((InputStream)localObject1, this.fTempString.ch.length, this.fErrorReporter.getMessageFormatter("http://www.w3.org/TR/1998/REC-xml-19980210"), this.fErrorReporter.getLocale());
if (str1.equals("ISO8859_1"))
return new Latin1Reader((InputStream)localObject1, this.fTempString.ch.length);
return (Reader)(Reader)(Reader)(Reader)(Reader)(Reader)new InputStreamReader((InputStream)localObject1, str1);
}