org.biojava.bio.structure.io
Class DASStructureClient

java.lang.Object
  extended byorg.biojava.bio.structure.io.DASStructureClient
All Implemented Interfaces:
StructureIO

public class DASStructureClient
extends Object
implements StructureIO

A DAS client that connects to a DAS structure service and returns a Biojava structure class.


Constructor Summary
DASStructureClient()
           
DASStructureClient(String url)
           
 
Method Summary
 String getId()
          get the PDB code of a structure
 Structure getStructure()
          if pdb code is set (@see setId) connect to a DAS-structure service and retreive data return a Structure class
 Structure getStructure(String pdb_code)
          set the pdb_code (@see setId) connect to a DAS-structure service and retreive data return a Structure class
 void setId(String id)
          set the PDB code of a structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DASStructureClient

public DASStructureClient()

DASStructureClient

public DASStructureClient(String url)
Method Detail

setId

public void setId(String id)
set the PDB code of a structure

Specified by:
setId in interface StructureIO

getId

public String getId()
get the PDB code of a structure

Specified by:
getId in interface StructureIO

getStructure

public Structure getStructure(String pdb_code)
                       throws IOException
set the pdb_code (@see setId) connect to a DAS-structure service and retreive data return a Structure class

Specified by:
getStructure in interface StructureIO
Throws:
IOException

getStructure

public Structure getStructure()
                       throws IOException
if pdb code is set (@see setId) connect to a DAS-structure service and retreive data return a Structure class

Specified by:
getStructure in interface StructureIO
Throws:
IOException