Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for forName (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

               * instead of having to catch more broadly (potentially even including, say, a
               * StackOverflowError).
               */
              Class.forName("java.lang.invoke.VarHandle");
            } catch (ClassNotFoundException beforeJava9) {
              return null;
            }
            return new VarHandleAtomicHelper();
          }
        };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  2. 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;
        }
    
        /**
         * Loads and detects the character set from the input stream.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        };
    
        abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        private static final Logger logger = LogManager.getLogger(AbstractCrawlerService.class);
    
        private static final String ID_SEPARATOR = ".";
    
        private static final Charset UTF_8 = Charset.forName("UTF-8");
    
        /**
         * Field name for ID.
         */
        protected static final String ID = "id";
    
        /**
         * Field name for session ID.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return "None";
        }
    
        String getSchedulerJobClass();
    
        default Class<? extends LaJob> getSchedulerJobClassAsClass() {
            try {
                return (Class<? extends LaJob>) Class.forName(getSchedulerJobClass());
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    
        String getSchedulerConcurrentExecMode();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  7. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private static final Logger logger = LoggerFactory.getLogger(SmbFile.class);
        static long attrExpirationPeriod;
        static boolean ignoreCopyToException;
    
        static {
    
            try {
                Class.forName("jcifs.smb1.Config");
            } catch (final ClassNotFoundException cnfe) {
                logger.error("Failed to load jcifs.smb1.Config class", cnfe);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. utils/utils.go

    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return frame
    		}
    	}
    
    	return runtime.Frame{}
    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	frame := CallerFrame()
    	if frame.PC != 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
       *    If the message spans multiple frames, each interleaved control frame will result in a
       *    corresponding call to [FrameCallback].
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top