class MoSSOutputReader extends DefaultChemObjectReader {

    @Override
    public boolean accepts(Class<? extends IChemObject> testClass) {
        if (IAtomContainerSet.class.equals(testClass)) return true;
        if (IChemFile.class.equals(testClass)) return true;
        Class<?>[] interfaces = testClass.getInterfaces();
        for (int i = 0; i < interfaces.length; i++) {
            if (IAtomContainerSet.class.equals(interfaces[i])) return true;
            if (IChemFile.class.equals(interfaces[i])) return true;
        }
        Class superClass = testClass.getSuperclass();
        if (superClass != null) return this.accepts(superClass);
        return false;
    }

    public  MoSSOutputReader(Reader input);
    public  MoSSOutputReader(InputStream input);
    public  MoSSOutputReader();

}