com.buglabs.bug.module.lcd
Class ML8953Device

java.lang.Object
  extended by com.buglabs.bug.sysfs.SysfsNode
      extended by com.buglabs.bug.module.lcd.ML8953Device

public class ML8953Device
extends SysfsNode

Exposes sysfs entry for ML3953 devices to Java clients.


Field Summary
 
Fields inherited from class com.buglabs.bug.sysfs.SysfsNode
root
 
Constructor Summary
protected ML8953Device(java.io.File root)
           
 
Method Summary
static ML8953Device getInstance()
           
 java.lang.String getName()
           
 java.lang.String getPosition()
           
 int getSlot()
           
 
Methods inherited from class com.buglabs.bug.sysfs.SysfsNode
getFirstLineofFile, pad, parseHexInt, parseInt, parseMultiInt, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ML8953Device

protected ML8953Device(java.io.File root)
Parameters:
root - file root in sysfs for device entry.
Method Detail

getPosition

public java.lang.String getPosition()
Returns:
The position as reported from sysfs.

getName

public java.lang.String getName()
Returns:
the name of the device

getSlot

public int getSlot()
Returns:
the slot # the device is attached to.

getInstance

public static ML8953Device getInstance()