Constructor and Description |
---|
WriterFactory()
Constructs a ChemObjectIOInstantionTests.
|
Modifier and Type | Method and Description |
---|---|
IChemObjectWriter |
createWriter(IChemFormat format)
Creates a new IChemObjectWriter based on the given IChemFormat.
|
IChemFormat[] |
findChemFormats(int features)
Finds IChemFormats that provide a container for serialization for the
given features.
|
int |
formatCount() |
void |
registerWriter(Class<?> writer) |
public void registerWriter(Class<?> writer)
public IChemFormat[] findChemFormats(int features)
features
- the data features for which a IChemFormat is searchedDataFeatures
public int formatCount()
public IChemObjectWriter createWriter(IChemFormat format)
Copyright © 2021. All rights reserved.