Home | Download | News | Wiki | About ANTLR | Feedback | Support | Bugs


Latest version is 2.7.7.
Download now! »

Download
» Home
» Download
» News
»Using ANTLR
» Documentation
» Wiki
» FAQ
» Articles
» Grammars
» File Sharing
» Code API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»TML
»PCCTS
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



DefaultFileLineFormatter


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)