public class BukkitImplLoader extends Object
| Constructor and Description |
|---|
BukkitImplLoader()
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFromJar(File file)
Search the given JAR for candidate implementations.
|
void |
addFromPath(ClassLoader classLoader)
Search for classes stored as separate files available via the given
class loader.
|
BukkitImplAdapter |
loadAdapter()
Iterate through the list of candidates and load an adapter.
|
public void addFromJar(File file) throws IOException
file - the fileIOException - thrown on I/O errorpublic void addFromPath(ClassLoader classLoader) throws IOException
classLoader - the class loaderIOException - thrown on errorpublic BukkitImplAdapter loadAdapter() throws AdapterLoadException
AdapterLoadException - thrown if no adapter could be foundCopyright © 2010-2014. All Rights Reserved.