Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VUtils – Release 1
Class org.violetlib.util.NullReporter
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.util

Class NullReporter

  • Object
    • NullReporter
  • All Implemented Interfaces:
    ErrorReporter, MessageReporter, SimpleReporter
    public final class NullReporter extends Object implements SimpleReporter
    A reporter that discards the messages.
    • Static Methods 
      Modifier and Type Static Method and Description
      Inherited member indicator sink Reveal DetailHide Detail
      static SimpleReporter sink()
      Return an error reporter that discards all messages.
      public static SimpleReporter sink()
      Description copied from interface: SimpleReporter
      Return an error reporter that discards all messages.
      Specified by:
      sink in interface ErrorReporter
      Specified by:
      sink in interface MessageReporter
      Inherited member indicator string Reveal DetailHide Detail
      static StringMessageReporter string()
      Return a message reporter that collects messages in a String.
      public static StringMessageReporter string()
      Description copied from interface: MessageReporter
      Return a message reporter that collects messages in a String. Messages are separated by newlines. Use the messages method to obtain the available messages.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator error Reveal DetailHide Detail
      void error(String message)
      Report an error.
      public void error(String message)
      Description copied from interface: ErrorReporter
      Report an error.
      Specified by:
      error in interface ErrorReporter
      Parameters:
      message - The error message.
      Inherited member indicator formattedError Reveal DetailHide Detail
      void formattedError(String message, Object... args)
      Report an error using a constructed message.
      public void formattedError(String message, Object... args)
      Description copied from interface: ErrorReporter
      Report an error using a constructed message.

      The standard format specifiers are %q, to include quoted text, %s, to include literal text, and %%, to include a percent sign.

      Parameters:
      message - The basic error message, which may include format specifiers.
      args - Arguments to include in the message, based on the format specifiers.
      Inherited member indicator formattedInfo Reveal DetailHide Detail
      void formattedInfo(String message, Object... args)
      Report information using a constructed message.
      public void formattedInfo(String message, Object... args)
      Description copied from interface: SimpleReporter
      Report information using a constructed message.

      The standard format specifiers are %q, to include quoted text, %s, to include literal text, and %%, to include a percent sign.

      Parameters:
      message - The basic message, which may include format specifiers.
      args - Arguments to include in the message, based on the format specifiers.
      Inherited member indicator formattedWarning Reveal DetailHide Detail
      void formattedWarning(String message, Object... args)
      Issue a warning using a constructed message.
      public void formattedWarning(String message, Object... args)
      Description copied from interface: ErrorReporter
      Issue a warning using a constructed message.

      The standard format specifiers are %q, to include quoted text, %s, to include literal text, and %%, to include a percent sign.

      Parameters:
      message - The basic error message, which may include format specifiers.
      args - Arguments to include in the message, based on the format specifiers.
      Ordinary member indicator info Reveal DetailHide Detail
      void info(String message)
      Report information.
      public void info(String message)
      Description copied from interface: MessageReporter
      Report information.
      Specified by:
      info in interface MessageReporter
      Parameters:
      message - The message.
      Ordinary member indicator warning Reveal DetailHide Detail
      void warning(String message)
      Issue a warning.
      public void warning(String message)
      Description copied from interface: ErrorReporter
      Issue a warning.
      Specified by:
      warning in interface ErrorReporter
      Parameters:
      message - The warning message.
      • Methods inherited from class Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait