Class SetupProgress


  • public class SetupProgress
    extends Object
    • Constructor Detail

      • SetupProgress

        public SetupProgress()
    • Method Detail

      • getWriter

        public static Writer getWriter()
        Returns writer associated with reporting progress to enduser.
        Returns:
        writer associated with reporting progress to enduser.
      • getOutputStream

        public static OutputStream getOutputStream()
        Returns OutputStream associated with reporting progress to enduser.
        Returns:
        OutputStream associated with reporting progress to enduser.
      • setWriter

        public static void setWriter​(Writer w)
        Sets setup writer.
        Parameters:
        w - Setup writer to be used.
      • setOutputStream

        public static void setOutputStream​(OutputStream ostr)
        Sets setup OututStream.
        Parameters:
        ostr - OutputStream to be used.
      • closeOutputStream

        public static void closeOutputStream()
      • setTextMode

        public static void setTextMode​(boolean textMode)
        Sets text mode.
        Parameters:
        textMode - true if output should be in text format or false in html format.
      • reportStart

        public static void reportStart​(String str,
                                       Object[] param)
        Reports beginning of an operation.
        Parameters:
        str - i18n key to be printed
        param - Object to be printed.
      • reportEnd

        public static void reportEnd​(String str,
                                     Object[] param)
        Reports end of an operation.
        Parameters:
        str - i18n key to be printed
        param - Object to be printed.