|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.server.MMCIFFileInstallation
public class MMCIFFileInstallation
| Field Summary | |
|---|---|
static Logger |
logger
|
| Constructor Summary | |
|---|---|
MMCIFFileInstallation(File filePath)
|
|
| Method Summary | |
|---|---|
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 |
File |
downloadCIF(String pdbId)
|
List<PDBHeader> |
getAll()
get all PDBHeaders that pass the added Filters, if no filters have been added returns all available PDBs |
PDBHeader |
getPDBHeader(String pdbId)
get the PDB header for a single protein structure |
Structure |
getStructure(String pdbId)
request a structure by its PDB identifier |
boolean |
hasNext()
return if the iteration over all structures will return another structure |
boolean |
isAutoFetch()
should the parser to fetch missing mmCif files from the RCSB FTP server automatically? default is false |
Structure |
next()
iterate over all structures in this Installation that pass the provided filters and return the next one in the list. |
void |
setAutoFetch(boolean autoFetch)
tell the parser to fetch missing mmCif files from the RCSB FTP server automatically. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger logger
| Constructor Detail |
|---|
public MMCIFFileInstallation(File filePath)
| Method Detail |
|---|
public boolean isAutoFetch()
public void setAutoFetch(boolean autoFetch)
autoFetch - public File downloadCIF(String pdbId)
public void addPDBFilter(PDBFilter filter)
PDBInstallation
addPDBFilter in interface PDBInstallationfilter - the filter to apply when getAll is being called.PDBInstallation.getAll()public void clearFilters()
PDBInstallation
clearFilters in interface PDBInstallationpublic List<PDBHeader> getAll()
PDBInstallation
getAll in interface PDBInstallationpublic PDBHeader getPDBHeader(String pdbId)
PDBInstallation
getPDBHeader in interface PDBInstallationpublic Structure getStructure(String pdbId)
PDBInstallation
getStructure in interface PDBInstallationpublic boolean hasNext()
PDBInstallation
hasNext in interface PDBInstallationpublic Structure next()
PDBInstallation
next in interface PDBInstallation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||