Package freemarker.debug
Class Breakpoint
- java.lang.Object
-
- freemarker.debug.Breakpoint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
public class Breakpoint extends java.lang.Object implements java.io.Serializable, java.lang.ComparableRepresents a breakpoint location consisting of a template name and a line number.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Breakpoint(java.lang.String templateName, int line)Creates a new breakpoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object o)booleanequals(java.lang.Object o)intgetLine()Returns the line number of the breakpointjava.lang.StringgetLocationString()Returns the template name and the line number separated with a colonjava.lang.StringgetTemplateName()Returns the template name of the breakpointinthashCode()
-
-
-
Method Detail
-
getLine
public int getLine()
Returns the line number of the breakpoint
-
getTemplateName
public java.lang.String getTemplateName()
Returns the template name of the breakpoint
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareToin interfacejava.lang.Comparable
-
getLocationString
public java.lang.String getLocationString()
Returns the template name and the line number separated with a colon
-
-