Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
A
accept()
- Method in class org.lirc.socket.
UnixServerSocket
Listens for a connection to be made to this socket and accepts it.
accept()
- Method in class org.lirc.socket.
UnixSocketImpl
Listens for a connection to be made to this socket and accepts it.
action(String)
- Method in interface org.lirc.util.
IRActionListener
Called when an IR event has neen received that is mapped to a string.
add(Class, EventListener)
- Method in class org.lirc.
EventListenerList
Adds the listener as a listener of the specified type.
add(LIRCMap.Entry)
- Method in class org.lirc.util.
LIRCMap
Adds an Entry.
add(String, String, int, String)
- Method in class org.lirc.util.
LIRCMap
Adds a value mapping to this map.
add(String, String, int, String[])
- Method in class org.lirc.util.
LIRCMap
Adds a value mapping to this map.
addIRActionListener(IRActionListener)
- Method in class org.lirc.util.
SimpleLIRCClient
Adds an IRActionListener
addLIRCListener(LIRCListener)
- Method in class org.lirc.
LIRCClient
Adds an LIRCListener
B
bind(String)
- Method in class org.lirc.socket.
UnixSocketImpl
Binds to a path
button
- Variable in class org.lirc.util.
LIRCMap.Entry
C
chomp(String)
- Static method in class org.lirc.
StringUtils
Removes last character if it is a newline.
close()
- Method in class org.lirc.
StreamReceiver
Closes the input stream.
close()
- Method in class org.lirc.
TCPReceiver
Disconnects from the socket.
close()
- Method in class org.lirc.
LinuxReceiver
Disconnects from the socket.
close()
- Method in interface org.lirc.
Receiver
Disconnects from the socket.
close()
- Method in class org.lirc.socket.
UnixSocket
Closes this socket
close()
- Method in class org.lirc.socket.
UnixServerSocket
Closes this socket
close()
- Method in class org.lirc.socket.
UnixSocketImpl
Closes this socket
connect(String)
- Method in class org.lirc.socket.
UnixSocketImpl
Connects this socket to a path.
createReceiver()
- Static method in class org.lirc.
ReceiverFactory
Gets an appropriate receiver for this platform.
createSocket()
- Static method in class org.lirc.socket.
UnixSocketImpl
Creates a native socket and returns its file descriptor.
E
EventListenerList
- class org.lirc.
EventListenerList
.
Simliar to javax.swing.EventListener, but easier to use.
EventListenerList()
- Constructor for class org.lirc.
EventListenerList
Creates a new empty EventListenerList.
F
finalize()
- Method in class org.lirc.
StreamReceiver
fireIRAction(String)
- Method in class org.lirc.util.
SimpleLIRCClient
Notify all listeners that have registered interest for notification on this event type.
fireIRReceived(int, String, String)
- Method in class org.lirc.
LIRCClient
Notify all listeners that have registered interest for notification on this event type.
fireIRReceived(String)
- Method in class org.lirc.
LIRCClient
Notify all listeners that have registered interest for notification on this event type.
G
get(LIRCEvent)
- Method in class org.lirc.util.
LIRCMap
Gets the String that matches a LIRCEvent.
getFd()
- Method in class org.lirc.socket.
UnixSocketImpl
Gets the file descriptor for the socket.
getInputStream()
- Method in class org.lirc.socket.
UnixSocket
Returns an input stream for this socket.
getInputStream()
- Method in class org.lirc.socket.
UnixSocketImpl
Returns an input stream for this socket.
getListenerCount()
- Method in class org.lirc.
EventListenerList
Returns the total number of listeners for this listener list.
getListenerCount(Class)
- Method in class org.lirc.
EventListenerList
Returns the total number of listeners of the supplied type for this listener list.
getListeners(Class)
- Method in class org.lirc.
EventListenerList
Return an array of all the listeners of the given type.
getMap()
- Method in class org.lirc.util.
LIRCMapSetup
Gets the LIRCMap that this object sets up.
getMap()
- Method in class org.lirc.ui.
LIRCMapMaker
getName()
- Method in class org.lirc.
LIRCEvent
Gets name of the remote button that was pressed.
getOutputStream()
- Method in class org.lirc.socket.
UnixSocket
Returns an output stream for this socket.
getOutputStream()
- Method in class org.lirc.socket.
UnixSocketImpl
Returns an output stream for this socket.
getRemote()
- Method in class org.lirc.
LIRCEvent
Gets name of the remote control.
getRepeat()
- Method in class org.lirc.
LIRCEvent
Gets the repeat count of this signal.
H
hasNext()
- Method in class org.lirc.util.
LIRCMapSetup
Returns true if there are more values that need to have a button mapped to them.
I
IRActionListener
- interface org.lirc.util.
IRActionListener
.
Listens for application specific (and remote control independent) strings.
Irexec
- class org.lirc.test.
Irexec
.
Executes commands from remote contol button presses.
Irexec(File)
- Constructor for class org.lirc.test.
Irexec
Irw
- class org.lirc.test.
Irw
.
Listens for IR signals and prints them to System.out.
Irw()
- Constructor for class org.lirc.test.
Irw
L
LinuxReceiver
- class org.lirc.
LinuxReceiver
.
Used to read signals from the lircd Unix Socket.
LinuxReceiver()
- Constructor for class org.lirc.
LinuxReceiver
Connects to a unix socket.
LinuxReceiver(String)
- Constructor for class org.lirc.
LinuxReceiver
Connects to a unix socket.
LIRCClient
- class org.lirc.
LIRCClient
.
Reads IR signals and fires LIRCEvents.
LIRCClient()
- Constructor for class org.lirc.
LIRCClient
Connects to the lircd socket and starts listening for signals.
LIRCEvent
- class org.lirc.
LIRCEvent
.
An event that represents a recevied IR signal (a button press or repeat).
LIRCEvent(Object, int, String, String)
- Constructor for class org.lirc.
LIRCEvent
Creates a new LIRCEvent.
LIRCException
- exception org.lirc.
LIRCException
.
Thrown to indicate that an error occured in the communication with the lirc daemon.
LIRCException()
- Constructor for class org.lirc.
LIRCException
Constructs a LIRCException with no detail message.
LIRCException(String)
- Constructor for class org.lirc.
LIRCException
Constructs a LIRCException with the specified detail message.
LIRCListener
- interface org.lirc.
LIRCListener
.
The listener interface for receiving LIRCEvents.
LIRCMap
- class org.lirc.util.
LIRCMap
.
Maps remote control buttons to Strings.
LIRCMap.Entry
- class org.lirc.util.
LIRCMap.Entry
.
The entries in this map.
LIRCMap.Entry(String, String, int, String[])
- Constructor for class org.lirc.util.
LIRCMap.Entry
Creates a new Entry
LIRCMap()
- Constructor for class org.lirc.util.
LIRCMap
Creates a new empty LIRCMap.
LIRCMap(String)
- Constructor for class org.lirc.util.
LIRCMap
Creates a new empty LIRCMap.
LIRCMap(String, File)
- Constructor for class org.lirc.util.
LIRCMap
Reads a LIRCMap from a file.
LIRCMapMaker
- class org.lirc.ui.
LIRCMapMaker
.
UI widget for making LIRCMaps.
LIRCMapMaker(Set, LIRCClient)
- Constructor for class org.lirc.ui.
LIRCMapMaker
LIRCMapSetup
- class org.lirc.util.
LIRCMapSetup
.
Helps setup a new
LIRCMap
.
LIRCMapSetup(Set)
- Constructor for class org.lirc.util.
LIRCMapSetup
Creates a new LIRCMapSetup.
listen(int)
- Method in class org.lirc.socket.
UnixSocketImpl
Starts listening.
load(File)
- Method in class org.lirc.util.
LIRCMap
Loads settings from a file.
load(Reader)
- Method in class org.lirc.util.
LIRCMap
Loads settings from a
Reader
.
load(String)
- Method in class org.lirc.util.
LIRCMap
Loads settings from a file.
loadSettings(File)
- Method in class org.lirc.util.
SimpleLIRCClient
Loads a LIRCMap from a file.
loadSettings(String)
- Method in class org.lirc.util.
SimpleLIRCClient
Loads a LIRCMap from a file.
M
main(String[])
- Static method in class org.lirc.test.
Irexec
main(String[])
- Static method in class org.lirc.test.
Irw
Runs Irw, use
-ins
to display a few lines of info when starting the program.
main(String[])
- Static method in class org.lirc.util.
LIRCMap
For testing.
main(String[])
- Static method in class org.lirc.ui.
LIRCMapMaker
For testing
match(LIRCEvent)
- Method in class org.lirc.util.
LIRCMap.Entry
Checks if this Entry matches a given button - remote combination and repeat value.
N
nextName()
- Method in class org.lirc.util.
LIRCMapSetup
Moves on to the next value.
nextValue()
- Method in class org.lirc.util.
LIRCMap.Entry
Returns the next value of this entry.
O
org.lirc
- package org.lirc
Java client API to receive signals from infrared remote controls using the
LIRC
or
WINLirc
packages.
org.lirc.socket
- package org.lirc.socket
org.lirc.test
- package org.lirc.test
Contains classes that test or demonstrate the org.lirc package.
org.lirc.ui
- package org.lirc.ui
UI components and other classes for use with the org.lirc package.
org.lirc.util
- package org.lirc.util
Utility classes for use with the org.lirc package.
P
printInstructions()
- Static method in class org.lirc.test.
Irw
Prints a few lines of info.
Q
quit()
- Method in class org.lirc.test.
Irexec
Exits this program.
R
readCode()
- Method in class org.lirc.
StreamReceiver
Reads a string from the daemon.
readCode()
- Method in interface org.lirc.
Receiver
Reads a string from the daemon.
received(LIRCEvent)
- Method in interface org.lirc.
LIRCListener
Invoked when an IR signal has been received.
Receiver
- interface org.lirc.
Receiver
.
Reads signals from the lircd socket.
ReceiverFactory
- class org.lirc.
ReceiverFactory
.
Reads signals from the lircd socket.
ReceiverFactory()
- Constructor for class org.lirc.
ReceiverFactory
remote
- Variable in class org.lirc.util.
LIRCMap.Entry
remove(Class, EventListener)
- Method in class org.lirc.
EventListenerList
Removes the listener as a listener of the specified type.
removeIRActionListener(IRActionListener)
- Method in class org.lirc.util.
SimpleLIRCClient
Removes an IRActionListener
removeLIRCListener(LIRCListener)
- Method in class org.lirc.
LIRCClient
Removes an LIRCListener
repeat
- Variable in class org.lirc.util.
LIRCMap.Entry
S
saveSettings(File)
- Method in class org.lirc.util.
SimpleLIRCClient
Saves the LIRCMap to a file.
saveSettings(String)
- Method in class org.lirc.util.
SimpleLIRCClient
Saves the LIRCMap to a file.
setCurrent(String)
- Method in class org.lirc.util.
LIRCMapSetup
Maps a button to the current value, matching any remote.
setCurrent(String, String)
- Method in class org.lirc.util.
LIRCMapSetup
Maps a button to the current value.
setCurrent(String, String, int)
- Method in class org.lirc.util.
LIRCMapSetup
Maps a button to the current value, matching any remote.
setInput(InputStream)
- Method in class org.lirc.
StreamReceiver
Sets the input stream that this recevier reads from.
shutdownInput()
- Method in class org.lirc.socket.
UnixSocket
Disables the input stream for this socket.
shutdownInput()
- Method in class org.lirc.socket.
UnixSocketImpl
Disables the input stream for this socket.
shutdownOutput()
- Method in class org.lirc.socket.
UnixSocket
Disables the output stream for this socket.
shutdownOutput()
- Method in class org.lirc.socket.
UnixSocketImpl
Disables the output stream for this socket.
SimpleLIRCClient
- class org.lirc.util.
SimpleLIRCClient
.
Can be used to quickly add LIRC support to a java application.
SimpleLIRCClient(File)
- Constructor for class org.lirc.util.
SimpleLIRCClient
Creates a new SimpleLIRCClient that loads it's settings from a file.
SimpleLIRCClient(String)
- Constructor for class org.lirc.util.
SimpleLIRCClient
Creates a new SimpleLIRCClient that loads it's settings from a file.
SimpleLIRCClient(String, File)
- Constructor for class org.lirc.util.
SimpleLIRCClient
Creates a new SimpleLIRCClient that loads it's settings from a file.
SimpleLIRCClient(String, String)
- Constructor for class org.lirc.util.
SimpleLIRCClient
Creates a new SimpleLIRCClient that loads it's settings from a file.
split(char, String)
- Static method in class org.lirc.
StringUtils
Splits the string at
at
.
split(String)
- Static method in class org.lirc.
StringUtils
Splits the string at each space.
stopListening()
- Method in class org.lirc.
LIRCClient
Stop listening for signals.
stopListening()
- Method in class org.lirc.util.
SimpleLIRCClient
Stops listening for IR events.
store(File)
- Method in class org.lirc.util.
LIRCMap
Writes this LIRCMap to a file.
store(String)
- Method in class org.lirc.util.
LIRCMap
Writes this LIRCMap to a file.
store(Writer)
- Method in class org.lirc.util.
LIRCMap
Writes this LIRCMap to a Writer.
StreamReceiver
- class org.lirc.
StreamReceiver
.
Superclass for receviers that receive lirc data on an input stream.
StreamReceiver()
- Constructor for class org.lirc.
StreamReceiver
Creates a new StreamReceiver
StreamReceiver(InputStream)
- Constructor for class org.lirc.
StreamReceiver
Creates a new StreamReceiver
StringUtils
- class org.lirc.
StringUtils
.
Contains some string utilities.
StringUtils()
- Constructor for class org.lirc.
StringUtils
T
TCPReceiver
- class org.lirc.
TCPReceiver
.
Reads signals from the WINLircd TCP socket (normally port 8765).
TCPReceiver()
- Constructor for class org.lirc.
TCPReceiver
Connects to the socket.
TCPReceiver(int)
- Constructor for class org.lirc.
TCPReceiver
Connects to the socket.
toString()
- Method in class org.lirc.
LIRCEvent
Gets a string representation of this event.
toString()
- Method in class org.lirc.
EventListenerList
Returns a string representation of the EventListenerList.
U
UnixServerSocket
- class org.lirc.socket.
UnixServerSocket
.
A Unix domain server socket.
UnixServerSocket(String)
- Constructor for class org.lirc.socket.
UnixServerSocket
Creates a new UnixServerSocket.
UnixServerSocket(String, int)
- Constructor for class org.lirc.socket.
UnixServerSocket
Creates a new UnixServerSocket.
UnixSocket
- class org.lirc.socket.
UnixSocket
.
A Unix domain socket.
UnixSocket(String)
- Constructor for class org.lirc.socket.
UnixSocket
Creates a new UnixSocket connected to a path.
UnixSocket(UnixSocketImpl)
- Constructor for class org.lirc.socket.
UnixSocket
Creates a new UnixSocket from a UnixSocketImpl.
UnixSocketImpl
- class org.lirc.socket.
UnixSocketImpl
.
Implementation for both server and client sockets.
UnixSocketImpl()
- Constructor for class org.lirc.socket.
UnixSocketImpl
Creates a new UnixSocketImpl
V
values
- Variable in class org.lirc.util.
LIRCMap.Entry
A
B
C
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES