Tabnine Logo
FilterGraph_GAF2.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
slib.graph.io.loader.utils.filter.graph.gaf2.FilterGraph_GAF2
constructor

Best Java code snippets using slib.graph.io.loader.utils.filter.graph.gaf2.FilterGraph_GAF2.<init> (Showing top 2 results out of 315)

origin: com.github.sharispe/slib-tools-module

/**
 *
 * @param gconf
 * @return a filter
 * @throws SLIB_Ex_Critic
 */
public static Filter buildFilter(Conf gconf) throws SLIB_Ex_Critic {
  Filter f = null;
  String id = (String) gconf.getParam(XmlTags.ID_ATTR);
  String type = (String) gconf.getParam(XmlTags.TYPE_ATTR);
  if (id == null) {
    Util.error("Missing " + XmlTags.ID_ATTR + " in a filter specification");
  }
  if (type == null) {
    Util.error("Missing " + XmlTags.TYPE_ATTR + " in a filter specification");
  }
  if (!supportType(type)) {
    Util.error("Unsupported Filter type " + type + " found in filter '" + id + "' specification");
  }
  if (type.equals(FilterGraph_GAF2_cst.TYPE)) {
    f = new FilterGraph_GAF2(gconf);
  } else if (type.equals(FilterGraph_Metrics_cst.TYPE)) {
    f = new FilterGraph_Metrics(gconf);
  } else // do not pass 
  {
    throw new UnsupportedOperationException("Sorry, filter is not taking into account, please repor the issue");
  }
  return f;
}
origin: sharispe/slib

/**
 *
 * @param gconf
 * @return a filter
 * @throws SLIB_Ex_Critic
 */
public static Filter buildFilter(Conf gconf) throws SLIB_Ex_Critic {
  Filter f = null;
  String id = (String) gconf.getParam(XmlTags.ID_ATTR);
  String type = (String) gconf.getParam(XmlTags.TYPE_ATTR);
  if (id == null) {
    Util.error("Missing " + XmlTags.ID_ATTR + " in a filter specification");
  }
  if (type == null) {
    Util.error("Missing " + XmlTags.TYPE_ATTR + " in a filter specification");
  }
  if (!supportType(type)) {
    Util.error("Unsupported Filter type " + type + " found in filter '" + id + "' specification");
  }
  if (type.equals(FilterGraph_GAF2_cst.TYPE)) {
    f = new FilterGraph_GAF2(gconf);
  } else if (type.equals(FilterGraph_Metrics_cst.TYPE)) {
    f = new FilterGraph_Metrics(gconf);
  } else // do not pass 
  {
    throw new UnsupportedOperationException("Sorry, filter is not taking into account, please repor the issue");
  }
  return f;
}
slib.graph.io.loader.utils.filter.graph.gaf2FilterGraph_GAF2<init>

Popular methods of FilterGraph_GAF2

  • addECtoExclude
  • addTaxons
  • getExcludedEC
  • getId
  • getTaxons
  • getType

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Table (org.hibernate.mapping)
    A relational table
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now