|
||||||||||
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 java.util.logging.Logger |
logger
|
Constructor Summary | |
---|---|
MMCIFFileInstallation(java.io.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 |
java.io.File |
downloadCIF(java.lang.String pdbId)
|
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 |
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 java.util.logging.Logger logger
Constructor Detail |
---|
public MMCIFFileInstallation(java.io.File filePath)
Method Detail |
---|
public boolean isAutoFetch()
public void setAutoFetch(boolean autoFetch)
autoFetch
- public java.io.File downloadCIF(java.lang.String pdbId)
public void addPDBFilter(PDBFilter filter)
PDBInstallation
addPDBFilter
in interface PDBInstallation
filter
- the filter to apply when getAll is being called.PDBInstallation.getAll()
public void clearFilters()
PDBInstallation
clearFilters
in interface PDBInstallation
public java.util.List<PDBHeader> getAll()
PDBInstallation
getAll
in interface PDBInstallation
public PDBHeader getPDBHeader(java.lang.String pdbId)
PDBInstallation
getPDBHeader
in interface PDBInstallation
public Structure getStructure(java.lang.String pdbId)
PDBInstallation
getStructure
in interface PDBInstallation
public boolean hasNext()
PDBInstallation
hasNext
in interface PDBInstallation
public Structure next()
PDBInstallation
next
in interface PDBInstallation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |