public class StructureWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeLeafSubstructureContainer(LeafSubstructureContainer leafSubstructureContainer,
Path outputPath)
Writes a given
LeafSubstructureContainer in PDB format. |
static void |
writeLeafSubstructures(List<LeafSubstructure<?>> leafSubstructures,
Path outputPath)
Writes a given list of
LeafSubstructures in PDB format. |
static void |
writeStructure(OakStructure structure,
Path outputPath)
Writes a
Structure in PDB format. |
static void |
writeToXYZ(AtomContainer atomContainer,
Path outputPath) |
static void |
writeWithConsecutiveNumbering(OakStructure structure,
Path outputPath) |
public static void writeLeafSubstructureContainer(LeafSubstructureContainer leafSubstructureContainer, Path outputPath) throws IOException
LeafSubstructureContainer in PDB format.leafSubstructureContainer - The LeafSubstructureContainer to be written.outputPath - The output Path.IOException - If the path cannot be written.public static void writeLeafSubstructures(List<LeafSubstructure<?>> leafSubstructures, Path outputPath) throws IOException
LeafSubstructures in PDB format.leafSubstructures - The list of LeafSubstructures to be written.outputPath - The output Path.IOException - If the path cannot be written.public static void writeStructure(OakStructure structure, Path outputPath) throws IOException
Structure in PDB format.structure - The structure to be written.outputPath - The output Path.IOException - If the path cannot be written.public static void writeWithConsecutiveNumbering(OakStructure structure, Path outputPath) throws IOException
IOExceptionpublic static void writeToXYZ(AtomContainer atomContainer, Path outputPath) throws IOException
IOExceptionCopyright © 2018. All rights reserved.