public class TrieFactory extends Object
| Constructor and Description |
|---|
TrieFactory() |
| Modifier and Type | Method and Description |
|---|---|
static TrieProvider |
create(String file)
Creates a new provider from the binary file supplied.
|
static TrieProvider |
create(String file,
boolean isTempFile) |
static TrieProvider |
create(TriePool pool)
Creates a new provider from the supplied pool of readers.
|
public static TrieProvider create(TriePool pool) throws IOException
pool - Pool of readers to use.IOException - indicates an I/O exception occurredpublic static TrieProvider create(String file) throws IOException
file - Binary file to use to create the provider.IOException - if there was a problem accessing data file.public static TrieProvider create(String file, boolean isTempFile) throws IOException
IOExceptionCopyright © 2017 51Degrees. All rights reserved.