Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ClassLoader (0.62 sec)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

            assertArgumentNotNull("classLoader", classLoader);
            this.classLoader = classLoader;
        }
    
        @Override
        public boolean hasNext() {
            return classLoader != null;
        }
    
        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @param locale
         *            ロケール
         * @param classLoader
         *            クラスローダ。{@literal null}や空文字列であってはいけません
         * @return {@link ResourceBundle}
         * @see ResourceBundle#getBundle(String, Locale, ClassLoader)
         */
        public static final ResourceBundle getBundle(final String name, final Locale locale, final ClassLoader classLoader) {
            assertArgumentNotNull("name", name);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorContext.java

     */
    public class ReactorContext {
        private final MavenExecutionResult result;
    
        private final ClassLoader originalContextClassLoader;
    
        private final ReactorBuildStatus reactorBuildStatus;
    
        public ReactorContext(
                MavenExecutionResult result,
                ClassLoader originalContextClassLoader,
                ReactorBuildStatus reactorBuildStatus) {
            this.result = result;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         */
        public static ClassLoader getClassLoader(final Class<?> targetClass) {
            assertArgumentNotNull("targetClass", targetClass);
    
            final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
            if (contextClassLoader != null) {
                return contextClassLoader;
            }
    
            final ClassLoader targetClassLoader = targetClass.getClassLoader();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            HtmlTagBasedGenerator generator = new HtmlTagBasedGenerator();
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            File outputFile = File.createTempFile("generator_", ".png");
    
            String imagePath = "thumbnail/600x400.png";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            bind(Injector.class).toInstance(injector);
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            if (classLoader == null) {
                classLoader = getClass().getClassLoader();
            }
            try {
                for (Iterator<URL> it = classLoader
                                .getResources("META-INF/maven/org.apache.maven.api.di.Inject")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsAncestor() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
            } finally {
                ClassRealmConverter.popContextRealm();
            }
        }
    
        public void configureComponent(
                Object component,
                PlexusConfiguration configuration,
                ExpressionEvaluator evaluator,
                ClassLoader loader,
                ConfigurationListener listener)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

     */
    class OkHttpFeature : Feature {
      @IgnoreJRERequirement
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) {
        RuntimeResourceAccess.addResource(
          ClassLoader.getSystemClassLoader().getUnnamedModule(),
          "okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz",
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top