net.sf.dropboxmq.messageselector
Class ConstantExpression

java.lang.Object
  extended by net.sf.dropboxmq.messageselector.Expression
      extended by net.sf.dropboxmq.messageselector.ConstantExpression

public class ConstantExpression
extends Expression

Created: 06 Oct 2007

Version:
$Revision: 211 $, $Date: 2010-11-14 14:21:24 -0700 (Sun, 14 Nov 2010) $
Author:
Dwayne Schultz

Constructor Summary
ConstantExpression(Object value)
           
 
Method Summary
static String fixQuotedString(String in)
           
 Object getValue(Message message)
           
 Class getValueClass()
           
static ConstantExpression parseInteger(String intString)
           
 String toString(String prefix, String indent)
           
 
Methods inherited from class net.sf.dropboxmq.messageselector.Expression
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantExpression

public ConstantExpression(Object value)
Method Detail

parseInteger

public static ConstantExpression parseInteger(String intString)
                                       throws ParseException
Throws:
ParseException

fixQuotedString

public static String fixQuotedString(String in)

getValue

public Object getValue(Message message)
Specified by:
getValue in class Expression

getValueClass

public Class getValueClass()
Specified by:
getValueClass in class Expression

toString

public String toString(String prefix,
                       String indent)
Specified by:
toString in class Expression