|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<java.lang.String>
com.sun.akuma.JavaVMArguments
public class JavaVMArguments
List of arguments for Java VM and application.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
JavaVMArguments()
|
|
JavaVMArguments(java.util.Collection<? extends java.lang.String> c)
|
Method Summary | |
---|---|
static JavaVMArguments |
current()
Gets the process argument list of the current process. |
static void |
main(java.lang.String[] args)
|
static JavaVMArguments |
of(int pid)
Gets the process argument list of the specified process ID. |
void |
removeSystemProperty(java.lang.String name)
|
void |
removeTail(int n)
Removes the n items from the end. |
void |
setSystemProperty(java.lang.String name,
java.lang.String value)
|
Methods inherited from class java.util.ArrayList |
---|
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 |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode |
Constructor Detail |
---|
public JavaVMArguments()
public JavaVMArguments(java.util.Collection<? extends java.lang.String> c)
Method Detail |
---|
public void removeSystemProperty(java.lang.String name)
public void setSystemProperty(java.lang.String name, java.lang.String value)
public void removeTail(int n)
public static JavaVMArguments current() throws java.io.IOException
java.io.IOException
public static JavaVMArguments of(int pid) throws java.io.IOException
pid
- -1 to indicate the current process.
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |