Пример #1
0
  /**
   * Creates the simple loader with the specified path and prefix.
   *
   * @param path specifying the root of the resources
   * @param prefix the prefix that the resources must match
   */
  public SimpleLoader(DynamicClassLoader loader, Path path, String prefix) {
    this(loader);

    setPath(path);
    setPrefix(prefix);
  }
Пример #2
0
  /**
   * Creates the simple loader with the specified path.
   *
   * @param path specifying the root of the resources
   */
  public SimpleLoader(DynamicClassLoader loader, Path path) {
    this(loader);

    setPath(path);
  }