public interface TextFilter
| Modifier and Type | Method and Description |
|---|---|
String |
filter(InputStream inputStream)
Create a new String from the text found in the input stream replacing invalid characters
with valid characters.
|
String |
filter(InputStream inputStream,
String charsetName)
Create a new String from the text found in the input stream replacing invalid characters
with valid characters.
|
String |
filter(String text)
Creates a new String from the input String with invalid characters replaced
with valid characters.
|
String filter(String text)
text - Input text whose characters will be filteredString filter(InputStream inputStream) throws IOException
inputStream - Input Text Stream that will be filteredIOException - if there is an error reading the streamString filter(InputStream inputStream, String charsetName) throws IOException
inputStream - Input Text Stream that will be filteredcharsetName - Name of the character set to use when reading in the streamIOException - if there is an error reading the streamCopyright © 2018 Department of Veterans Affairs. All Rights Reserved.