Package org.openurp.web.util
Class OutputProcessObserver
java.lang.Object
org.openurp.web.util.OutputProcessObserver
- All Implemented Interfaces:
OutputObserver
- Direct Known Subclasses:
OutputWebObserver
可以体现进度条的内容输出者
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.slf4j.Loggerprotected org.beangle.commons.text.i18n.TextResourceprotected PrintWriterFields inherited from interface org.openurp.service.OutputObserver
error, good, warnning -
Constructor Summary
ConstructorsConstructorDescriptionOutputProcessObserver(PrintWriter writer, org.beangle.commons.text.i18n.TextResource textResource) -
Method Summary
Modifier and TypeMethodDescriptionorg.beangle.commons.text.i18n.TextResourcemessage(OutputMessage msgObj) voidvoidvoidnotifyStart(String summary, int count, String[] msgs) voidoutputNotify(int level, OutputMessage msgObj) voidoutputNotify(int level, OutputMessage msgObj, boolean increaceProcess) voidsetOverallCount(int count) voidsetSummary(String msg) voidsetTextResource(org.beangle.commons.text.i18n.TextResource textResource) voidsetWriter(PrintWriter writer)
-
Field Details
-
writer
-
textResource
protected org.beangle.commons.text.i18n.TextResource textResource -
logger
protected org.slf4j.Logger logger
-
-
Constructor Details
-
OutputProcessObserver
public OutputProcessObserver() -
OutputProcessObserver
public OutputProcessObserver(PrintWriter writer, org.beangle.commons.text.i18n.TextResource textResource)
-
-
Method Details
-
setSummary
-
setOverallCount
public void setOverallCount(int count) -
notifyStart
- Specified by:
notifyStartin interfaceOutputObserver- See Also:
-
outputNotify
- Specified by:
outputNotifyin interfaceOutputObserver- See Also:
-
outputNotify
- Specified by:
outputNotifyin interfaceOutputObserver
-
message
- Specified by:
messagein interfaceOutputObserver
-
getWriter
- Specified by:
getWriterin interfaceOutputObserver
-
setWriter
- Specified by:
setWriterin interfaceOutputObserver
-
messageOf
- Specified by:
messageOfin interfaceOutputObserver
-
messageOf
- Specified by:
messageOfin interfaceOutputObserver
-
notifyFinish
public void notifyFinish()- Specified by:
notifyFinishin interfaceOutputObserver
-
notifyStart
public void notifyStart()- Specified by:
notifyStartin interfaceOutputObserver
-
getTextResource
public org.beangle.commons.text.i18n.TextResource getTextResource() -
setTextResource
public void setTextResource(org.beangle.commons.text.i18n.TextResource textResource)
-