SunSPOT API V5.0


Uses of Package
java.lang

Packages that use java.lang
com.sun.cldc.i18n   
com.sun.midp.midlet   
com.sun.spot.dmamemory Support for allocating memory for DMA buffers. 
com.sun.spot.dmamemory.proxy Support for allocating memory for DMA buffers - from child isolates. 
com.sun.spot.flashmanagement Low level access to chunks of flash memory. 
com.sun.spot.globals Provides support for cross-isolate global data used by the SPOT library. 
com.sun.spot.imp   
com.sun.spot.interisolate Generic support for RPC mechanisms between isolates. 
com.sun.spot.io.j2me.memory Support for the "memory" GCF protocol. 
com.sun.spot.io.j2me.radiogram Support for the 'radiogram' GCF protocol. 
com.sun.spot.io.j2me.radiostream Support for the 'radiostream' GCF Protocol. 
com.sun.spot.io.j2me.remoteprinting Provides the auxiliary classes used by remote printing. 
com.sun.spot.io.j2me.socket Support for the "socket" GCF protocol. 
com.sun.spot.networktools Tools that answer network queries for information about the SPOT network stack 
com.sun.spot.peripheral Access to the hardware peripherals built in to the Sun SPOT main board. 
com.sun.spot.peripheral.basestation Code to allow the Sun SPOT to function as a base station. 
com.sun.spot.peripheral.driver.proxy Allows child isolates access to the driver registry maintained in the master isolate. 
com.sun.spot.peripheral.external Generic support for external boards. 
com.sun.spot.peripheral.handler Handlers for control button events. 
com.sun.spot.peripheral.ota Support for managing remote Sun SPOTs using ant scripts. 
com.sun.spot.peripheral.proxy Support for controlling PIO pins from child isolates. 
com.sun.spot.peripheral.radio Support for using the Sun SPOT's radio. 
com.sun.spot.peripheral.radio.mhrp.aodv An mesh routing package based on the AODV protocol. 
com.sun.spot.peripheral.radio.mhrp.aodv.messages Message formats used by the AODV implementation 
com.sun.spot.peripheral.radio.mhrp.aodv.request Request table used by the AODV based mesh routing package 
com.sun.spot.peripheral.radio.mhrp.aodv.routing Routing table used by the AODV based mesh routing package 
com.sun.spot.peripheral.radio.mhrp.lqrp An mesh routing package based on the AODV protocol. 
com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams   
com.sun.spot.peripheral.radio.mhrp.lqrp.messages Message formats used by the LQRP routing implementation 
com.sun.spot.peripheral.radio.policy.proxy Support for using the Sun SPOT's radio from child isolates. 
com.sun.spot.peripheral.radio.proxy Allows child isolates access to the radio controlled by the master isolate. 
com.sun.spot.peripheral.radio.routing Interfaces implemented by all routing protocols. 
com.sun.spot.peripheral.radio.routing.interfaces Interfaces that should be implemented by a routing protocol manager. 
com.sun.spot.peripheral.radio.shrp Support for a Single Hop based routing protocol. 
com.sun.spot.resourcesharing The resource sharing framework exists to support people writing device drivers. 
com.sun.spot.sensorboard Contains highest level interfaces and concrete classes that make up the SunSPOT sensorboard libraries. 
com.sun.spot.sensorboard.hardware Interfaces and concrete classes that embody various pieces of hardware that are built into the SunSPOT sensorboards. 
com.sun.spot.sensorboard.io Interfaces and concrete implmentations of classes to enable simple low-level i/o to and from the SunSPOT sensorboards. 
com.sun.spot.sensorboard.peripheral Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards. 
com.sun.spot.sensorboard.service   
com.sun.spot.service IService provides a general interface to allow running services to be controlled. 
com.sun.spot.testFramework Provides a limited equivalent to jUnit for use on Sun SPOTs. 
com.sun.spot.util Utility classes. 
com.sun.squawk   
com.sun.squawk.flash   
com.sun.squawk.imp   
com.sun.squawk.io   
com.sun.squawk.io.j2me.multicast   
com.sun.squawk.io.mailboxes   
com.sun.squawk.peripheral   
com.sun.squawk.realtime   
com.sun.squawk.security   
com.sun.squawk.security.verifier   
com.sun.squawk.util   
com.sun.squawk.vm   
java.io   
java.lang   
java.lang.ref   
java.util   
javax.microedition.io   
javax.microedition.midlet   
javax.microedition.rms   
junit.framework Support classes for the test framework. 
 

Classes in java.lang used by com.sun.cldc.i18n
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.midp.midlet
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.dmamemory
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.dmamemory.proxy
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.flashmanagement
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.globals
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.imp
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.interisolate
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.io.j2me.memory
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.io.j2me.radiogram
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.io.j2me.radiostream
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.io.j2me.remoteprinting
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.io.j2me.socket
IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.networktools
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.peripheral.basestation
InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.peripheral.driver.proxy
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.external
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.handler
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.ota
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.proxy
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.radio
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Thread
          A thread is a thread of execution in a program.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.aodv
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
Thread
          A thread is a thread of execution in a program.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.aodv.messages
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.aodv.request
Long
          The Long class wraps a value of the primitive type long in an object.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
Thread
          A thread is a thread of execution in a program.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.aodv.routing
Long
          The Long class wraps a value of the primitive type long in an object.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
Thread
          A thread is a thread of execution in a program.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.lqrp
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.mhrp.lqrp.messages
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.policy.proxy
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.proxy
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.routing
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.routing.interfaces
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.spot.peripheral.radio.shrp
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.resourcesharing
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.sensorboard
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.sensorboard.hardware
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.sensorboard.io
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.spot.sensorboard.peripheral
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.sensorboard.service
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.service
Class
          Instances of the class Class represent classes and interfaces in a running Java application.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.spot.testFramework
ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
IllegalAccessException
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
InstantiationException
          Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
StringBuffer
          A string buffer implements a mutable sequence of characters.
 

Classes in java.lang used by com.sun.spot.util
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
StringBuffer
          A string buffer implements a mutable sequence of characters.
Thread
          A thread is a thread of execution in a program.
 

Classes in java.lang used by com.sun.squawk
ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
String
          The String class represents character strings.
Thread
          A thread is a thread of execution in a program.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.flash
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by com.sun.squawk.imp
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.squawk.io
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.squawk.io.j2me.multicast
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.squawk.io.mailboxes
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.peripheral
Class
          Instances of the class Class represent classes and interfaces in a running Java application.
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.realtime
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.security
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
 

Classes in java.lang used by com.sun.squawk.security.verifier
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.util
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by com.sun.squawk.vm
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by java.io
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by java.lang
Boolean
          The Boolean class wraps a value of the primitive type boolean in an object.
Class
          Instances of the class Class represent classes and interfaces in a running Java application.
ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
Double
          The Double class wraps a value of the primitive type double in an object.
Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Float
          The Float class provides an object wrapper for Float data values, and serves as a place for float-oriented operations.
IllegalAccessException
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
IndexOutOfBoundsException
          Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
InstantiationException
          Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
Integer
          The Integer class wraps a value of the primitive type int in an object.
InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
NumberFormatException
          Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
Runtime
          Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
StringBuffer
          A string buffer implements a mutable sequence of characters.
Thread
          A thread is a thread of execution in a program.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Classes in java.lang used by java.lang.ref
Object
          Class Object is the root of the class hierarchy.
 

Classes in java.lang used by java.util
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
Runnable
          The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by javax.microedition.io
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by javax.microedition.midlet
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by javax.microedition.rms
Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 

Classes in java.lang used by junit.framework
Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
Object
          Class Object is the root of the class hierarchy.
String
          The String class represents character strings.
Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.