public class JavaVMArguments extends ArrayList<String>
modCount| Constructor and Description |
|---|
JavaVMArguments() |
JavaVMArguments(Collection<? extends String> c) |
| Modifier and Type | Method and Description |
|---|---|
static JavaVMArguments |
current()
Gets the process argument list of the current process.
|
static void |
main(String[] args) |
static JavaVMArguments |
of(int pid)
Gets the process argument list of the specified process ID.
|
void |
removeSystemProperty(String name) |
void |
removeTail(int n)
Removes the n items from the end.
|
void |
setSystemProperty(String name,
String value) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic JavaVMArguments()
public JavaVMArguments(Collection<? extends String> c)
public void removeSystemProperty(String name)
public void removeTail(int n)
public static JavaVMArguments current() throws IOException
IOExceptionpublic static JavaVMArguments of(int pid) throws IOException
pid - -1 to indicate the current process.IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2015. All rights reserved.