Package com.sun.identity.setup
Class SetupProgress
- java.lang.Object
-
- com.sun.identity.setup.SetupProgress
-
public class SetupProgress extends Object
-
-
Constructor Summary
Constructors Constructor Description SetupProgress()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcloseOutputStream()static OutputStreamgetOutputStream()Returns OutputStream associated with reporting progress to enduser.static WritergetWriter()Returns writer associated with reporting progress to enduser.static voidreportEnd(String str, Object[] param)Reports end of an operation.static voidreportStart(String str, Object[] param)Reports beginning of an operation.static voidsetOutputStream(OutputStream ostr)Sets setup OututStream.static voidsetTextMode(boolean textMode)Sets text mode.static voidsetWriter(Writer w)Sets setup writer.
-
-
-
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 printedparam- Object to be printed.
-
-