me.escapeNT.pail.Util
Class TextLocation

java.lang.Object
  extended by me.escapeNT.pail.Util.TextLocation

public class TextLocation
extends Object

Class representing the location of a section of text in a String.

Author:
escapeNT

Constructor Summary
TextLocation(int start, int end)
           
 
Method Summary
 int getEnd()
          Gets the end of the section.
 int getStart()
          Gets the start of the section.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextLocation

public TextLocation(int start,
                    int end)
Method Detail

getStart

public int getStart()
Gets the start of the section.

Returns:
the start

getEnd

public int getEnd()
Gets the end of the section.

Returns:
the end


Copyright © 2011. All Rights Reserved.