public class NameProviderFactory
extends java.lang.Object
createNameProvider
. For example, if it is given an xml file
(based on a ".xml" extension) it guesses that you want a reader that can handle the xml diction file developed for
GEMC.Constructor and Description |
---|
NameProviderFactory() |
Modifier and Type | Method and Description |
---|---|
static INameProvider |
createNameProvider(java.io.File file)
Creates a NameProvider based on the file name.
|
static INameProvider |
createNameProvider(java.lang.String xmlString)
Creates a NameProvider based on the file name.
|
public static INameProvider createNameProvider(java.io.File file)
file
- dictionary file.public static INameProvider createNameProvider(java.lang.String xmlString)
xmlString
- xml dictionary string.