Package com.sun.jna.platform.linux
Class Udev.UdevListEntry
- java.lang.Object
-
- com.sun.jna.PointerType
-
- com.sun.jna.platform.linux.Udev.UdevListEntry
-
- All Implemented Interfaces:
NativeMapped
- Enclosing interface:
- Udev
public static class Udev.UdevListEntry extends PointerType
Whenever libudev returns a list of objects, theudev_list_entry
API should be used to iterate, access and modify those lists.
-
-
Constructor Summary
Constructors Constructor Description UdevListEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name of this entry, which is the path of the device in/sys
.Udev.UdevListEntry
getNext()
Gets the next entry in the enumeration.-
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
-
-
-
Method Detail
-
getNext
public Udev.UdevListEntry getNext()
Gets the next entry in the enumeration.- Returns:
- On success, returns the next list entry. If no such entry can be found, or on failure, NULL is returned.
-
getName
public String getName()
Get the name of this entry, which is the path of the device in/sys
.- Returns:
- A string representing the syspath. On failure, NULL is returned.
-
-