Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for JarFile (0.05 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        File jarFile = File.createTempFile("with_circular_class_path", ".jar");
        try {
          writeSelfReferencingJarFile(jarFile, "test.txt");
          assertThat(
                  new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader())
                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        File jarFile = File.createTempFile("with_circular_class_path", ".jar");
        try {
          writeSelfReferencingJarFile(jarFile, "test.txt");
          assertThat(
                  new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader())
                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

        /**
         * Jarファイル形式のファイルに含まれるリソースをトラバースします。
         *
         * @param jarFile
         *            jarファイル形式のファイル。{@literal null}であってはいけません
         * @param handler
         *            リソースを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final JarFile jarFile, final ResourceHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("handler", handler);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * </p>
         *
         * @param jarFile
         *            Jarファイル。{@literal null}であってはいけません
         * @param handler
         *            クラスを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final JarFile jarFile, final ClassHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("handler", handler);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

             * @param rootDir
             *            ルートディレクトリ
             */
            public JarFileTraverser(final JarFile jarFile, final String rootPackage, final String rootDir) {
                this.jarFile = jarFile;
                this.rootPackage = rootPackage;
                this.rootDir = rootDir;
            }
    
            /**
             * インスタンスを構築します。
             *
             * @param url
             *            Jarファイルを表すURL
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    if (form.jarFile == null) {
                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

            throws IOException {
          JarFile jarFile;
          try {
            jarFile = new JarFile(file);
          } catch (IOException e) {
            // Not a jar file
            return;
          }
          try {
            for (File path : getClassPathFromManifest(file, jarFile.getManifest())) {
              // We only scan each file once independent of the classloader that file might be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top