Package org.zkoss.util.resource
Interface Location
public interface Location
Represents a location information inside a document.
- Since:
- 6.0.0
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionFormats the given message by prefixing with the location information.intReturn the column number in the document, or -1 if not available.intReturn the line number in the document, or -1 if not available.getPath()Returns the path of the document, or null if not available.
-
Method Details
-
getPath
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
Formats the given message by prefixing with the location information.
-