class MDLV3000Writer extends DefaultChemObjectWriter {

    @Override
    public void write(IChemObject object) throws CDKException {
        try {
            if (IAtomContainer.class.isInstance(object))
                writeMol((IAtomContainer) object);
            else
                throw new CDKException("Unsupported ChemObject " + object.getClass());
        } catch (IOException ex) {
            throw new CDKException("Could not write V3000 format", ex);
        }
    }

    public  MDLV3000Writer(Writer writer);
    public  MDLV3000Writer(OutputStream out);
    public  MDLV3000Writer();

}