Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 311 for getProperty (0.07 seconds)

  1. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         *
         * @return the list of process types
         */
        protected List<String> getProcessTypeList() {
            final List<String> ptList = new ArrayList<>();
            final String executeType = System.getProperty("lasta.env");
            if (Constants.EXECUTE_TYPE_CRAWLER.equalsIgnoreCase(executeType)) {
                ptList.add(Constants.PROCESS_TYPE_REPLACE);
            } else {
                ptList.add(Constants.PROCESS_TYPE_DISPLAYING);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        assertThat(source.read()).isEmpty();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      /**
       * Test that verifies the resource leak fix for <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            return null
          } else {
            return method.invoke(this, *callArgs)
          }
        }
      }
    
      companion object {
        fun buildIfSupported(): Platform? {
          val jvmVersion = System.getProperty("java.specification.version", "unknown")
          try {
            // 1.8, 9, 10, 11, 12 etc
            val version = jvmVersion.toInt()
            if (version >= 9) return null
          } catch (_: NumberFormatException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        @Suppress("TrustAllX509TrustManager", "CustomX509TrustManager")
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         *
         * @param key the property key
         * @return map containing the key-value pair
         */
        protected static Map<String, String> createPropItem(final String key) {
            return createItem(key, System.getProperty(key));
        }
    
        /**
         * Creates a key-value item map for display.
         *
         * @param label the item label
         * @param value the item value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                boolean isAllowed = false;
                final List<String> allowedPaths = new ArrayList<>();
                for (final String prop : allowedPathProperties) {
                    final String basePath = System.getProperty(prop);
                    if (basePath != null) {
                        final String baseCanonicalPath = new File(basePath).getCanonicalPath();
                        allowedPaths.add(baseCanonicalPath);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         * Initializes the address and target indices from system properties.
         */
        public FesenClient() {
            address = System.getProperty(HTTP_ADDRESS, "localhost:9200").trim();
            final String targets = System.getProperty(TARGET_INDICES);
            if (StringUtil.isNotBlank(targets)) {
                targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 02:01:26 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

           *   Javadoc. (Note that we can't necessarily "just" change our call to `getProperty` to `get`
           *   because `get` does not consult the default properties.)
           */
          builder.put(key, requireNonNull(properties.getProperty(key)));
        }
    
        return builder.buildOrThrow();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/Handler.java

                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/Curl.java

     */
    public class Curl {
    
        /**
         * The temporary directory used by Curl. It is initialized to the system's temporary directory.
         */
        public static final File tmpDir = new File(System.getProperty("java.io.tmpdir"));
    
        /**
         * Protected constructor to prevent direct instantiation but allow inheritance.
         */
        protected Curl() {
            // nothing
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top