Package net.bioclipse.managers
Class NanoManager
java.lang.Object
net.bioclipse.managers.NanoManager
- All Implemented Interfaces:
IBactingManager,net.bioclipse.managers.business.IBioclipseManager
Bioclipse manager that wraps the CDK-based nanojava library.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoi()Lists the DOIs of the articles associated to this manager.generateInChI(IMaterial material) newMaterial(io.github.egonw.nanojava.data.Material material) newMaterial(String type) newMaterial(String type, String label)
-
Constructor Details
-
NanoManager
Creates a newNanoManager.- Parameters:
workspaceRoot- location of the workspace, e.g. "."
-
-
Method Details
-
newMaterial
- Throws:
net.bioclipse.core.business.BioclipseException
-
newMaterial
- Throws:
net.bioclipse.core.business.BioclipseException
-
newMaterial
public IMaterial newMaterial(String type, String label) throws net.bioclipse.core.business.BioclipseException - Throws:
net.bioclipse.core.business.BioclipseException
-
newMaterial
public IMaterial newMaterial(io.github.egonw.nanojava.data.Material material) throws net.bioclipse.core.business.BioclipseException - Throws:
net.bioclipse.core.business.BioclipseException
-
listMaterialTypes
public Set<String> listMaterialTypes() throws net.bioclipse.core.business.BioclipseException, UnsupportedEncodingException, org.eclipse.core.runtime.CoreException- Throws:
net.bioclipse.core.business.BioclipseExceptionUnsupportedEncodingExceptionorg.eclipse.core.runtime.CoreException
-
generateInChI
public String generateInChI(IMaterial material) throws net.bioclipse.core.business.BioclipseException - Throws:
net.bioclipse.core.business.BioclipseException
-
getManagerName
- Specified by:
getManagerNamein interfacenet.bioclipse.managers.business.IBioclipseManager
-
doi
Description copied from interface:IBactingManagerLists the DOIs of the articles associated to this manager.- Specified by:
doiin interfaceIBactingManager- Returns:
- a
Listof String with DOIs
-