Find JSRs
Submit this Search


Ad Banner
 
 
 
 

Java 2 Platform, Micro Edition, Foundation Specification v0

Java 2 Platform, Micro Edition, Foundation Specification v0.1

Last updated 04/26/2000

 

Introduction

The Java 2 Platform, Micro Edition, Foundation Profile is a J2ME Connected Device Configuration (CDC) profile. This profile is intended to be used by devices requiring a complete implementation of the Java virtual machine up to and including the entire Java 2 Platform, Standard Edition API. Typical implementations will use some subset of that API set depending on the additional profiles supported. This document describes the facilities that the J2ME Foundation Profile provides to the device and other J2ME profiles that use it. This specification was developed under the Java Community Process. More information on the Java Community Process is available at http://java.sun.com/jcp.

 

Adherence to the Java Language Specification

An implementation of the J2ME-CDC requires full support for the Java programming language as defined in the The Java Language Specification which can be found at http://java.sun.com/docs/books/jls/index.html. The specification is also published in book form by Addison-Wesley, ISBN 0-201-63451-1.

 

Adherence to the Java Virtual Machine Specification

An implementation of the J2ME-CDC requires full support for the Java virtual machine as defined in The Java Virtual Machine Specification which can be found at http://java.sun.com/docs/books/vmspec/index.html. The specification is also published in book form by Addison-Wesley, ISBN 0-201-43294-3.

 

Additional Virtual Machine Requirements

If an interface for invoking native methods is included in the J2ME-CDC implementation, that interface must be the Java Native Interface version 1.1, as well as the JNI enhancements included in Java 2. The Java Native Interface 1.1 specification and the Java 2 enhancements can be found at http://java.sun.com/products/jdk/1.3/docs/guide/jni/index.html.

If a debugging interface is included in the J2ME-CDC implementation, that interface must be the Java Virtual Machine Debugging Interface. The JVMDI specification can be found at http://java.sun.com/products/jdk/1.3/docs/guide/jpda/jvmdi-spec.html.

If a profiling interface is included in the J2ME-CDC implementation, that interface must be the Java Virtual Machine Profiling Interface. The JVMPI specification can be found at http://java.sun.com/products/jdk/1.3/docs/guide/jvmpi/index.html

 

Relationship to the J2SE 1.3 API Specification

The Foundation Profile is build on the J2ME CDC API which is based primarily on the J2SE 1.3 API. Only the APIs described in this specification can exist in an implementation of the CDC.

 

Relationship to the CLDC Specification

The Foundation Profile is based on the J2ME CDC API which includes all Java language APIs defined in the J2ME-CLDC specification. This includes both java.* packages defined by the CLDC, as well as the javax.microedition package defined in the CLDC. In many instances, APIs that were removed from the J2SE API by the CLDC specification are included in the CDC specification. The complete J2ME-CLDC specification can be found at http://java.sun.com/aboutJava/communityprocess/review/jsr030/index.html.

 

Class Hierarchy

The following is a list of classes used in J2ME Foundation Profile. The details can be seen in the javadoc generated section of this specification.

class java.lang.Object

class java.util.AbstractCollection (implements java.util.Collection)

class java.util.AbstractList (implements java.util.List)

class java.util.AbstractSequentialList

class java.util.LinkedList (implements java.lang.Cloneable, java.util.List, java.io.Serializable)

class java.util.ArrayList (implements java.lang.Cloneable, java.util.List, java.io.Serializable)

class java.util.Vector (implements java.lang.Cloneable, java.util.List, java.io.Serializable)

class java.util.Stack

class java.util.AbstractSet (implements java.util.Set)

class java.util.HashSet (implements java.lang.Cloneable, java.io.Serializable, java.util.Set)

class java.util.TreeSet (implements java.lang.Cloneable, java.io.Serializable, java.util.SortedSet)

class java.util.AbstractMap (implements java.util.Map)

class java.util.HashMap (implements java.lang.Cloneable, java.util.Map, java.io.Serializable)

class java.util.TreeMap (implements java.lang.Cloneable, java.io.Serializable, java.util.SortedMap)

class java.util.WeakHashMap (implements java.util.Map)

class java.security.AccessControlContext

class java.security.AccessController

class java.lang.reflect.AccessibleObject

class java.lang.reflect.Constructor (implements java.lang.reflect.Member)

class java.lang.reflect.Field (implements java.lang.reflect.Member)

class java.lang.reflect.Method (implements java.lang.reflect.Member)

class java.util.zip.Adler32 (implements java.util.zip.Checksum)

class java.security.AlgorithmParameterGenerator

class java.security.AlgorithmParameterGeneratorSpi

class java.security.AlgorithmParameters

class java.security.AlgorithmParametersSpi

class java.text.Annotation

class java.lang.reflect.Array

class java.util.Arrays

class java.text.AttributedCharacterIterator.Attribute (implements java.io.Serializable)

class java.text.AttributedString

class java.util.jar.Attributes (implements java.lang.Cloneable, java.util.Map)

class java.util.jar.Attributes.Name

class java.net.Authenticator

class java.util.BitSet (implements java.lang.Cloneable, java.io.Serializable)

class java.lang.Boolean (implements java.io.Serializable)

class java.text.BreakIterator (implements java.lang.Cloneable)

class java.util.Calendar (implements java.lang.Cloneable, java.io.Serializable)

class java.util.GregorianCalendar

class java.security.cert.Certificate (implements java.io.Serializable)

class java.security.cert.X509Certificate (implements java.security.cert.X509Extension)

class java.security.cert.Certificate.CertificateRep (implements java.io.Serializable)

class java.security.cert.CertificateFactory

class java.security.cert.CertificateFactorySpi

class java.lang.Character (implements java.lang.Comparable, java.io.Serializable)

class java.lang.Character.Subset

class java.lang.Character.UnicodeBlock

class java.lang.Class (implements java.io.Serializable)

class java.lang.ClassLoader

class java.security.SecureClassLoader

class java.net.URLClassLoader

class java.security.CodeSource (implements java.io.Serializable)

class java.text.CollationElementIterator

class java.text.CollationKey (implements java.lang.Comparable)

class java.text.Collator (implements java.lang.Cloneable, java.util.Comparator)

class java.text.RuleBasedCollator

class java.util.Collections

class java.lang.Compiler

class java.awt.ComponentOrientation (implements java.io.Serializable)

class javax.microedition.io.Connector

class java.net.ContentHandler

class java.util.zip.CRC32 (implements java.util.zip.Checksum)

class java.security.cert.CRL

class java.security.cert.X509CRL (implements java.security.cert.X509Extension)

class java.net.DatagramPacket

class java.net.DatagramSocket

class java.net.MulticastSocket

class java.net.DatagramSocketImpl (implements java.net.SocketOptions)

class java.util.Date (implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable)

class java.text.DateFormatSymbols (implements java.lang.Cloneable, java.io.Serializable)

class java.text.DecimalFormatSymbols (implements java.lang.Cloneable, java.io.Serializable)

class java.util.zip.Deflater

class java.util.Dictionary

class java.util.Hashtable (implements java.lang.Cloneable, java.util.Map, java.io.Serializable)

class java.util.Properties

class java.security.Provider

class java.security.spec.DSAParameterSpec (implements java.security.spec.AlgorithmParameterSpec, java.security.interfaces.DSAParams)

class java.security.spec.DSAPrivateKeySpec (implements java.security.spec.KeySpec)

class java.security.spec.DSAPublicKeySpec (implements java.security.spec.KeySpec)

class java.security.spec.EncodedKeySpec (implements java.security.spec.KeySpec)

class java.security.spec.PKCS8EncodedKeySpec

class java.security.spec.X509EncodedKeySpec

class java.util.EventObject (implements java.io.Serializable)

class java.text.FieldPosition

class java.io.File (implements java.lang.Comparable, java.io.Serializable)

class java.io.FileDescriptor

class java.text.Format (implements java.lang.Cloneable, java.io.Serializable)

class java.text.DateFormat

class java.text.SimpleDateFormat

class java.text.MessageFormat

class java.text.NumberFormat

class java.text.ChoiceFormat

class java.text.DecimalFormat

class java.security.GuardedObject (implements java.io.Serializable)

class java.security.Identity (implements java.security.Principal, java.io.Serializable)

class java.security.IdentityScope

class java.security.Signer

class java.net.InetAddress (implements java.io.Serializable)

class java.util.zip.Inflater

class java.io.InputStream

class java.io.ByteArrayInputStream

class java.io.FileInputStream

class java.io.FilterInputStream

class java.io.BufferedInputStream

class java.util.zip.CheckedInputStream

class java.io.DataInputStream (implements java.io.DataInput)

class java.security.DigestInputStream

class java.util.zip.InflaterInputStream

class java.util.zip.GZIPInputStream

class java.util.zip.ZipInputStream (implements java.util.zip.ZipConstants)

class java.util.jar.JarInputStream

class java.io.PushbackInputStream

class java.io.ObjectInputStream (implements java.io.ObjectInput, java.io.ObjectStreamConstants)

class java.io.PipedInputStream

class java.io.SequenceInputStream

class java.security.KeyFactory

class java.security.KeyFactorySpi

class java.security.KeyPair (implements java.io.Serializable)

class java.security.KeyPairGeneratorSpi

class java.security.KeyPairGenerator

class java.security.KeyStore

class java.security.KeyStoreSpi

class java.util.Locale (implements java.lang.Cloneable, java.io.Serializable)

class java.text.resources.LocaleData

class java.util.jar.Manifest (implements java.lang.Cloneable)

class java.lang.Math

class java.security.MessageDigestSpi

class java.security.MessageDigest

class java.lang.reflect.Modifier

class java.lang.Number (implements java.io.Serializable)

class java.math.BigInteger (implements java.lang.Comparable)

class java.lang.Byte (implements java.lang.Comparable)

class java.lang.Double (implements java.lang.Comparable)

class java.lang.Float (implements java.lang.Comparable)

class java.lang.Integer (implements java.lang.Comparable)

class java.lang.Long (implements java.lang.Comparable)

class java.lang.Short (implements java.lang.Comparable)

class java.io.ObjectInputStream.GetField

class java.io.ObjectOutputStream.PutField

class java.io.ObjectStreamClass (implements java.io.Serializable)

class java.io.ObjectStreamField (implements java.lang.Comparable)

class java.util.Observable

class java.io.OutputStream

class java.io.ByteArrayOutputStream

class java.io.FileOutputStream

class java.io.FilterOutputStream

class java.io.BufferedOutputStream

class java.util.zip.CheckedOutputStream

class java.io.DataOutputStream (implements java.io.DataOutput)

class java.util.zip.DeflaterOutputStream

class java.util.zip.GZIPOutputStream

class java.util.zip.ZipOutputStream (implements java.util.zip.ZipConstants)

class java.util.jar.JarOutputStream

class java.security.DigestOutputStream

class java.io.PrintStream

class java.io.ObjectOutputStream (implements java.io.ObjectOutput, java.io.ObjectStreamConstants)

class java.io.PipedOutputStream

class java.lang.Package

class java.text.ParsePosition

class java.net.PasswordAuthentication

class java.security.Permission (implements java.security.Guard, java.io.Serializable)

class java.security.AllPermission

class java.security.BasicPermission (implements java.io.Serializable)

class java.net.NetPermission

class java.util.PropertyPermission

class java.lang.reflect.ReflectPermission

class java.lang.RuntimePermission

class java.security.SecurityPermission

class java.io.SerializablePermission

class java.io.FilePermission (implements java.io.Serializable)

class java.net.SocketPermission (implements java.io.Serializable)

class java.security.UnresolvedPermission (implements java.io.Serializable)

class java.security.PermissionCollection (implements java.io.Serializable)

class java.security.Permissions (implements java.io.Serializable)

class java.security.Policy

class java.lang.Process

class java.security.ProtectionDomain

class java.lang.reflect.Proxy (implements java.io.Serializable)

class java.util.Random (implements java.io.Serializable)

class java.security.SecureRandom

class java.io.RandomAccessFile (implements java.io.DataInput, java.io.DataOutput)

class java.io.Reader

class java.io.BufferedReader

class java.io.LineNumberReader

class java.io.CharArrayReader

class java.io.FilterReader

class java.io.PushbackReader

class java.io.InputStreamReader

class java.io.FileReader

class java.io.PipedReader

class java.io.StringReader

class java.lang.ref.Reference

class java.lang.ref.PhantomReference

class java.lang.ref.SoftReference

class java.lang.ref.WeakReference

class java.lang.ref.ReferenceQueue

class java.util.ResourceBundle

class java.text.resources.DateFormatZoneData

class java.text.resources.DateFormatZoneData_en

class java.util.ListResourceBundle

class java.text.resources.LocaleElements

class java.text.resources.LocaleElements_en

class java.text.resources.LocaleElements_en_US

class java.util.PropertyResourceBundle

class java.security.spec.RSAKeyGenParameterSpec (implements java.security.spec.AlgorithmParameterSpec)

class java.security.spec.RSAPrivateKeySpec (implements java.security.spec.KeySpec)

class java.security.spec.RSAPrivateCrtKeySpec

class java.security.spec.RSAPublicKeySpec (implements java.security.spec.KeySpec)

class java.lang.Runtime

class java.security.SecureRandomSpi (implements java.io.Serializable)

class java.security.Security

class java.lang.SecurityManager

class java.net.ServerSocket

class java.security.SignatureSpi

class java.security.Signature

class java.security.SignedObject (implements java.io.Serializable)

class java.net.Socket

class java.net.SocketImpl (implements java.net.SocketOptions)

class java.io.StreamTokenizer

class java.lang.StrictMath

class java.lang.String (implements java.lang.Comparable, java.io.Serializable)

class java.lang.StringBuffer (implements java.io.Serializable)

class java.text.StringCharacterIterator (implements java.text.CharacterIterator)

class java.util.StringTokenizer (implements java.util.Enumeration)

class java.lang.System

class java.lang.Thread (implements java.lang.Runnable)

class java.lang.ThreadGroup

class java.lang.ThreadLocal

class java.lang.InheritableThreadLocal

class java.lang.Throwable (implements java.io.Serializable)

class java.lang.Error

class java.lang.LinkageError

class java.lang.ClassCircularityError

class java.lang.ClassFormatError

class java.lang.UnsupportedClassVersionError

class java.lang.ExceptionInInitializerError

class java.lang.IncompatibleClassChangeError

class java.lang.AbstractMethodError

class java.lang.IllegalAccessError

class java.lang.InstantiationError

class java.lang.NoSuchFieldError

class java.lang.NoSuchMethodError

class java.lang.NoClassDefFoundError

class java.lang.UnsatisfiedLinkError

class java.lang.VerifyError

class java.lang.ThreadDeath

class java.lang.VirtualMachineError

class java.lang.InternalError

class java.lang.OutOfMemoryError

class java.lang.StackOverflowError

class java.lang.UnknownError

class java.lang.Exception

class java.security.acl.AclNotFoundException

class java.lang.ClassNotFoundException

class java.lang.CloneNotSupportedException

class java.util.zip.DataFormatException

class java.security.GeneralSecurityException

class java.security.cert.CertificateException

class java.security.cert.CertificateEncodingException

class java.security.cert.CertificateExpiredException

class java.security.cert.CertificateNotYetValidException

class java.security.cert.CertificateParsingException

class java.security.cert.CRLException

class java.security.DigestException

class java.security.InvalidAlgorithmParameterException

class java.security.spec.InvalidKeySpecException

class java.security.spec.InvalidParameterSpecException

class java.security.KeyException

class java.security.InvalidKeyException

class java.security.KeyManagementException

class java.security.KeyStoreException

class java.security.NoSuchAlgorithmException

class java.security.NoSuchProviderException

class java.security.SignatureException

class java.security.UnrecoverableKeyException

class java.lang.IllegalAccessException

class java.lang.InstantiationException

class java.lang.InterruptedException

class java.lang.reflect.InvocationTargetException

class java.io.IOException

class java.io.CharConversionException

class javax.microedition.io.ConnectionNotFoundException

class java.io.EOFException

class java.io.FileNotFoundException

class java.io.InterruptedIOException

class java.net.MalformedURLException

class java.io.ObjectStreamException

class java.io.InvalidClassException

class java.io.InvalidObjectException

class java.io.NotActiveException

class java.io.NotSerializableException

class java.io.OptionalDataException

class java.io.StreamCorruptedException

class java.io.WriteAbortedException

class java.net.ProtocolException

class java.net.SocketException

class java.net.BindException

class java.net.ConnectException

class java.net.NoRouteToHostException

class java.io.SyncFailedException

class java.net.UnknownHostException

class java.net.UnknownServiceException

class java.io.UnsupportedEncodingException

class java.io.UTFDataFormatException

class java.util.zip.ZipException

class java.util.jar.JarException

class java.security.acl.LastOwnerException

class java.lang.NoSuchFieldException

class java.lang.NoSuchMethodException

class java.security.acl.NotOwnerException

class java.text.ParseException

class java.security.PrivilegedActionException

class java.lang.RuntimeException

class java.lang.ArithmeticException

class java.lang.ArrayStoreException

class java.lang.ClassCastException

class java.util.ConcurrentModificationException

class java.util.EmptyStackException

class java.lang.IllegalArgumentException

class java.lang.IllegalThreadStateException

class java.security.InvalidParameterException

class java.lang.NumberFormatException

class java.lang.IllegalMonitorStateException

class java.lang.IllegalStateException

class java.lang.IndexOutOfBoundsException

class java.lang.ArrayIndexOutOfBoundsException

class java.lang.StringIndexOutOfBoundsException

class java.util.MissingResourceException

class java.lang.NegativeArraySizeException

class java.util.NoSuchElementException

class java.lang.NullPointerException

class java.security.ProviderException

class java.lang.SecurityException

class java.security.AccessControlException

class java.lang.reflect.UndeclaredThrowableException

class java.lang.UnsupportedOperationException

class java.util.TooManyListenersException

class java.util.Timer

class java.util.TimerTask (implements java.lang.Runnable)

class java.util.TimeZone (implements java.lang.Cloneable, java.io.Serializable)

class java.util.SimpleTimeZone

class java.net.URL (implements java.io.Serializable)

class java.net.URLConnection

class java.net.HttpURLConnection

class java.net.JarURLConnection

class java.net.URLDecoder

class java.net.URLEncoder

class java.net.URLStreamHandler

class java.lang.Void

class java.io.Writer

class java.io.BufferedWriter

class java.io.CharArrayWriter

class java.io.FilterWriter

class java.io.OutputStreamWriter

class java.io.FileWriter

class java.io.PipedWriter

class java.io.PrintWriter

class java.io.StringWriter

class java.security.cert.X509CRLEntry (implements java.security.cert.X509Extension)

class java.util.zip.ZipEntry (implements java.lang.Cloneable, java.util.zip.ZipConstants)

class java.util.jar.JarEntry

class java.util.zip.ZipFile (implements java.util.zip.ZipConstants)

class java.util.jar.JarFile

Interface Hierarchy

interface java.security.spec.AlgorithmParameterSpec

interface java.security.Certificate

interface java.util.zip.Checksum

interface java.lang.Cloneable

interface java.security.acl.AclEntry

interface java.text.CharacterIterator

interface java.text.AttributedCharacterIterator

interface java.util.Collection

interface java.util.List

interface java.util.Set

interface java.util.SortedSet

interface java.lang.Comparable

interface java.util.Comparator

interface javax.microedition.io.Connection

interface javax.microedition.io.DatagramConnection

interface javax.microedition.io.InputConnection

interface javax.microedition.io.RandomAccessConnection (also extends java.io.DataInput, java.io.DataOutput, javax.microedition.io.OutputConnection)

interface javax.microedition.io.DirectoryConnection

interface javax.microedition.io.StreamConnection (also extends javax.microedition.io.OutputConnection)

interface javax.microedition.io.ContentConnection

interface javax.microedition.io.OutputConnection

interface javax.microedition.io.RandomAccessConnection (also extends java.io.DataInput, java.io.DataOutput, javax.microedition.io.InputConnection)

interface javax.microedition.io.DirectoryConnection

interface javax.microedition.io.StreamConnection (also extends javax.microedition.io.InputConnection)

interface javax.microedition.io.ContentConnection

interface javax.microedition.io.StreamConnectionNotifier

interface javax.microedition.io.ConnectionBaseInterface

interface java.net.ContentHandlerFactory

interface java.net.DatagramSocketImplFactory

interface java.io.DataInput

interface javax.microedition.io.Datagram (also extends java.io.DataOutput)

interface java.io.ObjectInput

interface javax.microedition.io.RandomAccessConnection (also extends java.io.DataOutput, javax.microedition.io.InputConnection, javax.microedition.io.OutputConnection)

interface javax.microedition.io.DirectoryConnection

interface java.io.DataOutput

interface javax.microedition.io.Datagram (also extends java.io.DataInput)

interface java.io.ObjectOutput

interface javax.microedition.io.RandomAccessConnection (also extends java.io.DataInput, javax.microedition.io.InputConnection, javax.microedition.io.OutputConnection)

interface javax.microedition.io.DirectoryConnection

interface java.security.DomainCombiner

interface java.security.interfaces.DSAKey

interface java.security.interfaces.DSAPrivateKey (also extends java.security.PrivateKey)

interface java.security.interfaces.DSAPublicKey (also extends java.security.PublicKey)

interface java.security.interfaces.DSAKeyPairGenerator

interface java.security.interfaces.DSAParams

interface java.util.Enumeration

interface java.util.EventListener

interface java.io.FileFilter

interface java.io.FilenameFilter

interface java.net.FileNameMap

interface java.security.Guard

interface java.lang.reflect.InvocationHandler

interface java.util.Iterator

interface java.util.ListIterator

interface java.security.spec.KeySpec

interface java.util.Map

interface java.util.SortedMap

interface java.util.Map.Entry

interface java.lang.reflect.Member

interface java.io.ObjectInputValidation

interface java.io.ObjectStreamConstants

interface java.util.Observer

interface java.security.acl.Owner

interface java.security.acl.Acl

interface java.security.acl.Permission

interface java.security.Principal

interface java.security.acl.Group

interface java.security.PrivilegedAction

interface java.security.PrivilegedExceptionAction

interface java.security.interfaces.RSAKey

interface java.security.interfaces.RSAPrivateKey (also extends java.security.PrivateKey)

interface java.security.interfaces.RSAPrivateCrtKey

interface java.security.interfaces.RSAPublicKey (also extends java.security.PublicKey)

interface java.lang.Runnable

interface java.io.Serializable

interface java.io.Externalizable

interface java.security.Key

interface java.security.PrivateKey

interface java.security.interfaces.DSAPrivateKey (also extends java.security.interfaces.DSAKey)

interface java.security.interfaces.RSAPrivateKey (also extends java.security.interfaces.RSAKey)

interface java.security.interfaces.RSAPrivateCrtKey

interface java.security.PublicKey

interface java.security.interfaces.DSAPublicKey (also extends java.security.interfaces.DSAKey)

interface java.security.interfaces.RSAPublicKey (also extends java.security.interfaces.RSAKey)

interface java.net.SocketImplFactory

interface java.net.SocketOptions

interface java.net.URLStreamHandlerFactory

interface java.security.cert.X509Extension


Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.


Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo, Alto, California, 94303, U.S.A All Rights Reserved.