antlr
Class FileLineFormatter

java.lang.Object
  |
  +--antlr.FileLineFormatter
Direct Known Subclasses:
DefaultFileLineFormatter

public abstract class FileLineFormatter
extends Object


Constructor Summary
FileLineFormatter()
           
 
Method Summary
abstract  String getFormatString(String fileName, int line, int column)
           
static FileLineFormatter getFormatter()
           
static void setFormatter(FileLineFormatter f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLineFormatter

public FileLineFormatter()
Method Detail

getFormatter

public static FileLineFormatter getFormatter()

setFormatter

public static void setFormatter(FileLineFormatter f)

getFormatString

public abstract String getFormatString(String fileName,
                                       int line,
                                       int column)
Parameters:
fileName - the file that should appear in the prefix. (or null)
line - the line (or -1)
column - the column (or -1)


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.