if (str.equals("UTF-16"))
return;
if (str.equals("ISO-10646-UCS-4"))
{
if (this.fCurrentEntity.encoding.equals("UTF-16BE"))
this.fCurrentEntity.reader = new UCSReader(this.fCurrentEntity.stream, 8);
else
this.fCurrentEntity.reader = new UCSReader(this.fCurrentEntity.stream, 4);
return;
}
if (str.equals("ISO-10646-UCS-2"))
{
if (this.fCurrentEntity.encoding.equals("UTF-16BE"))
this.fCurrentEntity.reader = new UCSReader(this.fCurrentEntity.stream, 2);
else
this.fCurrentEntity.reader = new UCSReader(this.fCurrentEntity.stream, 1);
return;
}
}
this.fCurrentEntity.setReader(this.fCurrentEntity.stream, paramString, null);
this.fCurrentEntity.encoding = paramString;