Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for getProperty (0.13 sec)

  1. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final File file = tempFolder.newFile("hoge.properties");
            final Writer writer = WriterUtil.create(file);
            PropertiesUtil.store(outProperties, writer, "comments");
            CloseableUtil.close(writer);
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, file);
            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
    
            assertEquals("bar ", request.getUserProperties().getProperty("foo"));
            assertEquals("bar two", request.getUserProperties().getProperty("foo2"));
            assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals("fff", s36, "7");
            String s35 = props2.getProperty("g");
            assertEquals("g", s35, "8");
            String s34 = props2.getProperty("h h");
            assertEquals("", s34, "9");
            String s33 = props2.getProperty(" ");
            assertEquals("i=i", s33, "10");
            String s32 = props2.getProperty("j");
            assertEquals("   j", s32, "11");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            version.append(reduce(properties.getProperty("distributionShortName") + " home: "
                            + System.getProperty("maven.home", "<unknown Maven " + "home>")))
                    .append(ls);
            version.append("Java version: ")
                    .append(System.getProperty("java.version", "<unknown Java version>"))
                    .append(", vendor: ")
                    .append(System.getProperty("java.vendor", "<unknown vendor>"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

            // update java.io.tmpdir
            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
                System.setProperty(JAVA_IO_TMPDIR, tempPath);
            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                    return getResourcePath(getProperty(SPNEGO_LOGIN_CONF, "auth_login.conf"));
                }
                if (SpnegoHttpFilter.Constants.KRB5_CONF.equals(name)) {
                    return getResourcePath(getProperty(SPNEGO_KRB5_CONF, "krb5.conf"));
                }
                if (SpnegoHttpFilter.Constants.CLIENT_MODULE.equals(name)) {
                    return getProperty(SPNEGO_LOGIN_CLIENT_MODULE, "spnego-client");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("jar", depArtifact.getExtension());
            assertEquals("java", depArtifact.getProperty("language", null));
            assertEquals("jar", depArtifact.getProperty("type", null));
            assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null));
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/SystemUtil.java

         */
        public static final String PATH_SEPARATOR = System.getProperty("path.separator");
    
        /**
         * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code>
         */
        public static final String OS_NAME = System.getProperty("os.name");
    
        /**
         * <code>java.io.tmpdir</code> システムプロパティ。例:/tmp
         */
        public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir");
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false);
            assertEquals("bar", p.getProperty("foo"));
            assertNull(p.getProperty("foo-env"));
    
            p = new Properties();
            p.put("user.home", userDirectory.toString());
            p.put("env.envName", "ci");
            MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false);
            assertEquals("bar-env", p.getProperty("foo"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top