org.biojava.nbio.structure.io.cif.CifFileSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biojava-structure Show documentation
Show all versions of biojava-structure Show documentation
The protein structure modules of BioJava.
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);
}