Tabnine Logo
RC.lookup
Code IndexAdd Tabnine to your IDE (free)

How to use
lookup
method
in
ucar.nc2.util.rc.RC

Best Java code snippets using ucar.nc2.util.rc.RC.lookup (Showing top 12 results out of 315)

origin: Unidata/thredds

public Triple lookup(String key) {
 return lookup(key, (URL) null);
}
origin: edu.ucar/cdm

public Triple lookup(String key) {return lookup(key,(URL)null);}

origin: edu.ucar/netcdf

public Triple lookup(String key) {return lookup(key,(URL)null);}

origin: edu.ucar/cdm

public Triple lookup(String key, String url)
{
  if(url == null || url.length() == 0)
  return lookup(key);
  try {
  URL u = new URL(url);
  return lookup(key,u);
  } catch (MalformedURLException m) {}
  return null;
}

origin: edu.ucar/netcdf

public Triple lookup(String key, String url)
{
  if(url == null || url.length() == 0)
  return lookup(key);
  try {
  URL u = new URL(url);
  return lookup(key,u);
  } catch (MalformedURLException m) {}
  return null;
}

origin: Unidata/thredds

public Triple lookup(String key, String url) {
 if (url == null || url.length() == 0)
  return lookup(key);
 try {
  URL u = new URL(url);
  return lookup(key, u);
 } catch (MalformedURLException m) {
 }
 return null;
}
origin: edu.ucar/netcdf

/**
 * Allow users to search the default rc
 * @param key
 * @param url  null => not url specific
 * @return value corresponding to key+url, or null if does not exist
 */
static synchronized public String
find(String key, String url)
{
  if(key == null) return null;
  if(!initialized) RC.initialize();
  Triple t = dfaltRC.lookup(key,url);
  return (t==null?null:t.value);
}

origin: Unidata/thredds

/**
 * Allow users to search the default rc
 *
 * @param key
 * @param url null => not url specific
 * @return value corresponding to key+url, or null if does not exist
 */
static synchronized public String
find(String key, String url) {
 if (key == null) return null;
 if (!initialized) RC.initialize();
 Triple t = dfaltRC.lookup(key, url);
 return (t == null ? null : t.value);
}
origin: edu.ucar/cdm

/**
 * Allow users to search the default rc
 * @param key
 * @param url  null => not url specific
 * @return value corresponding to key+url, or null if does not exist
 */
static synchronized public String
find(String key, String url)
{
  if(key == null) return null;
  if(!initialized) RC.initialize();
  Triple t = dfaltRC.lookup(key,url);
  return (t==null?null:t.value);
}

origin: edu.ucar/netcdf

/**
 * Record some well known parameters
 */
static void
setWellKnown()
{
  if(dfaltRC.triplestore.size() == 0) return;
  // Walk the set of triples looking for those that have no url
  for(String key: dfaltRC.keySet()) {
    Triple triple = dfaltRC.lookup(key);
  if(triple.url == null) {
    RC.set(key,triple.value); // let set sort it out
  }    
  }
}

origin: Unidata/thredds

/**
 * Record some well known parameters
 */
static void
setWellKnown() {
 if (dfaltRC.triplestore.size() == 0) return;
 // Walk the set of triples looking for those that have no url
 for (String key : dfaltRC.keySet()) {
  Triple triple = dfaltRC.lookup(key);
  if (triple.url == null) {
   RC.set(key, triple.value); // let set sort it out
  }
 }
}
origin: edu.ucar/cdm

/**
 * Record some well known parameters
 */
static void
setWellKnown()
{
  if(dfaltRC.triplestore.size() == 0) return;
  // Walk the set of triples looking for those that have no url
  for(String key: dfaltRC.keySet()) {
    Triple triple = dfaltRC.lookup(key);
  if(triple.url == null) {
    RC.set(key,triple.value); // let set sort it out
  }    
  }
}

ucar.nc2.util.rcRClookup

Popular methods of RC

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

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • String (java.lang)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Notification (javax.management)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Github Copilot alternatives
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