- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for properties (0.21 sec)
-
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) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
loader.loadClass(TestCase.class.getName()); } /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.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 - 18.6K bytes - Viewed (0) -
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) -
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) -
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) -
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)