Package org.biojava.bio.structure.io
Class DASStructureClient
- java.lang.Object
-
- org.biojava.bio.structure.io.DASStructureClient
-
- All Implemented Interfaces:
StructureIO
public class DASStructureClient extends java.lang.Object implements StructureIO
A DAS client that connects to a DAS structure service and returns a Biojava structure class.- Since:
- 1.4
- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description DASStructureClient(java.lang.String url)
Constructs a DASStructureClient object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Structure
getStructureById(java.lang.String pdb_code)
if pdb code is set (setId): connect to a DAS-structure service and retreive data.
-
-
-
Method Detail
-
getStructureById
public Structure getStructureById(java.lang.String pdb_code) throws java.io.IOException
if pdb code is set (setId): connect to a DAS-structure service and retreive data.- Specified by:
getStructureById
in interfaceStructureIO
- Parameters:
pdb_code
- a String, representing a PDB code e.g. 5pti- Returns:
- the Structure object
- Throws:
java.io.IOException
- ...
-
-