public class XMLEscapingReader extends Reader
It tries to preserve memory. When no escaping is needed it will not use any additional buffer. If some escaping is needed it will use Queue for overflow characters as output will have more characters than original.
Constructor and Description |
---|
XMLEscapingReader(Reader in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read(char[] cbuf,
int off,
int len) |
public XMLEscapingReader(Reader in)
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Copyright © 2002-2019 Atlassian. All Rights Reserved.