Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PropertiesUtil (0.1 sec)

  1. src/main/java/org/codelibs/core/io/PropertiesUtil.java

    import org.codelibs.core.net.URLUtil;
    
    /**
     * Utility class for {@link Properties} operations.
     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
         * Do not instantiate.
         */
        protected PropertiesUtil() {
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputStreamReader);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, File)} .
         */
        @Test
        public void testLoadPropertiesFile() {
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputFile);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. README.md

    ```
    
    ### Resource Management
    ```java
    import org.codelibs.core.io.*;
    
    // Resource loading and management
    URL resource = ResourceUtil.getResource("config.properties");
    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top