Package org.zkoss.util.resource
Interface Location
-
public interface LocationRepresents a location information inside a document.- Since:
- 6.0.0
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringformat(java.lang.String message)Formats the given message by prefixing with the location information.intgetColumnNumber()Return the column number in the document, or -1 if not available.intgetLineNumber()Return the line number in the document, or -1 if not available.java.lang.StringgetPath()Returns the path of the document, or null if not available.
-
-
-
Method Detail
-
getPath
java.lang.String getPath()
Returns the path of the document, or null if not available.
-
getLineNumber
int getLineNumber()
Return the line number in the document, or -1 if not available.
-
getColumnNumber
int getColumnNumber()
Return the column number in the document, or -1 if not available.
-
format
java.lang.String format(java.lang.String message)
Formats the given message by prefixing with the location information.
-
-