Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Traverser (0.08 sec)

  1. src/main/java/org/codelibs/core/io/Traverser.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    /**
     * クラスやリソースの集まりを表すオブジェクトです。
     *
     * @author koichik
     * @see TraversalUtil
     */
    public interface Traverser {
    
        /**
         * 指定されたクラス名に対応するクラスファイルがこのインスタンスが扱うリソースの中に存在すれば<code>true</code>を返します。
         * <p>
         * インスタンス構築時にルートパッケージが指定されている場合、 指定されたクラス名はルートパッケージからの相対名として解釈されます。
         * </p>
         *
         * @param className
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            final Traverser[] traversers = TraversalUtil.getTraversers("org.codelibs.core.io.xxx");
            assertThat(traversers, is(notNullValue()));
            assertThat(traversers.length, is(1));
    
            final Traverser traverser = traversers[0];
            assertThat(traverser instanceof FileSystemTraverser, is(true));
    
            assertThat(traverser.isExistClass("DummyTest"), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

     * implement it:
     *
     * <pre>{@code
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }</pre>
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
     * <pre>{@code
     * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes());
     * }</pre>
     *
     * @author Louis Wasserman
     * @since 15.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * @see URLUtil#toCanonicalProtocol(String)
     * @see ClassTraversalUtil
     * @see ResourceTraversalUtil
     */
    public abstract class TraversalUtil {
    
        /** 空の{@link Traverser}の配列です。 */
        protected static final Traverser[] EMPTY_ARRAY = new Traverser[0];
    
        private static final Logger logger = Logger.getLogger(TraversalUtil.class);
    
        /** URLのプロトコルをキー、{@link TraverserFactory}を値とするマッピングです。 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link File} and will return all files and directories it encounters.
       *
       * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link Path} and will return all files and directories it encounters.
       *
       * <p>The returned traverser attempts to avoid following symbolic links to directories. However,
       * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link Path} and will return all files and directories it encounters.
       *
       * <p>The returned traverser attempts to avoid following symbolic links to directories. However,
       * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link File} and will return all files and directories it encounters.
       *
       * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

    import org.eclipse.aether.collection.DependencyTraverser;
    import org.eclipse.aether.graph.Dependency;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A dependency traverser that excludes the dependencies of fat artifacts from the traversal. Fat artifacts are
     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

        return checkNotNull(iterable);
      }
    
      /**
       * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator
       * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source
       * iterators are not polled until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top