|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.KernelVarStringComponent
public class KernelVarStringComponent
Class KernelVarStringComponent represents components of continued string values associated with kernel variables.
This class is used by JNISpice to package components of continued kernel pool string variables and corresponding "found" flags. User applications normally will not need to construct instances of this class.
This class supports fetching string components using a "found flag," as opposed to using the exception handling system to respond to an attempt to fetch a non-existent component.
Version 1.0.0 08-JAN-2010 (NJB)
Constructor Summary | |
---|---|
KernelVarStringComponent(java.lang.String kervarName,
int index,
java.lang.String componentValue,
boolean found)
Create a KernelVarStringComponent from a string and a boolean value indicating whether the requested component was found. |
Method Summary | |
---|---|
java.lang.String |
getComponent()
Return the String component from this instance. |
int |
getIndex()
Return the index at which this component resides, if the component exists. |
java.lang.String |
getKerVarName()
Return the name of the kernel variable to which this component belongs. |
boolean |
wasFound()
Indicate whether the component associated with this instance exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KernelVarStringComponent(java.lang.String kervarName, int index, java.lang.String componentValue, boolean found)
Method Detail |
---|
public boolean wasFound()
public java.lang.String getComponent() throws SpiceException
SpiceException
public java.lang.String getKerVarName()
public int getIndex()
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |