All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.biojava.nbio.structure.io.cif.CifFileSupplier Maven / Gradle / Ivy

There is a newer version: 7.1.3
Show newest version
package org.biojava.nbio.structure.io.cif;

import org.rcsb.cif.model.CifFile;

/**
 * Create a CifFile instance for a given container of structure data.
 * @param  the container type used as source
 * @author Sebastian Bittrich
 * @since 5.3.0
 */
public interface CifFileSupplier {
    /**
     * Convert some model instance describing structure information to a CifFile instance.
     * @param container the source of structure information
     * @return a flat CifFile instance, ready for IO operations
     */
    CifFile get(S container);
}