Package com.adobe.xfa.agent
Class MessageHandlerXML
java.lang.Object
com.adobe.xfa.LogMessageHandler
com.adobe.xfa.agent.MessageHandlerXML
Class MessageHandlerXML formats messages to a XML file.
Class MessageHandlerXML will eventually support multiple targets(files)
and be able to select targets(files) depending on the severity of a message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flushes any buffered messages to be written out to this object's output stream.voidsendMessage(LogMessage oMessage) Send message to target using XML file format.Methods inherited from class com.adobe.xfa.LogMessageHandler
clearMessages, get, getThreadId, getThreshold, setThreshold, size, supportsRead
-
Constructor Details
-
MessageHandlerXML
Constructor. Will write out to oSource but does not close the stream file. Note: OutputStream could be any platform-specific implementation.- Parameters:
oSource- - stream file
-
-
Method Details
-
flush
public void flush()Flushes any buffered messages to be written out to this object's output stream.- Specified by:
flushin classLogMessageHandler
-
sendMessage
Send message to target using XML file format.- Specified by:
sendMessagein classLogMessageHandler- Parameters:
oMessage- - the message
-