|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.nxt.platform.PlatformTools
public class PlatformTools
Some platform specific helper methods.
Field Summary |
---|
Constructor Summary | |
---|---|
PlatformTools()
|
Method Summary | |
---|---|
static void |
exit()
Calls notifyDestroyed(). |
static void |
putSleep()
Calls Gidlet.putSleep(). |
static boolean |
sendFile(NxtRobot robot,
MFile file)
Sends the given file to the NXT brick via Bluetooth. |
static void |
wakeUp()
Calls Gidlet.wakeUp(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformTools()
Method Detail |
---|
public static void exit()
public static void putSleep()
public static void wakeUp()
public static boolean sendFile(NxtRobot robot, MFile file)
robot
- the NxtRobot already connectedfile
- the file to send
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |