-
- All Known Implementing Classes:
DTFJJavaVMOption
,JavaVMOption
,JCJavaVMOption
public interface JavaVMOption
Represents the JavaVMOption C structures passed to JNI_CreateJavaVM to create the VM.
Each JavaVMOption consists of two components:
- an optionString string, used to identify the option.
- an extraInfo pointer, used to pass additional information. This component is usually NULL.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImagePointer
getExtraInfo()
Fetch the extraInfo component of this option.String
getOptionString()
Fetch the optionString component of the option.
-
-
-
Method Detail
-
getOptionString
String getOptionString() throws DataUnavailable, CorruptDataException
Fetch the optionString component of the option.- Returns:
- a string representing the optionString. This is never null.
- Throws:
DataUnavailable
CorruptDataException
-
getExtraInfo
ImagePointer getExtraInfo() throws DataUnavailable, CorruptDataException
Fetch the extraInfo component of this option.- Returns:
- the pointer value from the extraInfo (usually null).
- Throws:
DataUnavailable
CorruptDataException
-
-