org.carrot2.util
Class SystemPropertyStack
java.lang.Object
org.carrot2.util.SystemPropertyStack
public final class SystemPropertyStack
- extends Object
Small utility to push a system property and then restore the previous value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemPropertyStack
public SystemPropertyStack(String propertyName)
pop
public void pop()
push
public void push(String newValue)
Copyright (c) Dawid Weiss, Stanislaw Osinski