Search in sources :

Example 6 with EncodedProperties

use of jp.ossc.nimbus.util.EncodedProperties in project nimbus by nimbus-org.

the class EncodedPropertiesTest method testEncodedProperties.

/*
	 * void EncodedProperties のテスト()
	 */
public void testEncodedProperties() throws IOException, Exception {
    EncodedProperties prop = new EncodedProperties("MS932");
    prop.loadFromFile("src/test/resources/jp/ossc/nimbus/util/test1.properties");
    String aa = prop.getProperty("test");
    assertEquals(aa, "ソフィーの申請");
}
Also used : EncodedProperties(jp.ossc.nimbus.util.EncodedProperties)

Aggregations

EncodedProperties (jp.ossc.nimbus.util.EncodedProperties)6