public interface PDBInstallation
Modifier and Type | Method and Description |
---|---|
void |
addPDBFilter(PDBFilter filter)
add a filter for PDB files.
|
void |
clearFilters()
remove all filters, next time getAll is called, it will return all available PDBs
|
java.util.List<PDBHeader> |
getAll()
get all PDBHeaders that pass the added Filters, if no filters have been added returns all available PDBs
|
PDBHeader |
getPDBHeader(java.lang.String pdbId)
get the PDB header for a single protein structure
|
Structure |
getStructure(java.lang.String pdbId)
request a structure by its PDB identifier
|
boolean |
hasNext()
return if the iteration over all structures will return another structure
|
Structure |
next()
iterate over all structures in this Installation that pass the provided filters and
return the next one in the list.
|
java.util.List<PDBHeader> getAll()
PDBHeader getPDBHeader(java.lang.String pdbId)
pdbId
- void addPDBFilter(PDBFilter filter)
filter
- the filter to apply when getAll is being called.getAll()
void clearFilters()
Structure getStructure(java.lang.String pdbId)
pdbId
- Structure next()
boolean hasNext()