|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
system.SystemAccess
system.SystemLinuxAccess
public class SystemLinuxAccess
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SystemLinuxAccess(PoddyFrame mainWin)
|
|
| Method Summary | |
|---|---|
void |
encodeToUSB(String srcPath,
CDInfo cdInfo,
TrackInfo trackInfo,
String mountpoint,
BufferedImage coverImage)
|
String |
getCDDiscID()
This method retrieves CD ROM information and fetches a disc identifier string that can be used from CDDB to identify this disc |
long |
getDVDDiscID()
This method retrieves DVD ROM information and fetches a disc identifier string that can be used from DVD databases to identify this disc |
boolean |
isWorking()
This method can be used to find out if there is currently an operation in progress: as long as a workCmd is active and handled by the run() method here true is returned |
boolean |
mountUSB(String mountpoint)
|
void |
playDVD(String isoPath)
Starts replaying of a DVD, here the external player has to be called with the given path |
void |
playDVDDirect()
Starts direct replaying of a DVD in the local drive |
void |
playVideo(String videoPath)
Starts replaying of a video file, here the external player has to be called with the given path |
void |
powerOff()
|
void |
record(RecordInfo info,
String channel,
String recpath)
|
void |
run()
|
StationsList |
scanTV()
|
void |
stopRecording()
|
void |
stopVideo()
Externally stop all running videos by killing the related processes. |
void |
switchTVChannel(StationInfo info)
|
void |
turnOffTV()
|
void |
turnOnTV()
|
void |
unmountUSB(String mountpoint)
|
| Methods inherited from class system.SystemAccess |
|---|
getMainDirectory, getTempDirectory, getVideoDirectory, grabCDTracks, grabDVD, isRecording, setCDTrack |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SystemLinuxAccess(PoddyFrame mainWin)
| Method Detail |
|---|
public boolean isWorking()
SystemAccess
isWorking in class SystemAccesspublic void run()
run in interface Runnablerun in class Threadpublic String getCDDiscID()
SystemAccess
getCDDiscID in class SystemAccesspublic void stopVideo()
SystemAccess
stopVideo in class SystemAccesspublic void playVideo(String videoPath)
SystemAccess
playVideo in class SystemAccessvideoPath - the path to the video file that has to be used for replayingpublic void playDVD(String isoPath)
SystemAccess
playDVD in class SystemAccessisoPath - the path to the ISO image that has to be used for replayingpublic void playDVDDirect()
SystemAccess
playDVDDirect in class SystemAccesspublic long getDVDDiscID()
SystemAccess
getDVDDiscID in class SystemAccesspublic StationsList scanTV()
scanTV in class SystemAccesspublic void turnOnTV()
turnOnTV in class SystemAccesspublic void turnOffTV()
turnOffTV in class SystemAccesspublic void switchTVChannel(StationInfo info)
switchTVChannel in class SystemAccess
public void record(RecordInfo info,
String channel,
String recpath)
record in class SystemAccesspublic void stopRecording()
stopRecording in class SystemAccesspublic void powerOff()
powerOff in class SystemAccesspublic boolean mountUSB(String mountpoint)
mountUSB in class SystemAccesspublic void unmountUSB(String mountpoint)
unmountUSB in class SystemAccess
public void encodeToUSB(String srcPath,
CDInfo cdInfo,
TrackInfo trackInfo,
String mountpoint,
BufferedImage coverImage)
encodeToUSB in class SystemAccess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||