org.tigris.scarab.util.build.l10nchecker.issues
Class CantParseLineIssue

java.lang.Object
  extended byorg.tigris.scarab.util.build.l10nchecker.L10nIssue
      extended byorg.tigris.scarab.util.build.l10nchecker.issues.CantParseLineIssue

public class CantParseLineIssue
extends L10nIssue

This error is displayed if there's a line that does not represent a valid line in a property file.

Example:

    a=b
 ==>This is an invalid line
    c=d


Field Summary
(package private)  java.lang.String line
           
 
Fields inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
MESSAGE_ERROR, MESSAGE_IGNORE, MESSAGE_INFO, MESSAGE_WARNING
 
Constructor Summary
CantParseLineIssue(java.lang.String line)
          Construct this issue
 
Method Summary
 java.lang.String getMessageTemplate()
          Return the message template that is used to display the error text.
 java.lang.Object[] getParameters()
          Get the parameters for a message
 
Methods inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
formatMessage, getMessageType, isError, isInfo, isWarning, setMessageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

java.lang.String line
Constructor Detail

CantParseLineIssue

public CantParseLineIssue(java.lang.String line)
Construct this issue

Method Detail

getMessageTemplate

public java.lang.String getMessageTemplate()
Description copied from class: L10nIssue
Return the message template that is used to display the error text.

Specified by:
getMessageTemplate in class L10nIssue
Returns:
Returns the messageTemplate.

getParameters

public java.lang.Object[] getParameters()
Description copied from class: L10nIssue
Get the parameters for a message

Specified by:
getParameters in class L10nIssue
Returns:
the parameters. The parameters have to be an array representing objects.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.