|
|||||||||
| Home >> All >> com >> tuneology >> [ irremote overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tuneology.irremote
Class LircClient

java.lang.Objectjava.io.Reader
java.io.BufferedReader
com.tuneology.irremote.LircClient
- public class LircClient
- extends java.io.BufferedReader
Low-level API to LIRC. Consists of a reader connected to the irx process. Outputs a line of text for each infrared event.
- Version:
- $Id: LircClient.java,v 1.1 2002/09/23 14:29:16 xnarf Exp $
| Field Summary | |
private static java.lang.String |
configPath
|
private java.lang.Process |
proc
|
private static java.lang.String |
prog
|
| Fields inherited from class java.io.BufferedReader |
|
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
private |
LircClient(java.lang.Process proc)
|
|
LircClient(java.lang.String arg)
Constructs a Lirc Client object. |
| Method Summary | |
void |
close()
Close the connection to the remote control interface. |
java.lang.String[] |
getCommands()
Returns a list of commands that can be generated by LIRC. |
static java.lang.String |
getConfigPath()
Returns the path to the lircd.conf file. |
static java.lang.String |
getIrwCmd()
|
private static java.lang.String[] |
getIrwCmd(java.lang.String str)
|
static java.lang.String |
getIrwVersion()
Returns a string containing version info for irw. |
static void |
setConfigPath(java.lang.String path)
Sets the path to the lircd.conf file. |
static void |
setIrwCmd(java.lang.String cmd)
Sets the path to the irw command. |
| Methods inherited from class java.io.BufferedReader |
mark, markSupported, read, read, readLine, ready, reset, skip |
| Methods inherited from class java.io.Reader |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
proc
private java.lang.Process proc
prog
private static java.lang.String prog
configPath
private static java.lang.String configPath
| Constructor Detail |
LircClient
public LircClient(java.lang.String arg) throws java.io.IOException
- Constructs a Lirc Client object. Starts up irx and attach this object to it.
LircClient
private LircClient(java.lang.Process proc) throws java.io.IOException
| Method Detail |
close
public void close()
throws java.io.IOException
- Close the connection to the remote control interface.
setIrwCmd
public static void setIrwCmd(java.lang.String cmd)
- Sets the path to the irw command. Default is /usr/local/bin/irw
getIrwCmd
public static java.lang.String getIrwCmd()
getIrwVersion
public static java.lang.String getIrwVersion()
- Returns a string containing version info for irw.
setConfigPath
public static void setConfigPath(java.lang.String path)
- Sets the path to the lircd.conf file. Default is /etc/lircd.conf
getConfigPath
public static java.lang.String getConfigPath()
- Returns the path to the lircd.conf file.
getCommands
public java.lang.String[] getCommands()
- Returns a list of commands that can be generated by LIRC.
getIrwCmd
private static java.lang.String[] getIrwCmd(java.lang.String str)
|
|||||||||
| Home >> All >> com >> tuneology >> [ irremote overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC