org.jvnet.solaris.nvlist.jna
Class nvlist_t

java.lang.Object
  extended by com.sun.jna.PointerType
      extended by org.jvnet.solaris.nvlist.jna.nvlist_t
All Implemented Interfaces:
com.sun.jna.NativeMapped

public class nvlist_t
extends com.sun.jna.PointerType

Opaque handle type that represents name/value pair list.

Author:
Kohsuke Kawaguchi

Constructor Summary
nvlist_t()
           
 
Method Summary
static nvlist_t alloc(int nvflag)
          Allocates a new nvlist_t.
static nvlist_t allocMap()
           
protected  void finalize()
           
 nvlist_t getNVList(String key)
           
 String getString(String key)
           
 void put(String key, boolean value)
           
 void put(String key, nvlist_t value)
           
 void put(String key, String value)
           
 
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

nvlist_t

public nvlist_t()
Method Detail

alloc

public static nvlist_t alloc(int nvflag)
Allocates a new nvlist_t.


allocMap

public static nvlist_t allocMap()

put

public void put(String key,
                String value)

put

public void put(String key,
                boolean value)

put

public void put(String key,
                nvlist_t value)

getString

public String getString(String key)

getNVList

public nvlist_t getNVList(String key)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2012. All Rights Reserved.