Package org.biojava.utils
Class Services
java.lang.Object
org.biojava.utils.Services
Utility methods for handling META-INF/services files
- Since:
- 1.3
- Author:
- Thomas Down, Matthew Pocock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set
getImplementationNames
(Class serviceIF) Return a Set of names of implementations of the given service interface in the classloader from which BioJava was loaded.static Set
getImplementationNames
(Class serviceIF, ClassLoader loader) Return a List of names of implementations of the given service interface available in a given classloader.
-
Constructor Details
-
Services
public Services()
-
-
Method Details
-
getImplementationNames
Return a Set of names of implementations of the given service interface in the classloader from which BioJava was loaded.- Throws:
IOException
-
getImplementationNames
Return a List of names of implementations of the given service interface available in a given classloader.- Throws:
IOException
-