Class Commands


  • public final class Commands
    extends java.lang.Object
    Author:
    Alex
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Commands.Action  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Command getCommand​(java.lang.String pathInfo, java.util.Map<java.lang.String,​java.lang.String> parameters)
      return null if not a suitable command.
      • Methods inherited from class java.lang.Object

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

      • getCommand

        public static Command getCommand​(java.lang.String pathInfo,
                                         java.util.Map<java.lang.String,​java.lang.String> parameters)
        return null if not a suitable command. Interprets commands such as: /7227/features/X?start=100&end=200&type=Gene as /(domain)/(action)/(section)?start=(start)&end=(end)&type=(featureType) See: http://gmod.org/wiki/JBrowse_Configuration_Guide #Writing_JBrowse-compatible_Web_Services
        Parameters:
        pathInfo - path info
        parameters - params
        Returns:
        command