2012 FRC Java API


2012 FRC Java API

Java ME library
java.io Provides classes for input and output through data streams.
java.lang MID Profile Language Classes included from Java 2 Standard Edition.
java.lang.ref Provides support for weak references.
java.util Contains the collection classes, and the date and time facilities.
javax.microedition.io Classes for the Generic Connection framework.
javax.microedition.midlet The MIDlet package defines Mobile Information Device Profile applications and the interactions between the application and the environment in which the application runs.
javax.microedition.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it.

 

WPILibJ
com.ni.rio  
edu.wpi.first.wpilibj The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot.
edu.wpi.first.wpilibj.buttons  
edu.wpi.first.wpilibj.camera Provides classes for interfacing to the camera.
edu.wpi.first.wpilibj.can  
edu.wpi.first.wpilibj.command  
edu.wpi.first.wpilibj.communication Provides classes for communicating with the driver station and synchronizing with C/C++ code.
edu.wpi.first.wpilibj.fpga  
edu.wpi.first.wpilibj.image Provides classes to access National Instrument's nivison library for machine vision enables automated image processing for color identification, tracking and analysis.
edu.wpi.first.wpilibj.networktables  
edu.wpi.first.wpilibj.parsing  
edu.wpi.first.wpilibj.smartdashboard  
edu.wpi.first.wpilibj.util Provides classes for utility robotics programming.
edu.wpi.first.wpilibj.visa Provides classes to access I/O functions in visa.h.

 

Squawk library
com.sun.cldc.jna The CLDC/JNA package contains classes that help import native data structures and functions from Java code without writing C code.
com.sun.cldc.jna.ptr Provides various kinds of Pointer classes for JNA.
com.sun.squawk Provides classes for low level interactions with the Squawk VM.
com.sun.squawk.flash  
com.sun.squawk.imp Provides classes for low level interactions with the Squawk implementation of IMP.
com.sun.squawk.io Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP.
com.sun.squawk.io.j2me.dserror  
com.sun.squawk.io.j2me.multicastoutput  
com.sun.squawk.io.j2me.socket  
com.sun.squawk.io.mailboxes Provides classes for inter-Isolate communication.
com.sun.squawk.microedition.io Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP.
com.sun.squawk.peripheral  
com.sun.squawk.pragma  
com.sun.squawk.realtime Provides classes for native memory access based on the javax.realtime package.
com.sun.squawk.security Provides classes for basic signing of binary data.
com.sun.squawk.util Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.)
com.sun.squawk.vm Provides classes for basic Squawk VM structures.

 

Other Packages
com.sun.cldc.i18n  
com.sun.cldc.io Provides base class for all connections.
com.sun.midp.midlet  
tests  

 


2012 FRC Java API


For updated information see the Java FRC site