Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for forName (0.19 sec)

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

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    public class ParameterTest extends TestCase {
    
      public void testNulls() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException runningInAndroidVm) {
          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    public class ParameterTest extends TestCase {
    
      public void testNulls() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException runningInAndroidVm) {
          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/Handler.java

                        try {
                            Class handlerClass = null;
                            try {
                                handlerClass = Class.forName(className);
                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/InputStreamThread.java

        private final int bufferSize;
    
        private final Consumer<String> outputCallback;
    
        @Deprecated
        public InputStreamThread(final InputStream is, final String charset) {
            this(is, Charset.forName(charset), MAX_BUFFER_SIZE, null);
        }
    
        public InputStreamThread(final InputStream is, final Charset charset, final int bufferSize, final Consumer<String> outputCallback) {
            super("InputStreamThread");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
                case "cp850":
                    str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 240, 255);
                    break;
                case "windows-1252":
                    str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 0x81, 0x8D, 0x8F, 0x90, 0x9D);
                    break;
                default:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/Handler.java

                        try {
                            Class<?> handlerClass = null;
                            try {
                                handlerClass = Class.forName(className);
                            }
                            catch ( Exception ex ) {
                                log.debug("Failed to load handler class " + className, ex);
                            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

            shutdownCommonsHttpClient();
        }
    
        private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class)
            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        String prefix =
            (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.");
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        }.socketFactory
      }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
              // Bump this version if we ever have a binary incompatibility
              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top