- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for JarFile (0.06 sec)
-
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) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
assertArgumentNotNull("jarFile", jarFile); try { jarFile.close(); } catch (final IOException e) { logger.log(format("ECL0017", e.getMessage()), e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
&& artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION); if (pluginDescriptorEntry != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
createJar(classGraph, classesDir, manifestFile, jarFile) return jarFile } private fun createJar(classGraph: ClassGraph, classesDir: File, manifestFile: File, jarFile: File) { try { JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream -> if (manifestFile.exists()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.4K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java
for (final WebResource possibleJar : possibleJars) { if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) { try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) { final Manifest manifest = jarFile.getManifest(); if (manifest != null && manifest.getEntries() != null) { final Attributes attributes = manifest.getMainAttributes();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
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) -
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) -
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)