public class ChemFileManipulator extends Object
AtomContainer.removeAtomAndConnectedElectronContainers(IAtom)
Constructor and Description |
---|
ChemFileManipulator() |
Modifier and Type | Method and Description |
---|---|
static List<IAtomContainer> |
getAllAtomContainers(IChemFile file)
Returns all the AtomContainer's of a ChemFile.
|
static List<IChemModel> |
getAllChemModels(IChemFile file)
Get a list of all ChemModels inside an IChemFile.
|
static List<IChemObject> |
getAllChemObjects(IChemFile file)
Returns a List of all IChemObject inside a ChemFile.
|
static List<String> |
getAllIDs(IChemFile file) |
static List<IReaction> |
getAllReactions(IChemFile file)
Get a list of all IReaction inside an IChemFile.
|
static int |
getAtomCount(IChemFile file)
Get the total number of atoms inside an IChemFile.
|
static int |
getBondCount(IChemFile file)
Get the total number of bonds inside an IChemFile.
|
public static int getAtomCount(IChemFile file)
file
- The IChemFile object.public static int getBondCount(IChemFile file)
file
- The IChemFile object.public static List<IChemObject> getAllChemObjects(IChemFile file)
public static List<IAtomContainer> getAllAtomContainers(IChemFile file)
public static List<IChemModel> getAllChemModels(IChemFile file)
file
- The IChemFile object.Copyright © 2018. All Rights Reserved.