Top Fields Constructors Methods
com.sun.glass.ui.monocle

pack-priv Class SysFS

extends Object
Class Inheritance
Imports
java.io.BufferedReader, .File, .FileOutputStream, .FileReader, .IOException, java.nio.ByteBuffer, .ByteOrder, java.util.BitSet, .HashMap, .Map

Field Summary

Modifier and TypeField and Description
pack-priv static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Map<String, BitSet>
readCapabilities(File sysPath)

Read input device capability data from sysfs

pack-priv static int
readInt(String location)

Read a single integer value from a file

pack-priv static int[]
readInts(String location, int expectedLength)

Read a comma-separated list of integer values from a file

pack-priv static Map<String, String>
readUEvent(File sysPath)

pack-priv static void
triggerUdevNotification(String sysClass)

Fires udev notification events for devices of the given type

pack-priv static void
write(String location, byte[] value)

pack-priv static void
write(String location, String value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Constructor Detail

SysFSback to summary
pack-priv SysFS()

Method Detail

readCapabilitiesback to summary
pack-priv static Map<String, BitSet> readCapabilities(File sysPath)

Read input device capability data from sysfs

readIntback to summary
pack-priv static int readInt(String location) throws IOException

Read a single integer value from a file

readIntsback to summary
pack-priv static int[] readInts(String location, int expectedLength) throws IOException

Read a comma-separated list of integer values from a file

readUEventback to summary
pack-priv static Map<String, String> readUEvent(File sysPath)
triggerUdevNotificationback to summary
pack-priv static void triggerUdevNotification(String sysClass)

Fires udev notification events for devices of the given type

writeback to summary
pack-priv static void write(String location, byte[] value) throws IOException
writeback to summary
pack-priv static void write(String location, String value) throws IOException