org.carrot2.util
Class SystemPropertyStack

java.lang.Object
  extended by org.carrot2.util.SystemPropertyStack

public final class SystemPropertyStack
extends Object

Small utility to push a system property and then restore the previous value.


Constructor Summary
SystemPropertyStack(String propertyName)
           
 
Method Summary
 void pop()
           
 void push(String newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPropertyStack

public SystemPropertyStack(String propertyName)
Method Detail

pop

public void pop()

push

public void push(String newValue)


Copyright (c) Dawid Weiss, Stanislaw Osinski