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, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public JavaVMArguments()
public JavaVMArguments(Collection<? extends String> c)
public void removeSystemProperty(String name)
public void removeTail(int n)
public static JavaVMArguments current() throws IOException
IOException
public static JavaVMArguments of(int pid) throws IOException
pid
- -1 to indicate the current process.IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2015. All rights reserved.