public class TrieFactory extends Object
| Constructor and Description |
|---|
TrieFactory() |
| Modifier and Type | Method and Description |
|---|---|
static TrieProvider |
create(String fileName)
Creates a new provider from the binary file supplied.
|
private static byte[] |
ReadDevices(TrieReader reader) |
private static short[] |
ReadLookupList(TrieReader reader) |
private static byte[] |
ReadProperties(TrieReader reader) |
private static byte[] |
ReadStrings(TrieReader reader) |
public static TrieProvider create(String fileName) throws IOException
file - Binary file to use to create the provider.IOExceptionprivate static short[] ReadLookupList(TrieReader reader) throws IOException
IOExceptionprivate static byte[] ReadStrings(TrieReader reader) throws IOException
IOExceptionprivate static byte[] ReadProperties(TrieReader reader) throws IOException
IOExceptionprivate static byte[] ReadDevices(TrieReader reader) throws IOException
IOException