public final class MIDletIdentity
extends java.lang.Object
javax.microedition.event
.
The implementation is responsible for creating instances of MIDletIdentity
,
and creation of MIDletIdentity
instances is restricted. Applications
should not attempt to create instances of MIDletIdentity
.
This class provides identity information for a specific application including suite name, vendor, version, and Client.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClient()
Get the name of the Client for the application associated
with the specified
MIDletIdentity . |
java.lang.String |
getName()
Get the name of the application
|
java.lang.String |
getVendor()
Get vendor name of the application
|
java.lang.String |
getVersion()
Get version of the application
|
java.lang.String |
toString()
Returns the string representation of this
MIDletIdentity . |
public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getVendor()
public java.lang.String getClient()
MIDletIdentity
.
How a root client and the "Untrusted" client is defined and identified is determined by the authentication provider. This method will return an appropriate string reflecting the respective implementation.
If the security system is switched off, means applications are not
associated with any client for a particular implementation, this method
MUST return null
.
MIDletIdentity
was bound to when it was installed,
or null
if the current implementation does not support
client-based security.public java.lang.String toString()
MIDletIdentity
.toString
in class java.lang.Object
getVendor()
+ "; " +
getName()
+ "; " +
getVersion()
.Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.