Package org.biojava.nbio.structure.io
Interface StructureProvider
- All Known Subinterfaces:
StructureIOFile
- All Known Implementing Classes:
BcifFileReader,CifFileReader,LocalPDBDirectory,MMTFFileReader,PDBFileReader
public interface StructureProvider
A class that can provide a protein structure object from somewhere.
- Since:
- 3.2
- Author:
- Andreas Prlic
-
Method Summary
Modifier and TypeMethodDescriptionGet the parameters that should be used for file parsinggetStructureById(String pdbId) Get the structure for a PDB IDgetStructureById(PdbId pdbId) Get the structure for a PDB IDvoidSet the parameters that should be used for file parsing
-
Method Details
-
getStructureById
Get the structure for a PDB ID- Parameters:
pdbId-- Returns:
- Throws:
StructureExceptionIOException
-
getStructureById
Get the structure for a PDB ID- Parameters:
pdbId-- Returns:
- Throws:
StructureExceptionIOException
-
setFileParsingParameters
Set the parameters that should be used for file parsing- Parameters:
params- FileParsingParameters
-
getFileParsingParameters
Get the parameters that should be used for file parsing- Returns:
- the FileParsingParameters that are configuring the behavior of the parser
-