me.escapeNT.pail.Util
Class TextLocation
java.lang.Object
me.escapeNT.pail.Util.TextLocation
public class TextLocation
- extends Object
Class representing the location of a section of text in a String.
- Author:
- escapeNT
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 |
TextLocation
public TextLocation(int start,
int end)
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.