Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved.

MID Profile

Uses of Class
java.lang.Object

Packages that use Object
java.io Provides classes for input and output through data streams. 
java.lang Provides classes that are fundamental to the Java programming language. 
java.util Contains the collection classes, and the date and time facilities. 
javax.microedition.io Classes for the Generic Connection framework. 
javax.microedition.lcdui The UI API provides a set of features for implementation of user interfaces for MIDP applications. 
javax.microedition.lcdui.game The Game API package provides a series of classes that enable the development of rich gaming content for wireless devices. 
javax.microedition.media The MIDP 2.0 Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification. 
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.pki Certificates are used to authenticate information for secure Connections. 
javax.microedition.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. 
 

Uses of Object in java.io
 

Subclasses of Object in java.io
 class ByteArrayInputStream
          A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
 class ByteArrayOutputStream
          This class implements an output stream in which the data is written into a byte array.
 class DataInputStream
          A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
 class DataOutputStream
          A data output stream lets an application write primitive Java data types to an output stream in a portable way.
 class EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 class InputStream
          This abstract class is the superclass of all classes representing an input stream of bytes.
 class InputStreamReader
          An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
 class InterruptedIOException
          Signals that an I/O operation has been interrupted.
 class IOException
          Signals that an I/O exception of some sort has occurred.
 class OutputStream
          This abstract class is the superclass of all classes representing an output stream of bytes.
 class OutputStreamWriter
          An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
 class PrintStream
          A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
 class Reader
          Abstract class for reading character streams.
 class UnsupportedEncodingException
          The Character Encoding is not supported.
 class UTFDataFormatException
          Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
 class Writer
          Abstract class for writing to character streams.
 

Fields in java.io declared as Object
protected  Object Writer.lock
          The object used to synchronize operations on this stream.
protected  Object Reader.lock
          The object used to synchronize operations on this stream.
 

Methods in java.io with parameters of type Object
 void PrintStream.print(Object obj)
          Print an object.
 void PrintStream.println(Object x)
          Print an Object and then terminate the line.
 

Constructors in java.io with parameters of type Object
Writer(Object lock)
          Create a new character-stream writer whose critical sections will synchronize on the given object.
Reader(Object lock)
          Create a new character-stream reader whose critical sections will synchronize on the given object.
 

Uses of Object in java.lang
 

Subclasses of Object in java.lang
 class ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 class ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 class ArrayStoreException
          Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
 class Boolean
          The Boolean class wraps a value of the primitive type boolean in an object.
 class Byte
          The Byte class is the standard wrapper for byte values.
 class Character
          The Character class wraps a value of the primitive type char in an object.
 class Class
          Instances of the class Class represent classes and interfaces in a running Java application.
 class ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 class 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.
 class Double
          The Double class wraps a value of the primitive type double in an object.
 class Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 class Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 class Float
          The Float class wraps a value of primitive type float in an object.
 class 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.
 class IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 class IllegalMonitorStateException
          Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
 class IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 class IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 class 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.
 class 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.
 class Integer
          The Integer class wraps a value of the primitive type int in an object.
 class InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
 class Long
          The Long class wraps a value of the primitive type long in an object.
 class Math
          The class Math contains methods for performing basic numeric operations.
 class NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 class NoClassDefFoundError
          Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
 class NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 class 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.
 class 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.
 class 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.
 class RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 class SecurityException
          Thrown by the system to indicate a security violation.
 class Short
          The Short class is the standard wrapper for short values.
 class String
          The String class represents character strings.
 class StringBuffer
          A string buffer implements a mutable sequence of characters.
 class StringIndexOutOfBoundsException
          Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
 class System
          The System class contains several useful class fields and methods.
 class Thread
          A thread is a thread of execution in a program.
 class Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 class VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Methods in java.lang that return Object
 Object Class.newInstance()
          Creates a new instance of a class.
 

Methods in java.lang with parameters of type Object
 StringBuffer StringBuffer.append(Object obj)
          Appends the string representation of the Object argument to this string buffer.
 StringBuffer StringBuffer.insert(int offset, Object obj)
          Inserts the string representation of the Object argument into this string buffer.
 boolean String.equals(Object anObject)
          Compares this string to the specified object.
static String String.valueOf(Object obj)
          Returns the string representation of the Object argument.
 boolean Short.equals(Object obj)
          Compares this object to the specified object.
 boolean Object.equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 boolean Long.equals(Object obj)
          Compares this object against the specified object.
 boolean Integer.equals(Object obj)
          Compares this object to the specified object.
 boolean Float.equals(Object obj)
          Compares this object against some other object.
 boolean Double.equals(Object obj)
          Compares this object against the specified object.
 boolean Character.equals(Object obj)
          Compares this object against the specified object.
 boolean Byte.equals(Object obj)
          Compares this object to the specified object.
 boolean Boolean.equals(Object obj)
          Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object.
static void System.arraycopy(Object src, int src_position, Object dst, int dst_position, int length)
          Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
static int System.identityHashCode(Object x)
          Returns the same hashcode for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
 boolean Class.isInstance(Object obj)
          Determines if the specified Object is assignment-compatible with the object represented by this Class.
 

Uses of Object in java.util
 

Subclasses of Object in java.util
 class Calendar
          Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
 class Date
          The class Date represents a specific instant in time, with millisecond precision.
 class EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 class Hashtable
          This class implements a hashtable, which maps keys to values.
 class NoSuchElementException
          Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
 class Random
          An instance of this class is used to generate a stream of pseudorandom numbers.
 class Stack
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
 class Timer
          A facility for threads to schedule tasks for future execution in a background thread.
 class TimerTask
          A task that can be scheduled for one-time or repeated execution by a Timer.
 class TimeZone
          TimeZone represents a time zone offset, and also figures out daylight savings.
 class Vector
          The Vector class implements a growable array of objects.
 

Fields in java.util declared as Object
protected  Object[] Vector.elementData
          The array buffer into which the components of the vector are stored.
 

Methods in java.util that return Object
 Object Vector.elementAt(int index)
          Returns the component at the specified index.
 Object Vector.firstElement()
          Returns the first component of this vector.
 Object Vector.lastElement()
          Returns the last component of the vector.
 Object Stack.push(Object item)
          Pushes an item onto the top of this stack.
 Object Stack.pop()
          Removes the object at the top of this stack and returns that object as the value of this function.
 Object Stack.peek()
          Looks at the object at the top of this stack without removing it from the stack.
 Object Hashtable.get(Object key)
          Returns the value to which the specified key is mapped in this hashtable.
 Object Hashtable.put(Object key, Object value)
          Maps the specified key to the specified value in this hashtable.
 Object Hashtable.remove(Object key)
          Removes the key (and its corresponding value) from this hashtable.
 Object Enumeration.nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 

Methods in java.util with parameters of type Object
 void Vector.copyInto(Object[] anArray)
          Copies the components of this vector into the specified array.
 boolean Vector.contains(Object elem)
          Tests if the specified object is a component in this vector.
 int Vector.indexOf(Object elem)
          Searches for the first occurence of the given argument, testing for equality using the equals method.
 int Vector.indexOf(Object elem, int index)
          Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method.
 int Vector.lastIndexOf(Object elem)
          Returns the index of the last occurrence of the specified object in this vector.
 int Vector.lastIndexOf(Object elem, int index)
          Searches backwards for the specified object, starting from the specified index, and returns an index to it.
 void Vector.setElementAt(Object obj, int index)
          Sets the component at the specified index of this vector to be the specified object.
 void Vector.insertElementAt(Object obj, int index)
          Inserts the specified object as a component in this vector at the specified index.
 void Vector.addElement(Object obj)
          Adds the specified component to the end of this vector, increasing its size by one.
 boolean Vector.removeElement(Object obj)
          Removes the first occurrence of the argument from this vector.
 Object Stack.push(Object item)
          Pushes an item onto the top of this stack.
 int Stack.search(Object o)
          Returns the 1-based position where an object is on this stack.
 boolean Hashtable.contains(Object value)
          Tests if some key maps into the specified value in this hashtable.
 boolean Hashtable.containsKey(Object key)
          Tests if the specified object is a key in this hashtable.
 Object Hashtable.get(Object key)
          Returns the value to which the specified key is mapped in this hashtable.
 Object Hashtable.put(Object key, Object value)
          Maps the specified key to the specified value in this hashtable.
 Object Hashtable.remove(Object key)
          Removes the key (and its corresponding value) from this hashtable.
 boolean Date.equals(Object obj)
          Compares two dates for equality.
 boolean Calendar.equals(Object obj)
          Compares this calendar to the specified object.
 boolean Calendar.before(Object when)
          Compares the time field records.
 boolean Calendar.after(Object when)
          Compares the time field records.
 

Uses of Object in javax.microedition.io
 

Subclasses of Object in javax.microedition.io
 class ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found, or the protocol type is not supported.
 class Connector
          This class is factory for creating new Connection objects.
 class PushRegistry
          The PushRegistry maintains a list of inbound connections.
 

Uses of Object in javax.microedition.lcdui
 

Subclasses of Object in javax.microedition.lcdui
 class Alert
          An alert is a screen that shows data to the user and waits for a certain period of time before proceeding to the next Displayable.
 class AlertType
          The AlertType provides an indication of the nature of alerts.
 class Canvas
          The Canvas class is a base class for writing applications that need to handle low-level events and to issue graphics calls for drawing to the display.
 class ChoiceGroup
          A ChoiceGroup is a group of selectable elements intended to be placed within a Form.
 class Command
          The Command class is a construct that encapsulates the semantic information of an action.
 class CustomItem
          A CustomItem is customizable by subclassing to introduce new visual and interactive elements into Forms.
 class DateField
          A DateField is an editable component for presenting date and time (calendar) information that may be placed into a Form.
 class Display
          Display represents the manager of the display and input devices of the system.
 class Displayable
          An object that has the capability of being placed on the display.
 class Font
          The Font class represents fonts and font metrics.
 class Form
          A Form is a Screen that contains an arbitrary mixture of items: images, read-only text fields, editable text fields, editable date fields, gauges, choice groups, and custom items.
 class Gauge
          Implements a graphical display, such as a bar graph, of an integer value.
 class Graphics
          Provides simple 2D geometric rendering capability.
 class Image
          The Image class is used to hold graphical image data.
 class ImageItem
          An item that can contain an image.
 class Item
          A superclass for components that can be added to a Form.
 class List
          A Screen containing list of choices.
 class Screen
          The common superclass of all high-level user interface classes.
 class Spacer
          A blank, non-interactive item that has a settable minimum size.
 class StringItem
          An item that can contain a string.
 class TextBox
          The TextBox class is a Screen that allows the user to enter and edit text.
 class TextField
          A TextField is an editable text component that may be placed into a Form.
 class Ticker
          Implements a "ticker-tape", a piece of text that runs continuously across the display.
 

Uses of Object in javax.microedition.lcdui.game
 

Subclasses of Object in javax.microedition.lcdui.game
 class GameCanvas
          The GameCanvas class provides the basis for a game user interface.
 class Layer
          A Layer is an abstract class representing a visual element of a game.
 class LayerManager
          The LayerManager manages a series of Layers.
 class Sprite
          A Sprite is a basic visual element that can be rendered with one of several frames stored in an Image; different frames can be shown to animate the Sprite.
 class TiledLayer
          A TiledLayer is a visual element composed of a grid of cells that can be filled with a set of tile images.
 

Uses of Object in javax.microedition.media
 

Subclasses of Object in javax.microedition.media
 class Manager
          Manager is the access point for obtaining system dependent resources such as Players for multimedia processing.
 class MediaException
          A MediaException indicates an unexpected error condition in a method.
 

Methods in javax.microedition.media with parameters of type Object
 void PlayerListener.playerUpdate(Player player, String event, Object eventData)
          This method is called to deliver an event to a registered listener when a Player event is observed.
 

Uses of Object in javax.microedition.midlet
 

Subclasses of Object in javax.microedition.midlet
 class MIDlet
          A MIDlet is a MID Profile application.
 class MIDletStateChangeException
          Signals that a requested MIDlet state change failed.
 

Uses of Object in javax.microedition.pki
 

Subclasses of Object in javax.microedition.pki
 class CertificateException
          The CertificateException encapsulates an error that occurred while a Certificate is being used.
 

Uses of Object in javax.microedition.rms
 

Subclasses of Object in javax.microedition.rms
 class InvalidRecordIDException
          Thrown to indicate an operation could not be completed because the record ID was invalid.
 class RecordStore
          A class representing a record store.
 class RecordStoreException
          Thrown to indicate a general exception occurred in a record store operation.
 class RecordStoreFullException
          Thrown to indicate an operation could not be completed because the record store system storage is full.
 class RecordStoreNotFoundException
          Thrown to indicate an operation could not be completed because the record store could not be found.
 class RecordStoreNotOpenException
          Thrown to indicate that an operation was attempted on a closed record store.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 118 specification.