Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for getProperty (0.1 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. src/main/java/jcifs/config/PropertyConfiguration.java

            this.logonShare = p.getProperty("jcifs.smb.client.logonShare", null);
    
            this.defaultDomain = p.getProperty("jcifs.smb.client.domain", null);
            this.defaultUserName = p.getProperty("jcifs.smb.client.username", null);
            this.defaultPassword = p.getProperty("jcifs.smb.client.password", null);
    
            this.netbiosHostname = p.getProperty("jcifs.netbios.hostname", null);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/http/NtlmServlet.java

             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
            p.setProperty("jcifs.netbios.cachePolicy", "600");
    
            Enumeration<String> e = config.getInitParameterNames();
            String name;
            while ( e.hasMoreElements() ) {
                name = e.nextElement();
                if ( name.startsWith("jcifs.") ) {
                    p.setProperty(name, config.getInitParameter(name));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Config.java

         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
                catch ( NumberFormatException nfe ) {
                    log.error("Not a number", nfe);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmServlet.java

            }
            enableBasic = Boolean.valueOf(
                    Config.getProperty("jcifs.smb1.http.enableBasic")).booleanValue();
            insecureBasic = Boolean.valueOf(
                    Config.getProperty("jcifs.smb1.http.insecureBasic")).booleanValue();
            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) realm = "jCIFS";
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
Back to top