Klasse Messages
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.Messages
-
Konstruktorübersicht
KonstruktorBeschreibungMessages
(BaseConfiguration configuration, Resources resources) Creates a Messages object to provide standardized access to the doclet’s diagnostic reporting mechanisms. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
error
(DocTreePath path, int start, int pos, int end, String key, Object... args) Reports an error message to the doclet’s reporter.void
error
(DocTreePath path, String key, Object... args) Reports an error message to the doclet’s reporter.void
Reports an error message to the doclet’s reporter.void
Reports an error message to the doclet’s reporter.void
error
(FileObject fo, int start, int pos, int end, String key, Object... args) Reports an error message to the doclet’s reporter.Returns the resources being used when generating messages.void
Reports an informational notice to the doclet’s reporter.void
warning
(DocTreePath path, int start, int pos, int end, String key, Object... args) Reports a warning message to the doclet’s reporter.void
warning
(DocTreePath path, String key, Object... args) Reports a warning message to the doclet’s reporter.void
Reports a warning message to the doclet’s reporter.void
Reports a warning message to the doclet’s reporter.void
warning
(FileObject fo, int start, int pos, int end, String key, Object... args) Reports a warning message to the doclet’s reporter.
-
Konstruktordetails
-
Messages
Creates a Messages object to provide standardized access to the doclet’s diagnostic reporting mechanisms.- Parameter:
configuration
- the doclet’s configuration, used to access the doclet’s reporter, and additional methods and state used to filter out messages, if any, which should be suppressed.resources
- resources for console messages and exceptions
-
-
Methodendetails
-
getResources
Returns the resources being used when generating messages.- Gibt zurück:
- the resources
-
error
Reports an error message to the doclet’s reporter.- Parameter:
key
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
error
Reports an error message to the doclet’s reporter.- Parameter:
path
- a path identifying the position to be included with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
error
Reports an error message to the doclet’s reporter.- Parameter:
path
- a path identifying the position to be included with the messagestart
- the start of a range of characters to be associated with the messagepos
- the position to be associated with the messageend
- the end of a range of characters to be associated with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
error
Reports an error message to the doclet’s reporter.- Parameter:
fo
- the file object to be associated with the messagestart
- the start of a range of characters to be associated with the messagepos
- the position to be associated with the messageend
- the end of a range of characters to be associated with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
error
Reports an error message to the doclet’s reporter.- Parameter:
e
- an element identifying the position to be included with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
warning
Reports a warning message to the doclet’s reporter.- Parameter:
key
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
warning
Reports a warning message to the doclet’s reporter.- Parameter:
path
- a path identifying the position to be included with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
warning
Reports a warning message to the doclet’s reporter.- Parameter:
path
- a path identifying the position to be included with the messagestart
- the start of a range of characters to be associated with the messagepos
- the position to be associated with the messageend
- the end of a range of characters to be associated with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
warning
Reports a warning message to the doclet’s reporter.- Parameter:
e
- an element identifying the position to be included with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
warning
Reports a warning message to the doclet’s reporter.- Parameter:
fo
- the file object to be associated with the messagestart
- the start of a range of characters to be associated with the messagepos
- the position to be associated with the messageend
- the end of a range of characters to be associated with the messagekey
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-
notice
Reports an informational notice to the doclet’s reporter.The message is written directly to the reporter’s diagnostic stream.
- Parameter:
key
- the name of a resource containing the message to be printedargs
- optional arguments to be replaced in the message
-