Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for forName (0.06 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

                            }
                        }
                        String impl = properties.getProperty(slf4jBinding);
                        if (impl != null) {
                            return (Slf4jConfiguration) Class.forName(impl).newInstance();
                        }
                    } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) {
                        // ignore and move on to the next
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        }
    
        protected void setupServletFileUpload(final JakartaServletDiskFileUpload upload, final HttpServletRequest request) {
            upload.setHeaderCharset(Charset.forName(request.getCharacterEncoding()));
            upload.setSizeMax(getSizeMax());
            upload.setFileCountMax(getFileCountMax()); // since commons-fileupload-1.5
        }
    
        protected long getSizeMax() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
           * A note on exception types:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/ChecksumHashFunction.java

            }
            return true;
          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
          try {
            Class<?> clazz = Class.forName("java.util.zip.Checksum");
            return MethodHandles.lookup()
                .findVirtual(clazz, "update", MethodType.methodType(void.class, ByteBuffer.class));
          } catch (ClassNotFoundException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          return false;
        }
        try {
          Class.forName("com.google.appengine.api.utils.SystemProperty");
        } catch (ClassNotFoundException e) {
          return false;
        }
        try {
          // If the current environment is null, we're not inside AppEngine.
          return Class.forName("com.google.apphosting.api.ApiProxy")
                  .getMethod("getCurrentEnvironment")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null);
        @SuppressWarnings("unchecked")
        Class<WillBeUnloadedException> shadowClass =
            (Class<WillBeUnloadedException>)
                Class.forName(WillBeUnloadedException.class.getName(), false, shadowLoader);
        assertNotSame(shadowClass, WillBeUnloadedException.class);
        getChecked(immediateFuture("foo"), shadowClass);
        return new WeakReference<>(shadowLoader);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                } catch (final LinkageError e) {
                    // drop through...
                }
            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
            } catch (final LinkageError e) {
                throw new TypeNotPresentException(name, e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
        }
    
        protected boolean isSupportedCharset(final String charsetName) {
            if (charsetName == null) {
                return false;
            }
            try {
                Charset.forName(charsetName);
            } catch (final Exception e) {
                return false;
            }
            return true;
        }
    
        protected String loadCharset(final InputStream inputStream) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        private static final Logger logger = LoggerFactory.getLogger(AbstractCrawlerService.class);
    
        private static final String ID_SEPARATOR = ".";
    
        private static final Charset UTF_8 = Charset.forName("UTF-8");
    
        protected static final String ID = "id";
    
        protected static final String SESSION_ID = "sessionId";
    
        protected static final String URL = "url";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

          local = Optional.absent();
          for (String currentValue : parameters.get(CHARSET_ATTRIBUTE)) {
            if (value == null) {
              value = currentValue;
              local = Optional.of(Charset.forName(value));
            } else if (!value.equals(currentValue)) {
              throw new IllegalStateException(
                  "Multiple charset values defined: " + value + ", " + currentValue);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top