com.puppycrawl.tools.checkstyle.api

Class LocalizedMessages


public final class LocalizedMessages
extends Object

Collection of messages.
Version:
1.0
Author:
Oliver Burn

Method Summary

void
add(LocalizedMessage aMsg)
Logs a message to be reported.
LocalizedMessage[]
getMessages()
void
reset()
Reset the object.
int
size()

Method Details

add

public void add(LocalizedMessage aMsg)
Logs a message to be reported.
Parameters:
aMsg - the message to log

getMessages

public LocalizedMessage[] getMessages()
Returns:
the logged messages *

reset

public void reset()
Reset the object. *

size

public int size()
Returns:
the number of messages