Package org.biojava.bio.structure.server
Interface StructureServer
-
- All Known Implementing Classes:
SimpleStructureServer
public interface StructureServera server that pre-loads PDB files in memory, for quicker processing by StructureListeners- Author:
- Andreas Prlic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddStructureListener(StructureListener listener)voidclearStructureListeners()intgetCacheSize()PDBInstallationgetPDBInstallation()booleanhasNextStructure()voidrequestNextStructure(StructureListener listener)voidsetCacheSize(int nr)set how many structures should be kept in memory - for quicker accessvoidsetPDBInstallation(PDBInstallation installation)
-
-
-
Method Detail
-
addStructureListener
void addStructureListener(StructureListener listener)
-
clearStructureListeners
void clearStructureListeners()
-
setPDBInstallation
void setPDBInstallation(PDBInstallation installation)
-
getPDBInstallation
PDBInstallation getPDBInstallation()
-
setCacheSize
void setCacheSize(int nr)
set how many structures should be kept in memory - for quicker access- Parameters:
nr-
-
getCacheSize
int getCacheSize()
-
requestNextStructure
void requestNextStructure(StructureListener listener)
-
hasNextStructure
boolean hasNextStructure()
-
-