code: public static List<MethodDefinition> getMethodDefinitions(String sDefPID)
              throws IOException {
          return MethodDefinition.parse(Administrator.DOWNLOADER
                  .getDatastreamDissemination(sDefPID, "METHODMAP", null));
      }
docs: Get the list of MethodDefinition objects defined by the indicated service
  definition.