chemaxon.marvin.io.formats.mdl
Class MolfileUtil

java.lang.Object
  extended by chemaxon.marvin.io.formats.mdl.MolfileUtil

public class MolfileUtil
extends java.lang.Object

MDL molfile related utility methods.

Since:
Marvin 5.1.6, 03/10/2009
Version:
5.2, 03/10/2009
Author:
Peter Csizmadia

Field Summary
static java.lang.String[] SGROUP_TYPENAMES
          Array of S-group type names.
 
Constructor Summary
MolfileUtil()
           
 
Method Summary
static java.lang.Integer getSgroupType(java.lang.String name)
          Gets the S-group type.
static boolean isSpecBeilsteinGeneric(java.lang.String s)
          Tests whether the specified symbol is a Beilstein Generic except A, Q and X.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SGROUP_TYPENAMES

public static final java.lang.String[] SGROUP_TYPENAMES
Array of S-group type names.

Constructor Detail

MolfileUtil

public MolfileUtil()
Method Detail

getSgroupType

public static java.lang.Integer getSgroupType(java.lang.String name)
Gets the S-group type.

Parameters:
name - the S-group type name
Returns:
the type or null for invalid type name

isSpecBeilsteinGeneric

public static boolean isSpecBeilsteinGeneric(java.lang.String s)
Tests whether the specified symbol is a Beilstein Generic except A, Q and X.

Parameters:
s - the S-group type name
Returns:
the type or null for invalid type name