- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for commands (0.15 sec)
-
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final File file = tempFolder.newFile("hoge.properties"); final FileOutputStream outputStream = OutputStreamUtil.create(file); PropertiesUtil.store(outProperties, outputStream, "comments"); CloseableUtil.close(outputStream); final Properties properties = new Properties(); PropertiesUtil.load(properties, file); assertThat(properties.getProperty("a"), is("A")); }
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/log/JclLoggerAdapterFactory.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.log; import org.apache.commons.logging.LogFactory; /** * (Jakarta) Commons Loggingのロガーを利用するアダプタを生成するファクトリです。 * * @author koichik */ class JclLoggerAdapterFactory implements LoggerAdapterFactory { @Override
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/JclLoggerAdapter.java
* governing permissions and limitations under the License. */ package org.codelibs.core.log; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * (Jakarta) Commons Loggingのロガーを利用するアダプタです。 * * @author koichik */ class JclLoggerAdapter implements LoggerAdapter { protected final String sourceClass;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
/** * ログアダプタのファクトリを返します。 * <p> * Commons Loggingが使える場合はCommons Loggingを利用するためのファクトリを返します。 * 使えない場合はjava.util.loggingロガーを利用するためのファクトリを返します。 * </p> * * @return ログアダプタのファクトリ */ protected static LoggerAdapterFactory getLoggerAdapterFactory() { // TODO try { Class.forName("org.apache.commons.logging.LogFactory");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* 出力ストリーム。{@literal null}であってはいけません * @param comments * コメント */ public static void store(final Properties props, final OutputStream out, final String comments) { assertArgumentNotNull("props", props); assertArgumentNotNull("out", out); try { props.store(out, comments); } catch (final IOException e) {
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/misc/DynamicProperties.java
} @Override public void store(final OutputStream out, final String comments) throws IOException { getProperties().store(out, comments); } @Override public void store(final Writer writer, final String comments) throws IOException { getProperties().store(writer, comments); } @Override
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)