Codota Logo
org.granite.scan
Code IndexAdd Codota to your IDE (free)

How to use org.granite.scan

Best Java code snippets using org.granite.scan (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.graniteds/granite-server

  @Override
  public String toString() {
    if (marker != null)
      return getAbsolutePath() + " [marker=" + marker + "]";
    return getAbsolutePath();
  }
}
origin: org.graniteds/granite-client

public Class<?> loadAsClass() throws ClassNotFoundException, IOException, ClassFormatError {
  if (clazz == null) {
    ClassLoader loader = scanner.getLoader();
    if (loader instanceof ScannedItemClassLoader)
      clazz = ((ScannedItemClassLoader)loader).loadClass(this);
    else
      clazz = loader.loadClass(getClassName());
  }
  return clazz;
}
origin: org.graniteds/granite-client

public void handleDirectory(File root, File path) {
  FileScannedItem markerItem = null;
  if (marker != null) {
    File markerFile = new File(root, marker);
    markerItem = new FileScannedItem(this, null, root, markerFile);
    for (ScannedItemHandler handler : handlers) {
      boolean skip = handler.handleMarkerItem(markerItem);
      if (skip)
        return;
    }
  }
  handleDirectory(markerItem, root, path);
}
origin: org.graniteds/granite-client-java

  public void handleDirectory(FileScannedItem markerItem, File root, File path) {
    for (File child : path.listFiles()) {
      if (child.isDirectory())
        handleDirectory(markerItem, root, child);
      else if (markerItem == null || !markerItem.getFile().equals(child)) {
        for (ScannedItemHandler handler : handlers)
          handler.handleScannedItem(new FileScannedItem(this, markerItem, root, child));
      }
    }
  }
}
origin: org.graniteds/granite-server

private void scanConfig(String serviceConfigProperties, List<ScannedItemHandler> handlers) {
  Scanner scanner = ScannerFactory.createScanner(this, serviceConfigProperties != null ? serviceConfigProperties : SERVICES_CONFIG_PROPERTIES);
  scanner.addHandlers(handlers);
  try {
    scanner.scan();
  } catch (Exception e) {
    log.error(e, "Could not scan classpath for configuration");
  }
}
origin: org.graniteds/granite-client-javafx

private void scanConfig(String graniteConfigProperties) {
  //if config overriding exists
  Scanner scanner = ScannerFactory.createScanner(this, graniteConfigProperties != null ? graniteConfigProperties : GRANITE_CONFIG_PROPERTIES);
  try {
    scanner.scan();
  } catch (Exception e) {
    log.error(e, "Could not scan classpath for configuration");
  }
}
origin: org.graniteds/granite-server

  public void handleDirectory(FileScannedItem markerItem, File root, File path) {
    for (File child : path.listFiles()) {
      if (child.isDirectory())
        handleDirectory(markerItem, root, child);
      else if (markerItem == null || !markerItem.getFile().equals(child)) {
        for (ScannedItemHandler handler : handlers)
          handler.handleScannedItem(new FileScannedItem(this, markerItem, root, child));
      }
    }
  }
}
origin: org.graniteds/granite-client-java

public Class<?> loadAsClass() throws ClassNotFoundException, IOException, ClassFormatError {
  if (clazz == null) {
    ClassLoader loader = scanner.getLoader();
    if (loader instanceof ScannedItemClassLoader)
      clazz = ((ScannedItemClassLoader)loader).loadClass(this);
    else
      clazz = loader.loadClass(getClassName());
  }
  return clazz;
}
origin: org.graniteds/granite-server

public void handleDirectory(File root, File path) {
  FileScannedItem markerItem = null;
  if (marker != null) {
    File markerFile = new File(root, marker);
    markerItem = new FileScannedItem(this, null, root, markerFile);
    for (ScannedItemHandler handler : handlers) {
      boolean skip = handler.handleMarkerItem(markerItem);
      if (skip)
        return;
    }
  }
  handleDirectory(markerItem, root, path);
}
origin: org.graniteds/granite-client

private void scanConfig(String serviceConfigProperties, List<ScannedItemHandler> handlers) {
  Scanner scanner = ScannerFactory.createScanner(this, serviceConfigProperties != null ? serviceConfigProperties : SERVICES_CONFIG_PROPERTIES);
  scanner.addHandlers(handlers);
  try {
    scanner.scan();
  } catch (Exception e) {
    log.error(e, "Could not scan classpath for configuration");
  }
}
origin: org.graniteds/granite-client-java

private void scanConfig(String graniteConfigProperties) {
  //if config overriding exists
  Scanner scanner = ScannerFactory.createScanner(this, graniteConfigProperties != null ? graniteConfigProperties : GRANITE_CONFIG_PROPERTIES);
  try {
    scanner.scan();
  } catch (Exception e) {
    log.error(e, "Could not scan classpath for configuration");
  }
}
origin: org.graniteds/granite-client-java

  @Override
  public String toString() {
    if (marker != null)
      return getAbsolutePath() + " [marker=" + marker + "]";
    return getAbsolutePath();
  }
}
origin: org.graniteds/granite-client

  public void handleDirectory(FileScannedItem markerItem, File root, File path) {
    for (File child : path.listFiles()) {
      if (child.isDirectory())
        handleDirectory(markerItem, root, child);
      else if (markerItem == null || !markerItem.getFile().equals(child)) {
        for (ScannedItemHandler handler : handlers)
          handler.handleScannedItem(new FileScannedItem(this, markerItem, root, child));
      }
    }
  }
}
origin: org.graniteds/granite-server

public Class<?> loadAsClass() throws ClassNotFoundException, IOException, ClassFormatError {
  if (clazz == null) {
    ClassLoader loader = scanner.getLoader();
    if (loader instanceof ScannedItemClassLoader)
      clazz = ((ScannedItemClassLoader)loader).loadClass(this);
    else
      clazz = loader.loadClass(getClassName());
  }
  return clazz;
}
origin: org.graniteds/granite-client-java

public void handleDirectory(File root, File path) {
  FileScannedItem markerItem = null;
  if (marker != null) {
    File markerFile = new File(root, marker);
    markerItem = new FileScannedItem(this, null, root, markerFile);
    for (ScannedItemHandler handler : handlers) {
      boolean skip = handler.handleMarkerItem(markerItem);
      if (skip)
        return;
    }
  }
  handleDirectory(markerItem, root, path);
}
origin: org.graniteds/granite-server

private void scanConfig(String graniteConfigProperties) {
  //if config overriding exists
  Scanner scanner = ScannerFactory.createScanner(this, graniteConfigProperties != null ? graniteConfigProperties : GRANITE_CONFIG_PROPERTIES);
  try {
    scanner.scan();
  } catch (Exception e) {
    log.error(e, "Could not scan classpath for configuration");
  }
}
origin: org.graniteds/granite-client-javafx

  @Override
  public String toString() {
    if (marker != null)
      return getAbsolutePath() + " [marker=" + marker + "]";
    return getAbsolutePath();
  }
}
origin: org.graniteds/granite-client-javafx

  public void handleDirectory(FileScannedItem markerItem, File root, File path) {
    for (File child : path.listFiles()) {
      if (child.isDirectory())
        handleDirectory(markerItem, root, child);
      else if (markerItem == null || !markerItem.getFile().equals(child)) {
        for (ScannedItemHandler handler : handlers)
          handler.handleScannedItem(new FileScannedItem(this, markerItem, root, child));
      }
    }
  }
}
origin: org.graniteds/granite-client-javafx

public Class<?> loadAsClass() throws ClassNotFoundException, IOException, ClassFormatError {
  if (clazz == null) {
    ClassLoader loader = scanner.getLoader();
    if (loader instanceof ScannedItemClassLoader)
      clazz = ((ScannedItemClassLoader)loader).loadClass(this);
    else
      clazz = loader.loadClass(getClassName());
  }
  return clazz;
}
origin: org.graniteds/granite-client

  @Override
  public String toString() {
    if (marker != null)
      return getAbsolutePath() + " [marker=" + marker + "]";
    return getAbsolutePath();
  }
}
org.granite.scan

Most used classes

  • ScannedItem
  • AbstractScannedItem
  • FileScannedItem
  • ScannedItemClassLoader
  • ScannedItemHandler
  • ScannerFactory,
  • URLScanner,
  • ZipScannedItem,
  • ServiceLoader$ServicesIterator,
  • ServiceLoader,
  • VFS3FileScannedItem,
  • VFS3Scanner,
  • VFSFileScannedItem,
  • VFSScanner
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