public final class SmaInterpreter extends Object
Constructor and Description |
---|
SmaInterpreter() |
Modifier and Type | Method and Description |
---|---|
static String |
getDelimited(String txt,
int st,
String begDelim,
boolean remDel)
Get the next bracketed substring which starts with begDelim bracket-like character
and ends with the corresponding terminating bracket-like character, found automatically here.
|
static String[] |
getPieces(String inp)
This method finds automatically the pieces in the recursive SMARTS string
and gives them back as an array, so they will be imported as a molecule and not
as a query string.
|
public static String[] getPieces(String inp)
inp
- recursive SMARTSpublic static String getDelimited(String txt, int st, String begDelim, boolean remDel)
txt
- The string containing the pieces, if null, given backst
- The starting position, should be the position of begDenbegDelim
- Beginning delimiterremDel
- if true remove the delimiters from te result