Class DASStructureCall


  • public class DASStructureCall
    extends java.lang.Object
    Calls a DAS - Structure server.
    Since:
    1.4
    Version:
    %I% %G%
    Author:
    Andreas Prlic
    • Constructor Summary

      Constructors 
      Constructor Description
      DASStructureCall()
      Constructs a DASStructureCall object.
      DASStructureCall​(java.lang.String url)
      Constructs a DASStructureCall object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getServerurl()
      get url of structure service.
      Structure getStructure​(java.lang.String pdb_code)
      connect to a DAS structure service and retreive 3D data.
      protected java.lang.String getTimeStamp()
      Returns a time stamp .
      void setServerurl​(java.lang.String s)
      set url of structure service.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DASStructureCall

        public DASStructureCall()
        Constructs a DASStructureCall object.
      • DASStructureCall

        public DASStructureCall​(java.lang.String url)
        Constructs a DASStructureCall object.
        Parameters:
        url - a String ...
    • Method Detail

      • getTimeStamp

        protected java.lang.String getTimeStamp()
        Returns a time stamp .
        Returns:
        a String representing the current system time
      • setServerurl

        public void setServerurl​(java.lang.String s)
        set url of structure service.
        Parameters:
        s - a String specifying the serverurl value
        See Also:
        getServerurl()
      • getServerurl

        public java.lang.String getServerurl()
        get url of structure service.
        Returns:
        a Structure object
        Throws:
        java.io.IOException - ...
        See Also:
        setServerurl(java.lang.String)
      • getStructure

        public Structure getStructure​(java.lang.String pdb_code)
                               throws java.io.IOException
        connect to a DAS structure service and retreive 3D data. return a biojava Structure object
        Parameters:
        pdb_code - a String
        Returns:
        a Structure object
        Throws:
        java.io.IOException - ...