org.zkoss.util.resource
Interface Location


public interface Location

Represents a location information inside a document.

Since:
6.0.0
Author:
tomyeh

Method Summary
 java.lang.String format(java.lang.String message)
          Fomrats the given message by prefixing with the location information.
 int getLineNumber()
          Return the line number in the document, or -1 if not available.
 java.lang.String getPath()
          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.


format

java.lang.String format(java.lang.String message)
Fomrats the given message by prefixing with the location information.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo