antlr
Class DefaultFileLineFormatter

java.lang.Object
  extended byantlr.FileLineFormatter
      extended byantlr.DefaultFileLineFormatter

public class DefaultFileLineFormatter
extends FileLineFormatter


Constructor Summary
DefaultFileLineFormatter()
           
 
Method Summary
 java.lang.String getFormatString(java.lang.String fileName, int line, int column)
           
 
Methods inherited from class antlr.FileLineFormatter
getFormatter, setFormatter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileLineFormatter

public DefaultFileLineFormatter()
Method Detail

getFormatString

public java.lang.String getFormatString(java.lang.String fileName,
                                        int line,
                                        int column)
Specified by:
getFormatString in class FileLineFormatter
Parameters:
fileName - the file that should appear in the prefix. (or null)
line - the line (or -1)
column - the column (or -1)