Class OpGraphSyllabifierClassLoaderProvider
java.lang.Object
ca.phon.util.resources.URLHandler<Syllabifier>
ca.phon.util.resources.ClassLoaderHandler<Syllabifier>
ca.phon.syllabifier.opgraph.OpGraphSyllabifierClassLoaderProvider
- All Implemented Interfaces:
SyllabifierProvider,ResourceHandler<Syllabifier>,Iterable<Syllabifier>
public class OpGraphSyllabifierClassLoaderProvider
extends ClassLoaderHandler<Syllabifier>
implements SyllabifierProvider
Load opgraph syllabifiers listed in the syllabifier/opgraph.list file.
-
Field Summary
Fields inherited from class ca.phon.util.resources.ClassLoaderHandler
resourcePaths -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadFromURL(URL url) Instantiate the object from the given url.Methods inherited from class ca.phon.util.resources.ClassLoaderHandler
addResource, getClassLoader, getResourcePaths, iterator, loadResourceFile, removeResource, setClassLoaderMethods inherited from class ca.phon.util.resources.URLHandler
add, getURLS, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface ca.phon.util.resources.ResourceHandler
iterator
-
Constructor Details
-
OpGraphSyllabifierClassLoaderProvider
public OpGraphSyllabifierClassLoaderProvider()Constructor
-
-
Method Details
-
loadFromURL
Description copied from class:URLHandlerInstantiate the object from the given url.- Specified by:
loadFromURLin classURLHandler<Syllabifier>- Parameters:
url-- Throws:
IOException
-