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.

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

MID Profile

Uses of Class
java.lang.Object

Packages that use Object
java.io Provides for system input and output through data streams. 
java.lang MID Profile Language Classes included from Java 2 Standard Edition. 
java.util MID Profile Utility Classes included from Java 2 Standard Edition. 
javax.microedition.io MID Profile includes networking support based on the GenericConnection framework from the Connected Limited Device Configuration
javax.microedition.lcdui The UI API provides a set of features for implementation of user interfaces for MIDP applications. 
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. 
 

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 input stream lets an application write primitive Java data types to an output stream in a portable way.
 interface 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 according to a specified character encoding.
 interface InterruptedIOException
          Signals that an I/O operation has been interrupted.
 interface 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 according to a specified character encoding.
 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.
 interface UnsupportedEncodingException
          The Character Encoding is not supported.
 interface 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 Reader.lock
          The object used to synchronize operations on this stream.
protected  Object Writer.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
Reader.Reader(Object lock)
          Create a new character-stream reader whose critical sections will synchronize on the given object.
Writer.Writer(Object lock)
          Create a new character-stream writer whose critical sections will synchronize on the given object.
 

Uses of Object in java.lang
 

Subclasses of Object in java.lang
 interface ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 interface ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 interface 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.
 interface ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 interface ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using: The forName method in class Class.
 interface Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 interface Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 interface 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.
 interface IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 interface 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.
 interface IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 interface IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 interface 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.
 interface 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.
 interface InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread.
 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.
 interface NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 interface NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 interface 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.
 interface 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.
 interface RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 interface SecurityException
          Thrown by the security manager 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.
 interface 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.
 interface 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
 boolean Object.equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 boolean Character.equals(Object obj)
          Compares this object against the specified object.
 boolean Long.equals(Object obj)
          Compares this object against the specified object.
 boolean Class.isInstance(Object obj)
          Determines if the specified Object is assignment-compatible with the object represented by this Class.
 boolean Byte.equals(Object obj)
          Compares this object to the specified 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 Integer.equals(Object obj)
          Compares this object to the specified 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 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.
 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.
 

Uses of Object in java.util
 

Subclasses of Object in java.util
 class Calendar
          Calendar is an abstract class for getting and setting dates using a set of integer fields such as YEAR, MONTH, DAY, and so on.
 class Date
          The class Date represents a specific instant in time, with millisecond precision.
 interface 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.
 interface 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.
 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.
 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.
 

Uses of Object in javax.microedition.io
 

Subclasses of Object in javax.microedition.io
 interface ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found
 class Connector
          This class is a placeholder for the static methods used to create all the connection objects.
 

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 screen.
 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 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, and choice groups.
 class Gauge
          The Gauge class implements a bar graph display of a value intended for use in a form.
 class Graphics
          Provides simple 2D geometric rendering capability.
 class Image
           The Image class is used to hold graphical image data.
 class ImageItem
          A class that provides layout control when Image objects are added to a Form or to an Alert.
 class Item
          A superclass for components that can be added to a Form and Alert.
 class List
          The List class is a Screen containing list of choices.
 class Screen
          The common superclass of all high-level user interface classes.
 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.midlet
 

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

Uses of Object in javax.microedition.rms
 

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


MID Profile

Copyright © 2006 Sun Microsystems, 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 37 specification.