Package org.openscience.cdk.interfaces
Interface IChemFile
-
- All Superinterfaces:
Cloneable
,ICDKObject
,IChemObject
- All Known Implementing Classes:
ChemFile
,ChemFile
,DebugChemFile
public interface IChemFile extends IChemObject
AnIChemObject
containing a number of ChemSequences. This is supposed to be the top level container, which can contain all the concepts stored in a chemical document- Author:
- egonw
- Source code:
- main
- Belongs to CDK module:
- interfaces
-
-
Field Summary
-
Fields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChemSequence(IChemSequence chemSequence)
Adds anIChemSequence
to this container.Iterable<IChemSequence>
chemSequences()
Returns theIterable
to ChemSequences of this container.IChemSequence
getChemSequence(int number)
Returns the ChemSequence at positionnumber
in the container.int
getChemSequenceCount()
Returns the number of ChemSequences in this Container.void
removeChemSequence(int pos)
Removes the IChemSequence at the given position from this container.-
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
-
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, clone, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
-
-
-
-
Method Detail
-
addChemSequence
void addChemSequence(IChemSequence chemSequence)
Adds anIChemSequence
to this container.- Parameters:
chemSequence
- The chemSequence to be added to this container- See Also:
chemSequences()
-
removeChemSequence
void removeChemSequence(int pos)
Removes the IChemSequence at the given position from this container.- Parameters:
pos
- Position of the IChemSequence to remove- See Also:
chemSequences()
-
chemSequences
Iterable<IChemSequence> chemSequences()
Returns theIterable
to ChemSequences of this container.- Returns:
- The
Iterable
to ChemSequences of this container - See Also:
addChemSequence(org.openscience.cdk.interfaces.IChemSequence)
-
getChemSequence
IChemSequence getChemSequence(int number)
Returns the ChemSequence at positionnumber
in the container.- Parameters:
number
- The position of the ChemSequence to be returned.- Returns:
- The ChemSequence at position
number
. - See Also:
addChemSequence(org.openscience.cdk.interfaces.IChemSequence)
-
getChemSequenceCount
int getChemSequenceCount()
Returns the number of ChemSequences in this Container.- Returns:
- The number of ChemSequences in this Container
-
-