Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getEnv (1.46 sec)

  1. src/main/java/org/codelibs/core/lang/SystemUtil.java

         *
         * @param key the environment variable key
         * @return the environment variable value, or null if not found
         */
        public static String getEnv(String key) {
            return System.getenv(key);
        }
    
        /**
         * Returns the system environment variable value for the specified key, or the default value if not found.
         *
         * @param key the environment variable key
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. maven-tests/mvnw

    	public class Downloader extends java.net.Authenticator
    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         *
         * @return the application type string, or empty string if not set
         */
        public static String getAppType() {
            final String appType = System.getenv(FESS_APP_TYPE);
            if (StringUtil.isNotBlank(appType)) {
                return appType;
            }
            return StringUtil.EMPTY;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
                if (path == null) {
                    path = System.getenv("Path");
                }
                if (path == null) {
                    path = System.getenv("path");
                }
                final List<String> pathList = new ArrayList<>();
                pathList.add("/usr/share/fess/bin");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. settings.gradle.kts

    include(":samples:static-server")
    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. container-tests/build.gradle.kts

    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        object : ThreadFactory {
          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread = Thread(runnable, "$name-${nextId++}")
        }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue()));
                    System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue()));
                    logger.debug("Option: {}", options);
                } catch (final Exception e) {
                    // ignore
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         */
        public static List<Map<String, String>> getEnvItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final Map.Entry<String, String> entry : System.getenv().entrySet()) {
                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
            return itemList;
        }
    
        /**
         * Gets a list of system properties as key-value pairs.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top