Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MessageFormatter (0.21 sec)

  1. src/main/java/org/codelibs/core/message/MessageFormatter.java

    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * Class for assembling messages from message codes and arguments.
     *
     * @author higa
     */
    public abstract class MessageFormatter {
    
        /**
         * Do not instantiate.
         */
        protected MessageFormatter() {
        }
    
        /** Length of the numeric part of the message code */
        protected static final int CODE_NUMBER_LENGTH = 4;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt

     * limitations under the License.
     */
    package okhttp3.curl.logging
    
    import java.util.logging.LogRecord
    import java.util.logging.SimpleFormatter
    
    object MessageFormatter : SimpleFormatter() {
      override fun format(record: LogRecord): String = String.format("%s%n", record.message)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 845 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

        public void testDispose() throws Exception {
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
    
            MessageFormatter.getMessage("EMSG0000");
            assertThat(MessageFormatter.initialized, is(true));
    
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.sql.SQLException;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * Exception that wraps {@link SQLException}.
     *
     * @author higa
     * @author manhole
     */
    public class SQLRuntimeException extends ClRuntimeException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * Exception that wraps {@link IllegalArgumentException}.
     *
     * @author koichik
     */
    public class ClIllegalArgumentException extends IllegalArgumentException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * A base exception class for CoreLib.
     *
     * @author higa
     * @author shinsuke
     */
    public class ClRuntimeException extends RuntimeException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

                handler.level = Level.FINE
                handler.formatter = MessageFormatter
                activeLogger.addHandler(handler)
              }
    
              if (sslDebug) {
                val activeLogger = getLogger("javax.net.ssl")
    
                activeLogger.level = Level.FINEST
                handler.level = Level.FINEST
                handler.formatter = MessageFormatter
                activeLogger.addHandler(handler)
              }
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassIterator.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/log/Logger.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Map;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.codelibs.core.message.MessageFormatter;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * Logger interface.
     *
     * @author higa
     */
    public class Logger {
    
        /**
         * Log output levels.
         */
        public enum LogLevel {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

    import java.lang.reflect.Array;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.util.Arrays;
    import java.util.List;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * Utility class for array operations.
     *
     * @author higa
     */
    public abstract class ArrayUtil {
    
        /**
         * Do not instantiate.
         */
        protected ArrayUtil() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top