Microsoft SDK for Java

setEncoding

This method of the XMLStreamReader interface defines the character encoding of the input stream.

Syntax

public void setEncoding(int encoding, int offset);

Parameters

encoding The type of encoding.
offset The starting offset in the input stream.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.