Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 198 for getProperty (0.19 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final String thumbnailPath = System.getProperty(Constants.FESS_THUMBNAIL_PATH);
            if (thumbnailPath != null) {
                baseDir = new File(thumbnailPath);
            } else {
                final String varPath = System.getProperty(Constants.FESS_VAR_PATH);
                if (varPath != null) {
                    baseDir = new File(varPath, THUMBNAILS_DIR_NAME);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getSystemProperty(final String key) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key));
        }
    
        default String getSystemProperty(final String key, final String defaultValue) {
            return ComponentUtil.getSystemProperties().getProperty(key, System.getProperty(Constants.SYSTEM_PROP_PREFIX + key, defaultValue));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. 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]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

        public void test_getJavaVersion() {
            System.setProperty("java.version", "1.4.2_19");
            assertEquals(4, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.5.0_15");
            assertEquals(5, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.6.0_34");
            assertEquals(6, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.7.0_25");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

                    final ScheduledJob job = (ScheduledJob) jobRuntime.getParameterMap().get(Constants.SCHEDULED_JOB);
                    if (job != null) {
                        prop.setProperty("job.runtime.id", job.getId());
                        prop.setProperty("job.runtime.name", job.getName());
                    }
                }
                prop.store(out, cmdList.toString());
            } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
                    nThreads = Integer.parseInt(value);
                } catch (final NumberFormatException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. 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) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (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"));
    
        /**
         * Private constructor to prevent instantiation.
         */
        protected Curl() {
            // nothing
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top