com.puppycrawl.tools.checkstyle
Class LocalizedMessage

java.lang.Object
  |
  +--com.puppycrawl.tools.checkstyle.LocalizedMessage
All Implemented Interfaces:
java.lang.Comparable

public class LocalizedMessage
extends java.lang.Object
implements java.lang.Comparable

Represents message that can be localised. The translations come from message.properties files. The underlying implementation uses java.text.MessageFormat.

Version:
1.0
Author:
Oliver Burn

Method Summary
 int compareTo(java.lang.Object aOther)
           
 int getColumnNo()
           
 int getLineNo()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessage

public java.lang.String getMessage()
Returns:
the translated message

getLineNo

public int getLineNo()
Returns:
the line number

getColumnNo

public int getColumnNo()
Returns:
the column number

compareTo

public int compareTo(java.lang.Object aOther)
Specified by:
compareTo in interface java.lang.Comparable
See Also:
Comparable