public class ParserUtil
extends java.lang.Object
| Constructor and Description |
|---|
ParserUtil() |
| Modifier and Type | Method and Description |
|---|---|
private void |
fillList(java.util.List<java.util.List<java.lang.Integer>> codePoints,
java.lang.String value) |
java.util.List<java.util.List<java.lang.Integer>> |
parseToListArrayInt(java.lang.String file)
Parse a file with ranges of hexadecimal to a list of list of integers.
|
java.util.List<java.util.List<java.lang.Integer>> |
parseToListArrayInt(java.lang.String file,
java.util.regex.Pattern pattern)
Parse a file with ranges of hexadecimal to a list of list of integers.
|
java.util.List<java.lang.Integer> |
parseToListInteger(java.lang.String file,
java.util.regex.Pattern pattern)
Parse a file with hexadecimal to a list of integers.
|
java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> |
parseToMapListInteger(java.lang.String file,
java.util.regex.Pattern patternLine,
java.util.regex.Pattern mapTo)
Parse a file with mappings to a map of list of integers.
|
public java.util.List<java.lang.Integer> parseToListInteger(java.lang.String file,
java.util.regex.Pattern pattern)
throws java.lang.NumberFormatException,
java.io.IOException
file - with the RFC file to parsepattern - of the linesjava.io.IOException - if a RFC file can't be readjava.lang.NumberFormatExceptionpublic java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> parseToMapListInteger(java.lang.String file,
java.util.regex.Pattern patternLine,
java.util.regex.Pattern mapTo)
throws java.io.IOException
file - with THE RFC file to parsepatternLine - pattern of the linesmapTo - pattern of the conversionjava.io.IOException - if a RFC file can't be readpublic java.util.List<java.util.List<java.lang.Integer>> parseToListArrayInt(java.lang.String file)
throws java.lang.NumberFormatException,
java.io.IOException
file - with the RFC file to parsejava.io.IOException - if a RFC file can't be readjava.lang.NumberFormatExceptionpublic java.util.List<java.util.List<java.lang.Integer>> parseToListArrayInt(java.lang.String file,
java.util.regex.Pattern pattern)
throws java.lang.NumberFormatException,
java.io.IOException
file - with the RFC file to parsepattern - of the linesjava.io.IOException - if a RFC file can't be readjava.lang.NumberFormatExceptionprivate void fillList(java.util.List<java.util.List<java.lang.Integer>> codePoints,
java.lang.String value)