|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.io.filereader.SmilesTypeHelper
final class SmilesTypeHelper
This a a little helper class that enables the FileReader to create SmilesCells if the chem-Plugin is available. Because it is not visible from the base plugin, the necessary classes and fields are loaded via reflection.
| Field Summary | |
|---|---|
static SmilesTypeHelper |
INSTANCE
The one and only instance of this class. |
| Method Summary | |
|---|---|
DataType |
getSmilesType()
Returns the Smiles type. |
boolean |
isSmilesAvailable()
Returns if SmilesCells are available. |
DataCell |
newInstance(String smiles)
Creates a new SmilesCell using the given String as Smiles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SmilesTypeHelper INSTANCE
| Method Detail |
|---|
public DataCell newInstance(String smiles)
smiles - a Smiles string
public DataType getSmilesType()
public boolean isSmilesAvailable()
true if SmilesCells are available,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||