|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.io.WriterFactory
public class WriterFactory
Helper tool to create IChemObjectWriters.
| Constructor Summary | |
|---|---|
WriterFactory()
Constructs a ChemObjectIOInstantionTests. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriterFactory()
| Method Detail |
|---|
public void registerWriter(Class<?> writer)
public IChemFormat[] findChemFormats(int features)
features - the data features for which a IChemFormat is searched
DataFeaturespublic int formatCount()
public IChemObjectWriter createWriter(IChemFormat format)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||