Uses of Class
java.lang.String

Packages that use String
com.siemens.mp   
com.siemens.mp.gsm Siemens GSM package provides some functionality for voice calls and SMS support.  
com.siemens.mp.io Siemens IO package offers support for data transfer operations to and from the handset’s file system as well as using external SMS or IrDA (infrared interface) connections or the internal SMS loopback interface.  
com.siemens.mp.lcdui Siemens LCDUI API provides an improved implementation of the javax.microedition.lcdui.Image class. 
com.siemens.mp.media The Siemens Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification.  
com.siemens.mp.ui Siemens User Interface API provides the base class for com.siemens.mp.lcdui.Image
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 String in com.siemens.mp
 

Methods in com.siemens.mp that return String
static String MIDlet.getAppProperty(String key)
          Lookup the attribute from the jar files' descriptors and return it as a String
static String[] MIDlet.getSupportedProtocols()
          Get schemes supported by platformRequest
 

Methods in com.siemens.mp with parameters of type String
static String MIDlet.getAppProperty(String key)
          Lookup the attribute from the jar files' descriptors and return it as a String
static boolean MIDlet.platformRequest(String locator)
          Start native application.
 

Constructors in com.siemens.mp with parameters of type String
NotAllowedException(String msg)
           
 

Uses of String in com.siemens.mp.gsm
 

Methods in com.siemens.mp.gsm that return String
static String[] PhoneBook.getMDN()
          Returns a String array which contains all the numbers from MDN (Missed Dialing Numbers) list.
 

Methods in com.siemens.mp.gsm with parameters of type String
static void Call.start(String number)
          Starts a phone call.
static int SMS.send(String number, String data)
          Sends an sms to the specified number.
static int SMS.send(String number, byte[] data)
          Sends a data sms to the specified number.
 

Uses of String in com.siemens.mp.io
 

Fields in com.siemens.mp.io declared as String
static String File.STORAGE_DRIVE
           
 

Methods in com.siemens.mp.io that return String
static String[] File.list(String pathName)
          Lists the content of a directory
static String File.buildPath(String fileName)
           
 

Methods in com.siemens.mp.io with parameters of type String
static int File.checkFileName(String fileName)
          checkFileName
static int File.debugWrite(String fileName, String infoString)
          Writes a given string at the end of the file specified by the file name.
 int File.open(String fileName)
          Opens the file specified by the file name and prepares it for reading or writing.
static int File.exists(String fileName)
          Checks if the file specified by the file name exists
static int File.delete(String fileName)
          Deletes the file specified by its file name from the storage directory.
static int File.rename(String source, String dest)
          Renames a file from source filename to destination filename.
static int File.copy(String source, String dest)
          Creates a file copy.
static boolean File.isDirectory(String pathName)
          Checks if the given path specifies a directory
static String[] File.list(String pathName)
          Lists the content of a directory
static String File.buildPath(String fileName)
           
 

Constructors in com.siemens.mp.io with parameters of type String
Connection(String connectTo)
          Opens a new connection and creates a Connection object for it.
 

Uses of String in com.siemens.mp.lcdui
 

Methods in com.siemens.mp.lcdui with parameters of type String
static void Image.writeBmpToFile(Image image, String filename)
          write an image to a BMP picture file
static Image Image.createImageFromFile(String filename, boolean ScaleToFullScreen)
          Create an image from a PNG/JPG/GIF/BMP file.
static Image Image.createImageFromFile(String filename, int ScaleToWidth, int ScaleToHeight)
          Create an image from a PNG/JPG/GIF/BMP file.
 

Uses of String in com.siemens.mp.media
 

Fields in com.siemens.mp.media declared as String
static String PlayerListener.STARTED
          Posted when a Player is started.
static String PlayerListener.STOPPED
          Posted when a Player stops in response to the stop method call.
static String PlayerListener.STOPPED_AT_TIME
          Posted when a Player is stopped as responding to the setStopTime call using the StopTimeControl.
static String PlayerListener.END_OF_MEDIA
          Posted when a Player has reached the end of the media.
static String PlayerListener.DURATION_UPDATED
          Posted when the duration of a Player is updated.
static String PlayerListener.DEVICE_UNAVAILABLE
          Posted when the system or another higher priority application has temporarily taken control of an exclusive device which was previously available to the Player.
static String PlayerListener.DEVICE_AVAILABLE
          Posted when the system or another higher priority application has released an exclusive device which is now available to the Player.
static String PlayerListener.VOLUME_CHANGED
          Posted when the volume of an audio device is changed.
static String PlayerListener.SIZE_CHANGED
          Posted when the size of the video is changed either because the source video size or the display size is changed.
static String PlayerListener.ERROR
          Posted when an error had occurred.
static String PlayerListener.CLOSED
          Posted when a Player is closed.
static String PlayerListener.RECORD_STARTED
          Posted when recording is started.
static String PlayerListener.RECORD_STOPPED
          Posted when recording is stopped.
static String PlayerListener.RECORD_ERROR
          Posted when an error occurs during the recording.
static String PlayerListener.BUFFERING_STARTED
          Posted when the Player enters into a buffering mode.
static String PlayerListener.BUFFERING_STOPPED
          Posted when the Player leaves the buffering mode.
static String Manager.TONE_DEVICE_LOCATOR
          The locator to create a tone Player to play back tone sequences. i.e.
static String Manager.MIDI_DEVICE_LOCATOR
           
 

Methods in com.siemens.mp.media that return String
 String Player.getContentType()
          Get the content type of the media that's being played back by this Player.
static String[] Manager.getSupportedContentTypes(String protocol)
          Return the list of supported content types for the given protocol.
static String[] Manager.getSupportedProtocols(String content_type)
          Return the list of supported protocols given the content type.
 

Methods in com.siemens.mp.media with parameters of type String
 Control Controllable.getControl(String controlType)
          Obtain the object that implements the specified Control interface.
 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.
static String[] Manager.getSupportedContentTypes(String protocol)
          Return the list of supported content types for the given protocol.
static String[] Manager.getSupportedProtocols(String content_type)
          Return the list of supported protocols given the content type.
static Player Manager.createPlayer(String locator)
          Create a Player from the input locator.
static Player Manager.createPlayer(InputStream stream, String type)
          Create a Player to play back media from an InputStream.
 

Constructors in com.siemens.mp.media with parameters of type String
MediaException(String reason)
          Constructs a MediaException with the specified detail message.
 

Uses of String in com.siemens.mp.ui
 

Methods in com.siemens.mp.ui with parameters of type String
static Image Image.createImageWithScaling(String name)
          Creates an immutable image from decoded image data obtained from the named resource.
static Image Image.createImageWithoutScaling(String name)
          Creates an immutable image from decoded image data obtained from the named resource.
 

Constructors in com.siemens.mp.ui with parameters of type String
Image(String name, boolean doScale)
          Creates a new image from PNG/JPG/GIF/BMP resource
 

Uses of String in java.io
 

Methods in java.io that return String
 String ByteArrayOutputStream.toString()
          Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
 String DataInput.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 String DataInputStream.readUTF()
          See the general contract of the readUTF method of DataInput.
static String DataInputStream.readUTF(DataInput in)
          Reads from the stream in a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
 

Methods in java.io with parameters of type String
 void DataOutput.writeChars(String s)
          Writes every character in the string s, to the output stream, in order, two bytes per character.
 void DataOutput.writeUTF(String str)
          Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s.
 void DataOutputStream.writeChars(String s)
          Writes a string to the underlying output stream as a sequence of characters.
 void DataOutputStream.writeUTF(String str)
          Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
 void OutputStreamWriter.write(String str, int off, int len)
          Write a portion of a string.
 void PrintStream.print(String s)
          Print a string.
 void PrintStream.println(String x)
          Print a String and then terminate the line.
 void Writer.write(String str)
          Write a string.
 void Writer.write(String str, int off, int len)
          Write a portion of a string.
 

Constructors in java.io with parameters of type String
EOFException(String s)
          Constructs an EOFException with the specified detail message.
IOException(String s)
          Constructs an IOException with the specified detail message.
InputStreamReader(InputStream is, String enc)
          Create an InputStreamReader that uses the named character encoding.
InterruptedIOException(String s)
          Constructs an InterruptedIOException with the specified detail message.
OutputStreamWriter(OutputStream os, String enc)
          Create an OutputStreamWriter that uses the named character encoding.
UTFDataFormatException(String s)
          Constructs a UTFDataFormatException with the specified detail message.
UnsupportedEncodingException(String s)
          Constructs an UnsupportedEncodingException with a detail message.
 

Uses of String in java.lang
 

Methods in java.lang that return String
 String Boolean.toString()
          Returns a String object representing this Boolean's value.
 String Byte.toString()
          Returns a String object representing this Byte's value.
 String Character.toString()
          Returns a String object representing this character's value.
 String Class.toString()
          Converts the object to a string.
 String Class.getName()
          Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
static String Integer.toString(int i, int radix)
          Creates a string representation of the first argument in the radix specified by the second argument.
static String Integer.toHexString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 16.
static String Integer.toOctalString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 8.
static String Integer.toBinaryString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 2.
static String Integer.toString(int i)
          Returns a new String object representing the specified integer.
 String Integer.toString()
          Returns a String object representing this Integer's value.
static String Long.toString(long i, int radix)
          Creates a string representation of the first argument in the radix specified by the second argument.
static String Long.toString(long i)
          Returns a new String object representing the specified integer.
 String Long.toString()
          Returns a String object representing this Long's value.
 String Object.toString()
          Returns a string representation of the object.
 String Short.toString()
          Returns a String object representing this Short's value.
 String String.substring(int beginIndex)
          Returns a new string that is a substring of this string.
 String String.substring(int beginIndex, int endIndex)
          Returns a new string that is a substring of this string.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
 String String.replace(char oldChar, char newChar)
          Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
 String String.toLowerCase()
          Converts all of the characters in this String to lower case.
 String String.toUpperCase()
          Converts all of the characters in this String to upper case.
 String String.trim()
          Removes white space from both ends of this string.
 String String.toString()
          This object (which is already a string!)
static String String.valueOf(Object obj)
          Returns the string representation of the Object argument.
static String String.valueOf(char[] data)
          Returns the string representation of the char array argument.
static String String.valueOf(char[] data, int offset, int count)
          Returns the string representation of a specific subarray of the char array argument.
static String String.valueOf(boolean b)
          Returns the string representation of the boolean argument.
static String String.valueOf(char c)
          Returns the string representation of the char argument.
static String String.valueOf(int i)
          Returns the string representation of the int argument.
static String String.valueOf(long l)
          Returns the string representation of the long argument.
 String StringBuffer.toString()
          Converts to a string representing the data in this string buffer.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
 String Thread.toString()
          Returns a string representation of this thread, including a unique number that identifies the thread and the thread's priority.
 String Throwable.getMessage()
          Returns the error message string of this throwable object.
 String Throwable.toString()
          Returns a short description of this throwable object.
 

Methods in java.lang with parameters of type String
static byte Byte.parseByte(String s)
          Assuming the specified String represents a byte, returns that byte's value.
static byte Byte.parseByte(String s, int radix)
          Assuming the specified String represents a byte, returns that byte's value.
static Class Class.forName(String className)
          Returns the Class object associated with the class with the given string name.
 InputStream Class.getResourceAsStream(String name)
          Finds a resource with a given name.
static int Integer.parseInt(String s, int radix)
          Parses the string argument as a signed integer in the radix specified by the second argument.
static int Integer.parseInt(String s)
          Parses the string argument as a signed decimal integer.
static Integer Integer.valueOf(String s, int radix)
          Returns a new Integer object initialized to the value of the specified String.
static Integer Integer.valueOf(String s)
          Returns a new Integer object initialized to the value of the specified String.
static long Long.parseLong(String s, int radix)
          Parses the string argument as a signed long in the radix specified by the second argument.
static long Long.parseLong(String s)
          Parses the string argument as a signed decimal long.
static short Short.parseShort(String s)
          Assuming the specified String represents a short, returns that short's value.
static short Short.parseShort(String s, int radix)
          Assuming the specified String represents a short, returns that short's value.
 byte[] String.getBytes(String enc)
          Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
 int String.compareTo(String anotherString)
          Compares two strings lexicographically.
 boolean String.regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)
          Tests if two string regions are equal.
 boolean String.startsWith(String prefix, int toffset)
          Tests if this string starts with the specified prefix beginning a specified index.
 boolean String.startsWith(String prefix)
          Tests if this string starts with the specified prefix.
 boolean String.endsWith(String suffix)
          Tests if this string ends with the specified suffix.
 int String.indexOf(String str)
          Returns the index within this string of the first occurrence of the specified substring.
 int String.indexOf(String str, int fromIndex)
          Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
 StringBuffer StringBuffer.append(String str)
          Appends the string to this string buffer.
 StringBuffer StringBuffer.insert(int offset, String str)
          Inserts the string into this string buffer.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
 

Constructors in java.lang with parameters of type String
ArithmeticException(String s)
          Constructs an ArithmeticException with the specified detail message.
ArrayIndexOutOfBoundsException(String s)
          Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
ArrayStoreException(String s)
          Constructs an ArrayStoreException with the specified detail message.
ClassCastException(String s)
          Constructs a ClassCastException with the specified detail message.
ClassNotFoundException(String s)
          Constructs a ClassNotFoundException with the specified detail message.
Error(String s)
          Constructs an Error with the specified detail message.
Exception(String s)
          Constructs an Exception with the specified detail message.
IllegalAccessException(String s)
          Constructs an IllegalAccessException with a detail message.
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
IllegalMonitorStateException(String s)
          Constructs an IllegalMonitorStateException with the specified detail message.
IllegalStateException(String s)
          Constructs an IllegalStateException with the specified detail message.
IllegalThreadStateException(String s)
          Constructs an IllegalThreadStateException with the specified detail message.
IndexOutOfBoundsException(String s)
          Constructs an IndexOutOfBoundsException with the specified detail message.
InstantiationException(String s)
          Constructs an InstantiationException with the specified detail message.
InterruptedException(String s)
          Constructs an InterruptedException with the specified detail message.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException with the specified detail message.
NullPointerException(String s)
          Constructs a NullPointerException with the specified detail message.
NumberFormatException(String s)
          Constructs a NumberFormatException with the specified detail message.
OutOfMemoryError(String s)
          Constructs an OutOfMemoryError with the specified detail message.
RuntimeException(String s)
          Constructs a RuntimeException with the specified detail message.
SecurityException(String s)
          Constructs a SecurityException with the specified detail message.
String(String value)
          Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
String(byte[] bytes, int off, int len, String enc)
          Construct a new String by converting the specified subarray of bytes using the specified character encoding.
String(byte[] bytes, String enc)
          Construct a new String by converting the specified array of bytes using the specified character encoding.
StringBuffer(String str)
          Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
StringIndexOutOfBoundsException(String s)
          Constructs a StringIndexOutOfBoundsException with the specified detail message.
Throwable(String message)
          Constructs a new Throwable with the specified error message.
VirtualMachineError(String s)
          Constructs a VirtualMachineError with the specified detail message.
 

Uses of String in java.util
 

Methods in java.util that return String
 String Hashtable.toString()
          Returns a rather long string representation of this hashtable.
 String TimeZone.getID()
          Gets the ID of this time zone.
static String[] TimeZone.getAvailableIDs()
          Gets all the available IDs supported.
 String Vector.toString()
          Returns a string representation of this vector.
 

Methods in java.util with parameters of type String
static TimeZone TimeZone.getTimeZone(String ID)
          Gets the TimeZone for the given ID.
 

Constructors in java.util with parameters of type String
NoSuchElementException(String s)
          Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
 

Uses of String in javax.microedition.io
 

Fields in javax.microedition.io declared as String
static String HttpConnection.HEAD
          HTTP Head method
static String HttpConnection.GET
          HTTP Get method
static String HttpConnection.POST
          HTTP Post method
 

Methods in javax.microedition.io that return String
 String ContentConnection.getType()
          Returns the type of content that the resource connected to is providing.
 String ContentConnection.getEncoding()
          Returns a string describing the encoding of the content which the resource connected to is providing.
 String Datagram.getAddress()
          Get the address in the datagram
 String HttpConnection.getURL()
          Return a string representation of the URL for this connection.
 String HttpConnection.getProtocol()
          Returns the protocol name of the URL of this HttpConnection. e.g., http or https
 String HttpConnection.getHost()
          Returns the host information of the URL of this HttpConnection. e.g. host name or IPv4 address
 String HttpConnection.getFile()
          Returns the file portion of the URL of this HttpConnection.
 String HttpConnection.getRef()
          Returns the ref portion of the URL of this HttpConnection.
 String HttpConnection.getQuery()
          Returns the query portion of the URL of this HttpConnection.
 String HttpConnection.getRequestMethod()
          Get the current request method. e.g.
 String HttpConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
 String HttpConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 String HttpConnection.getHeaderField(String name)
          Returns the value of the named header field.
 String HttpConnection.getHeaderField(int n)
          Gets a header field value by index.
 String HttpConnection.getHeaderFieldKey(int n)
          Gets a header field key by index.
 

Methods in javax.microedition.io with parameters of type String
static Connection Connector.open(String name)
          Create and open a connection.
static Connection Connector.open(String name, int mode)
          Create and open a connection.
static Connection Connector.open(String name, int mode, boolean timeouts)
          Create and open a Connection.
static DataInputStream Connector.openDataInputStream(String name)
          Create and open a connection input stream
static DataOutputStream Connector.openDataOutputStream(String name)
          Create and open a connection output stream
static InputStream Connector.openInputStream(String name)
          Create and open a connection input stream
static OutputStream Connector.openOutputStream(String name)
          Create and open a connection output stream
 void Datagram.setAddress(String addr)
          Set datagram address.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Make a new datagram object
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object
 void HttpConnection.setRequestMethod(String method)
          Set the method for the URL request, one of: GET POST HEAD are legal, subject to protocol restrictions.
 String HttpConnection.getRequestProperty(String key)
          Returns the value of the named general request property for this connection.
 void HttpConnection.setRequestProperty(String key, String value)
          Sets the general request property.
 String HttpConnection.getHeaderField(String name)
          Returns the value of the named header field.
 int HttpConnection.getHeaderFieldInt(String name, int def)
          Returns the value of the named field parsed as a number.
 long HttpConnection.getHeaderFieldDate(String name, long def)
          Returns the value of the named field parsed as date.
 

Constructors in javax.microedition.io with parameters of type String
ConnectionNotFoundException(String s)
          Constructs a ConnectionNotFoundException with the specified detail message.
 

Uses of String in javax.microedition.lcdui
 

Methods in javax.microedition.lcdui that return String
 String Alert.getString()
          Gets the text string used in the Alert.
 String Canvas.getKeyName(int keyCode)
           Gets an informative key string for a key.
 String Choice.getString(int elementNum)
          Gets the String part of the element referenced by elementNum.
 String ChoiceGroup.getString(int index)
           
 String Command.toString()
          Creates string representing command label, type and priority.
 String Command.getLabel()
          Gets the label of the command.
 String ImageItem.getAltText()
          Gets the text string to be used if the image exceeds the device's capacity to display it.
 String Item.getLabel()
          Gets the label of this Item object.
 String List.getString(int index)
          Implementation of getString of interface Choice.
 String Screen.getTitle()
          Gets the title of the Screen.
 String StringItem.getText()
          Gets the text contents of the StringItem, or null if the StringItem is empty.
 String TextBox.getString()
          Gets the contents of the TextBox as a string value.
 String TextField.getString()
          Gets the contents of the TextField as a string value.
 String Ticker.getString()
          Gets the string currently being scrolled by the ticker.
 String Command.toString()
          Creates string representing command label, type and priority.
 String Command.getLabel()
          Gets the label of the command.
 String Canvas.getKeyName(int keyCode)
           Gets an informative key string for a key.
 String Alert.getString()
          Gets the text string used in the Alert.
 String TextField.getString()
          Gets the contents of the TextField as a string value.
 String TextBox.getString()
          Gets the contents of the TextBox as a string value.
 String Ticker.getString()
          Gets the string currently being scrolled by the ticker.
 String Item.getLabel()
          Gets the label of this Item object.
 String ImageItem.getAltText()
          Gets the text string to be used if the image exceeds the device's capacity to display it.
 String ChoiceGroup.getString(int index)
           
 String List.getString(int index)
          Implementation of getString of interface Choice.
 String StringItem.getText()
          Gets the text contents of the StringItem, or null if the StringItem is empty.
 String Screen.getTitle()
          Gets the title of the Screen.
 String Choice.getString(int elementNum)
          Gets the String part of the element referenced by elementNum.
 

Methods in javax.microedition.lcdui with parameters of type String
 void Alert.setString(String str)
           Sets the text string used in the Alert.
 int Choice.append(String stringElement, Image imageElement)
          Appends an element to the Choice.
 void Choice.insert(int elementNum, String stringElement, Image imageElement)
          Inserts an element into the Choice just before to the element specified.
 void Choice.set(int elementNum, String stringElement, Image imageElement)
          Sets the element referenced by elementNum to the specified element, replacing the previous contents of the element.
 int ChoiceGroup.append(String stringElement, Image imageElement)
           
 void ChoiceGroup.insert(int index, String stringElement, Image imageElement)
           
 void ChoiceGroup.set(int index, String stringElement, Image imageElement)
           
 int Font.stringWidth(String str)
          Gets the total advance width for showing the specified String in this Font.
 int Font.substringWidth(String str, int offset, int len)
          Gets the total advance width for showing the specified substring in this Font.
 int Form.append(String str)
           Adds an item consisting of one String to the form.
 void Graphics.drawString(String str, int x, int y, int anchor)
          Draws the specified String using the current font and color.
 void Graphics.drawSubstring(String str, int offset, int len, int x, int y, int anchor)
          Draws the specified String using the current font and color.
static Image Image.createImage(String name)
          Creates an immutable image from decoded image data obtained from the named resource.
 void ImageItem.setAltText(String text)
          Sets the alternate text of the ImageItem, or null if no alternate text is provided.
 void Item.setLabel(String label)
          Sets the label of the Item.
 int List.append(String stringElement, Image imageElement)
          Implementation of appendElement of interface Choice.
 void List.insert(int index, String stringElement, Image imageElement)
          Implementation of insertElement of interface Choice.
 void List.set(int index, String stringElement, Image imageElement)
          Implementation of setElement of interface Choice.
 void Screen.setTitle(String newTitle)
          Sets the title of the Screen.
 void StringItem.setText(String text)
          Sets the text contents of the StringItem.
 void TextBox.setString(String text)
          Sets the contents of the TextBox as a string value, replacing the previous contents.
 void TextBox.insert(String src, int position)
          Inserts a string into the contents of the TextBox.
 void TextField.setString(String text)
          Sets the contents of the TextField as a string value, replacing the previous contents.
 void TextField.insert(String src, int position)
          Inserts a string into the contents of the TextField.
 void Ticker.setString(String str)
          Sets the string to be displayed by this ticker.
static Image Image.createImage(String name)
          Creates an immutable image from decoded image data obtained from the named resource.
 int Font.stringWidth(String str)
          Gets the total advance width for showing the specified String in this Font.
 int Font.substringWidth(String str, int offset, int len)
          Gets the total advance width for showing the specified substring in this Font.
 void Graphics.drawString(String str, int x, int y, int anchor)
          Draws the specified String using the current font and color.
 void Graphics.drawSubstring(String str, int offset, int len, int x, int y, int anchor)
          Draws the specified String using the current font and color.
 void Alert.setString(String str)
           Sets the text string used in the Alert.
 void TextField.setString(String text)
          Sets the contents of the TextField as a string value, replacing the previous contents.
 void TextField.insert(String src, int position)
          Inserts a string into the contents of the TextField.
 void TextBox.setString(String text)
          Sets the contents of the TextBox as a string value, replacing the previous contents.
 void TextBox.insert(String src, int position)
          Inserts a string into the contents of the TextBox.
 int Form.append(String str)
           Adds an item consisting of one String to the form.
 void Ticker.setString(String str)
          Sets the string to be displayed by this ticker.
 void Item.setLabel(String label)
          Sets the label of the Item.
 void ImageItem.setAltText(String text)
          Sets the alternate text of the ImageItem, or null if no alternate text is provided.
 int ChoiceGroup.append(String stringElement, Image imageElement)
           
 void ChoiceGroup.insert(int index, String stringElement, Image imageElement)
           
 void ChoiceGroup.set(int index, String stringElement, Image imageElement)
           
 int List.append(String stringElement, Image imageElement)
          Implementation of appendElement of interface Choice.
 void List.insert(int index, String stringElement, Image imageElement)
          Implementation of insertElement of interface Choice.
 void List.set(int index, String stringElement, Image imageElement)
          Implementation of setElement of interface Choice.
 void StringItem.setText(String text)
          Sets the text contents of the StringItem.
 void Screen.setTitle(String newTitle)
          Sets the title of the Screen.
 int Choice.append(String stringElement, Image imageElement)
          Appends an element to the Choice.
 void Choice.insert(int elementNum, String stringElement, Image imageElement)
          Inserts an element into the Choice just before to the element specified.
 void Choice.set(int elementNum, String stringElement, Image imageElement)
          Sets the element referenced by elementNum to the specified element, replacing the previous contents of the element.
 

Constructors in javax.microedition.lcdui with parameters of type String
Alert(String title)
          Constructs a new, empty Alert object with the given title.
Alert(String title, String alertText, Image alertImage, AlertType alertType)
          Constructs a new Alert object with the given title, content string and image, and alert type.
ChoiceGroup(String label, int choiceType)
          Creates a new, empty ChoiceGroup, specifying its title and its type.
ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements)
          Creates a new ChoiceGroup, specifying its title, the type of the ChoiceGroup, and an array of Strings and Images to be used as its initial contents.
Command(String label, int commandType, int priority)
           Creates a new command object with the given label, type, and priority.
DateField(String label, int mode)
          Creates a DateField object with the specified mode.
DateField(String label, int mode, TimeZone timeZone)
          Creates a date field in which calendar calculations are based on specific TimeZone object and the default calendaring system for the current locale.
Form(String title)
          Creates a new, empty Form.
Form(String title, Item[] items)
          Creates a new Form with the specified contents.
Gauge(String label, boolean interactive, int maxValue, int initialValue)
          Creates a new Gauge object with the given label, in interactive or non-interactive mode, with the given maximum and initial values.
ImageItem(String label, Image img, int layout, String altText)
          Creates a new ImageItem with the given label, image, layout directive, and alternate text string.
List(String title, int listType)
          Creates a new, empty List, specifying its title and the type of the list.
List(String title, int listType, String[] stringElements, Image[] imageElements)
          Creates a new List, specifying its title, the type of the List, and an array of Strings and Images to be used as its initial contents.
StringItem(String label, String text)
          Creates a new StringItem object with the given label and textual content.
TextBox(String title, String text, int maxSize, int constraints)
          Creates a new TextBox object with the given title string, initial contents, maximum size in characters, and constraints.
TextField(String label, String text, int maxSize, int constraints)
          Creates a new TextField object with the given label, initial contents, maximum size in characters, and constraints.
Ticker(String str)
          Constructs a new Ticker object, given its initial contents string.
Command(String label, int commandType, int priority)
           Creates a new command object with the given label, type, and priority.
Alert(String title)
          Constructs a new, empty Alert object with the given title.
Alert(String title, String alertText, Image alertImage, AlertType alertType)
          Constructs a new Alert object with the given title, content string and image, and alert type.
TextField(String label, String text, int maxSize, int constraints)
          Creates a new TextField object with the given label, initial contents, maximum size in characters, and constraints.
TextBox(String title, String text, int maxSize, int constraints)
          Creates a new TextBox object with the given title string, initial contents, maximum size in characters, and constraints.
DateField(String label, int mode)
          Creates a DateField object with the specified mode.
DateField(String label, int mode, TimeZone timeZone)
          Creates a date field in which calendar calculations are based on specific TimeZone object and the default calendaring system for the current locale.
Form(String title)
          Creates a new, empty Form.
Form(String title, Item[] items)
          Creates a new Form with the specified contents.
Ticker(String str)
          Constructs a new Ticker object, given its initial contents string.
ImageItem(String label, Image img, int layout, String altText)
          Creates a new ImageItem with the given label, image, layout directive, and alternate text string.
ChoiceGroup(String label, int choiceType)
          Creates a new, empty ChoiceGroup, specifying its title and its type.
ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements)
          Creates a new ChoiceGroup, specifying its title, the type of the ChoiceGroup, and an array of Strings and Images to be used as its initial contents.
List(String title, int listType)
          Creates a new, empty List, specifying its title and the type of the list.
List(String title, int listType, String[] stringElements, Image[] imageElements)
          Creates a new List, specifying its title, the type of the List, and an array of Strings and Images to be used as its initial contents.
StringItem(String label, String text)
          Creates a new StringItem object with the given label and textual content.
Gauge(String label, boolean interactive, int maxValue, int initialValue)
          Creates a new Gauge object with the given label, in interactive or non-interactive mode, with the given maximum and initial values.
 

Uses of String in javax.microedition.midlet
 

Methods in javax.microedition.midlet that return String
 String MIDlet.getAppProperty(String key)
          Provides a MIDlet with a mechanism to retrieve named properties from the application management software.
 

Methods in javax.microedition.midlet with parameters of type String
 String MIDlet.getAppProperty(String key)
          Provides a MIDlet with a mechanism to retrieve named properties from the application management software.
 

Constructors in javax.microedition.midlet with parameters of type String
MIDletStateChangeException(String s)
          Constructs an exception with the specified detail message.
 

Uses of String in javax.microedition.rms
 

Methods in javax.microedition.rms that return String
static String[] RecordStore.listRecordStores()
          Returns an array of the names of record stores owned by the MIDlet suite.
 String RecordStore.getName()
          Returns the name of this RecordStore.
 

Methods in javax.microedition.rms with parameters of type String
static RecordStore RecordStore.openRecordStore(String recordStoreName, boolean createIfNecessary)
          Open (and possibly create) a record store associated with the given MIDlet suite.
static void RecordStore.deleteRecordStore(String recordStoreName)
          Deletes the named record store.
 

Constructors in javax.microedition.rms with parameters of type String
InvalidRecordIDException(String message)
          Constructs a new InvalidRecordIDException with the specified detail message.
RecordStoreException(String message)
          Constructs a new RecordStoreException with the specified detail message.
RecordStoreFullException(String message)
          Constructs a new RecordStoreFullException with the specified detail message.
RecordStoreNotFoundException(String message)
          Constructs a new RecordStoreNotFoundException with the specified detail message.
RecordStoreNotOpenException(String message)
          Constructs a new RecordStoreNotOpenException with the specified detail message.
 



Generated on 2003-10-17For further information and updates, please visit Siemens mobile Developer Portal