Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for forName (0.08 sec)

  1. src/main/java/jcifs/smb/Kerb5Context.java

            Method inquireSecContextPrep = null;
            Object inquireTypeSessionKeyPrep = null;
    
            try {
                extendedGSSContextClassPrep = Class.forName(OPENJDK_JGSS_EXT_GSSCTX_CLASS);
                Class<?> inquireTypeClass = Class.forName(OPENJDK_JGSS_INQUIRE_TYPE_CLASS);
                inquireTypeSessionKeyPrep = getSessionKeyInquireType(inquireTypeClass);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/TempFileCreator.java

        try {
          Class.forName("java.nio.file.Path");
          return new JavaNioCreator();
        } catch (ClassNotFoundException runningUnderAndroid) {
          // Try another way.
        }
    
        try {
          int version = (int) Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @throws ClassNotFoundRuntimeException
         *             クラスが見つからなかった場合
         * @see Class#forName(String, boolean, ClassLoader)
         */
        public static <T> Class<T> forName(final String className) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
    
            return forName(className, Thread.currentThread().getContextClassLoader());
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            try {
              Class.forName("org.eclipse.jetty.alpn.ALPN", true, null)
              true
            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
              // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
              Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            final HttpPost httpPost = new HttpPost(url);
            final HttpEntity postEntity = MultipartEntityBuilder.create().setMode(HttpMultipartMode.BROWSER_COMPATIBLE)
                    .setCharset(Charset.forName("UTF-8")).addBinaryBody("filedata", in).build();
            httpPost.setEntity(postEntity);
    
            try (CloseableHttpResponse response = httpClient.execute(httpPost)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          // platforms in order to support Robolectric, which mixes classes from both Android and the
          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
          val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
          val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null
          readFieldOrNull(context, X509TrustManager::class.java, "trustManager")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

         * unable to do so.
         */
        static GetCheckedTypeValidator getBestValidator() {
          try {
            @SuppressWarnings("rawtypes") // class literals
            Class<? extends Enum> theClass =
                Class.forName(CLASS_VALUE_VALIDATOR_NAME).asSubclass(Enum.class);
            return (GetCheckedTypeValidator) theClass.getEnumConstants()[0];
          } catch (ClassNotFoundException
              | RuntimeException
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top