vlcskineditor
Class BooleanExpressionEvaluator

java.lang.Object
  extended by vlcskineditor.BooleanExpressionEvaluator

public class BooleanExpressionEvaluator
extends java.lang.Object

Helper class to evaluate boolean expressions. conversion of vlc/trunk/modules/gui/skins2/parser/expr_evaluator.cpp.
Original code by Cyril Deguet


Constructor Summary
BooleanExpressionEvaluator()
          Creates a new instance of BooleanExpressionEvaluator
 
Method Summary
 void parse(java.lang.String rExpr)
          Converts an infix boolean expression to reverse polish notation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanExpressionEvaluator

public BooleanExpressionEvaluator()
Creates a new instance of BooleanExpressionEvaluator

Method Detail

parse

public void parse(java.lang.String rExpr)
Converts an infix boolean expression to reverse polish notation

Parameters:
rExpr - The boolean expression