Package org.biojava.nbio.structure.io
Interface StructureProvider
-
- All Known Subinterfaces:
StructureIOFile
- All Known Implementing Classes:
LocalPDBDirectory
,MMCIFFileReader
,MMTFFileReader
,PDBFileReader
,SandboxStyleStructureProvider
public interface StructureProvider
A class that can provide a protein structure object from somewhere.- Since:
- 3.2
- Author:
- Andreas Prlic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileParsingParameters
getFileParsingParameters()
Get the parameters that should be used for file parsingStructure
getStructureById(String pdbId)
Get the structure for a PDB IDvoid
setFileParsingParameters(FileParsingParameters params)
Set the parameters that should be used for file parsing
-
-
-
Method Detail
-
getStructureById
Structure getStructureById(String pdbId) throws StructureException, IOException
Get the structure for a PDB ID- Parameters:
pdbId
-- Returns:
- Throws:
StructureException
IOException
-
setFileParsingParameters
void setFileParsingParameters(FileParsingParameters params)
Set the parameters that should be used for file parsing- Parameters:
params
- FileParsingParameters
-
getFileParsingParameters
FileParsingParameters getFileParsingParameters()
Get the parameters that should be used for file parsing- Returns:
- the FileParsingParameters that are configuring the behavior of the parser
-
-