mk.fsgrep.util
Class FileLine

java.lang.Object
  extended by mk.fsgrep.util.FileLine

public class FileLine
extends java.lang.Object

Represent a single line from a text file. Hold the line number and the text.

Author:
Murali Krishnan

Constructor Summary
FileLine(int pNumber, java.lang.String pText)
           
 
Method Summary
 int getNumber()
           
 java.lang.String getText()
           
 void setText(java.lang.String pText)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileLine

public FileLine(int pNumber,
                java.lang.String pText)
Method Detail

getNumber

public int getNumber()

getText

public java.lang.String getText()

setText

public void setText(java.lang.String pText)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.