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

How to use
ucar.nc2.util.rc.RC
constructor

Best Java code snippets using ucar.nc2.util.rc.RC.<init> (Showing top 3 results out of 315)

origin: Unidata/thredds

static void
loadDefaults() {
 RC rc0 = new RC();
 String[] locations = new String[]{
     System.getProperty("user.home"),
     System.getProperty("user.dir"),
 };
 boolean found1 = false;
 for (String loc : locations) {
  if (loc == null) continue;
  String dir = loc.replace('\\', '/');
  if (dir.endsWith("/")) dir = dir.substring(0, dir.length() - 1);
  for (String rcpath : rcfilelist) {
   String filepath = loc + "/" + rcpath;
   if (rc0.load(filepath)) found1 = true;
  }
 }
 if (!found1)
  if (showlog) log.debug("No .rc file found");
 dfaltRC = rc0;
}
origin: edu.ucar/cdm

static void
loadDefaults()
{
  RC rc0 = new RC();
  String[] locations = new String[] {
    System.getProperty("user.home"),
      System.getProperty("user.dir"),
    };

  boolean found1 = false;
  for(String loc: locations) {
  if(loc == null) continue;
  String dir = loc.replace('\\','/');
  if(dir.endsWith("/")) dir = dir.substring(0,dir.length()-1);
    for(String rcpath: rcfilelist) {
    String filepath = loc + "/" + rcpath;
    if(rc0.load(filepath)) found1 = true;
  }
  }
  if(!found1)
   if(showlog) log.debug("No .rc file found");
  dfaltRC = rc0;
}

origin: edu.ucar/netcdf

static void
loadDefaults()
{
  RC rc0 = new RC();
  String[] locations = new String[] {
    System.getProperty("user.home"),
      System.getProperty("user.dir"),
    };

  boolean found1 = false;
  for(String loc: locations) {
  if(loc == null) continue;
  String dir = loc.replace('\\','/');
  if(dir.endsWith("/")) dir = dir.substring(0,dir.length()-1);
    for(String rcpath: rcfilelist) {
    String filepath = loc + "/" + rcpath;
    if(rc0.load(filepath)) found1 = true;
  }
  }
  if(!found1)
   if(showlog) log.debug("No .rc file found");
  dfaltRC = rc0;
}

ucar.nc2.util.rcRC<init>

Popular methods of RC

  • getUseGroups
  • addtriple
  • booleanize
  • getTriples
  • initialize
  • insert
  • keySet
  • load
  • loadDefaults
  • loadFromJava
  • lookup
  • set
  • lookup,
  • set,
  • setWellKnown,
  • urlCompare,
  • urlMatch,
  • getAllowSelfSigned,
  • getVerifyServer

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • putExtra (Intent)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Top Vim plugins
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