public class SetupProgress extends Object
Constructor and Description |
---|
SetupProgress() |
Modifier and Type | Method and Description |
---|---|
static void |
closeOutputStream() |
static OutputStream |
getOutputStream()
Returns OutputStream associated with reporting progress to enduser.
|
static Writer |
getWriter()
Returns writer associated with reporting progress to enduser.
|
static void |
reportEnd(String str,
Object[] param)
Reports end of an operation.
|
static void |
reportStart(String str,
Object[] param)
Reports beginning of an operation.
|
static void |
setOutputStream(OutputStream ostr)
Sets setup OututStream.
|
static void |
setTextMode(boolean textMode)
Sets text mode.
|
static void |
setWriter(Writer w)
Sets setup writer.
|
public static Writer getWriter()
public static OutputStream getOutputStream()
public static void setWriter(Writer w)
w
- Setup writer to be used.public static void setOutputStream(OutputStream ostr)
ostr
- OutputStream to be used.public static void closeOutputStream()
public static void setTextMode(boolean textMode)
textMode
- true if output should be in text format or false in
html format.public static void reportStart(String str, Object[] param)
str
- i18n key to be printedparam
- Object to be printed.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.