Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for properties (0.17 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/PropertiesUtil.java

    import java.io.Writer;
    import java.net.URL;
    import java.nio.charset.Charset;
    import java.util.Properties;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * {@link Properties}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
         * {@link Properties#load(InputStream)}の例外処理をラップします。
         * <p>
         * 入力ストリームはクローズされません。
         * </p>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected String sessionId;
    
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
            protected String name;
    
            @Option(name = "-p", aliases = "--properties", metaVar = "properties", usage = "Properties File")
            protected String propertiesPath;
    
            @Option(name = "-t", aliases = "--numOfThreads", metaVar = "numOfThreads", usage = "The number of threads")
            protected int numOfThreads = 1;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java

            }
            return docMeta;
        }
    
        // ===================================================================================
        //                                                                 Modified Properties
        //                                                                 ===================
        public Set<String> mymodifiedProperties() {
            return __modifiedProperties.getPropertyNames();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *
         * @param path
         *            プロパティファイルのパス。{@literal null}や空文字列であってはいけません
         * @return プロパティファイル
         */
        public static Properties getProperties(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final Properties props = new Properties();
            final InputStream is = getResourceAsStream(path);
            try {
                props.load(is);
                return props;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                authScheme = new BasicScheme();
            } else if (Constants.DIGEST.equals(scheme)) {
                authScheme = new DigestScheme();
            } else if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                paramMap.entrySet().stream().filter(e -> e.getKey().startsWith("jcifs.")).forEach(e -> {
                    props.setProperty(e.getKey(), e.getValue());
                });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * 例えばJavaBeans側のデリミタにアンダースコア、{@link Map}側のデリミタにピリオドを指定した場合、
         * コピー元とコピー先のプリパティ名は次のようになります。
         * </p>
         * <table border="1">
         * <caption>Copied JavaBeans Properties</caption>
         * <tr>
         * <th>JavaBeansのプロパティ名</th>
         * <th>{@literal Map}のプロパティ名</th>
         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        private static final String VIEW_HELPER = "viewHelper";
    
        private static final String SYSTEM_HELPER = "systemHelper";
    
        private static final String CRAWLER_PROPERTIES = "systemProperties";
    
        private static final String JOB_EXECUTOR_SUFFIX = "JobExecutor";
    
        private static final String KEY_MATCH_HELPER = "keyMatchHelper";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

        private File propertiesFile;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            propertiesFile = File.createTempFile("test", ".properties");
            FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]);
            propertiesFile.deleteOnExit();
            DynamicProperties systemProps = new DynamicProperties(propertiesFile);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. 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);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top