public static class CsvTranslators.CsvEscaper extends CharSequenceTranslator
Constructor and Description |
---|
CsvEscaper() |
Modifier and Type | Method and Description |
---|---|
int |
translate(CharSequence input,
int index,
Writer writer)
Translate a set of code points, represented by an int index into a CharSequence,
into another set of code points.
|
hex, translate, translate, with
public CsvEscaper()
public int translate(CharSequence input, int index, Writer writer) throws IOException
translate
in class CharSequenceTranslator
input
- CharSequence that is being translatedindex
- int representing the current point of translationwriter
- Writer to translate the text toIllegalArgumentException
- if index != 0
IOException
- if and only if the Writer produces an IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.