Codota Logo
AbstractFileClassLoader.contains
Code IndexAdd Codota to your IDE (free)

How to use
contains
method
in
com.mucommander.commons.file.AbstractFileClassLoader

Best Java code snippets using com.mucommander.commons.file.AbstractFileClassLoader.contains (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: mucommander/mucommander

/**
 * Returns <code>true</code> if the specified file is in the extension's classloader path.
 * @param  file file whose presence in the extensions path will be checked.
 * @return      <code>true</code> if the specified file is in the extension's classloader path, <code>false</code> otherwise.
 */
public static boolean isInExtensionsPath(AbstractFile file) {return loader.contains(file);}
origin: mucommander/mucommander

/**
 * Adds the specified <code>file</code> to the class loader's classpath.
 * <p>
 * Note that the file will <b>not</b> be added if it's already in the classpath.
 * </p>
 * @param  file                     file to add the class loader's classpath.
 * @throws IllegalArgumentException if <code>file</code> is not browsable.
 */
public void addFile(AbstractFile file) {
  // Makes sure the specified file is browsable.
  if(!file.isBrowsable())
    throw new IllegalArgumentException();
  // Only adds the file if it's not already there.
  if(!contains(file))
    files.add(file);
}
com.mucommander.commons.fileAbstractFileClassLoadercontains

Javadoc

Returns true if this loader's classpath already contains the specified file.

Popular methods of AbstractFileClassLoader

  • <init>
    Creates a new AbstractFileClassLoader.
  • addFile
    Adds the specified file to the class loader's classpath. Note that the file will not be added if it'
  • defineClass
  • findResourceAsFile
    Tries to locate the specified resource and returns an AbstractFile instance on it.
  • getParent
  • loadClass
    Loads and returns the class defined by the specified name and path.

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • ImageIO (javax.imageio)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now