public class AsciiService extends Object
| Constructor and Description | 
|---|
AsciiService()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static Map<Character,Character> | 
getASCII7Map()
This map is focused on correcting OCR mistakes, so the mappings are
 performed by visual similarity. 
 | 
protected static Map<Character,Character> | 
getASCII8Map()
Get the ascii 8 map. 
 | 
static String | 
toASCII7(String text)
Creates a new string, substituting ASCII-7 characters for all non-ASCII-7
 characters in the argument string. 
 | 
static String | 
toASCII8(String text)
Creates a new string, substituting ASCII-7 characters for all non-ASCII-8
 characters in the argument string. 
 | 
protected static Map<Character,Character> getASCII7Map()
protected static Map<Character,Character> getASCII8Map()
public static String toASCII7(String text)
text - The string whose non-ASCII-7 characters will be replaced.public static String toASCII8(String text)
text - The string whose non-ASCII-8 characters will be replaced.Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.