Uses of Class
java.lang.String

Packages that use String
java.awt Minimal AWT package for shape classes with integer co-ordinates 
java.awt.geom Minimal awt.geom package for Point2D, Line2D and Rectangle2D 
java.io Input/Output support 
java.lang Core Java classes 
java.lang.annotation Basic support for annotations 
java.net Support for sockets via PC SocketProxy 
java.util Utilities 
javax.bluetooth Standard Bluetooth classes 
javax.microedition.io J2ME I/O. 
javax.microedition.lcdui J2ME LCD User Interface classes. 
javax.microedition.location Location API 
lejos.addon.gps The lejos.addon.gps package provides GPS parsing. 
lejos.io leJOS specific support for java.io 
lejos.nxt Access to NXT sensors, motors, etc. 
lejos.nxt.addon Access to third party and legacy RCX sensors, motors and other hardware not included in the Lego NXT kit 
lejos.nxt.comm NXT communication classes 
lejos.nxt.debug Debugging thread classes 
lejos.nxt.remote Remote NXT access over Bluetooth 
lejos.realtime   
lejos.robotics Hardware abstraction interfaces for the robotics package. 
lejos.util More utility classes 
 

Uses of String in java.awt
 

Methods in java.awt that return String
 String Rectangle.toString()
          Returns a String representing this rectangle.
 String Point.toString()
          Represent the point as a String
 

Uses of String in java.awt.geom
 

Methods in java.awt.geom that return String
 String Point2D.Float.toString()
          Represent the Point2SD.Float as a String
 String Point2D.Double.toString()
          Represent the Point2D.Double as a String
 

Uses of String in java.io
 

Methods in java.io that return String
 String File.getName()
          Returns the name of the file.
 String DataInputStream.readLine()
          Deprecated. broken in various ways, use BufferedReader.readLine instead
 String DataInput.readLine()
           
 String DataInputStream.readUTF()
           
 String DataInput.readUTF()
           
static String DataInputStream.readUTF(DataInput in)
           
 String StringWriter.toString()
           
 String ByteArrayOutputStream.toString()
           
 String ByteArrayOutputStream.toString(int hibyte)
          Deprecated. use ByteArrayOutputStream.toString(String) instead
 String ByteArrayOutputStream.toString(String charset)
           
 

Methods in java.io with parameters of type String
 void PrintStream.print(String s)
          Writes a string to the underlying output stream.
 void PrintStream.println(String s)
          Writes a string followed by a newline character to the underlying output stream.
 String ByteArrayOutputStream.toString(String charset)
           
 void Writer.write(String str)
           
 void Writer.write(String str, int off, int len)
           
 void StringWriter.write(String str, int off, int len)
           
 void BufferedWriter.write(String str, int off, int len)
           
 void DataOutputStream.writeBytes(String s)
           
 void DataOutput.writeBytes(String s)
           
 void DataOutputStream.writeChars(String s)
           
 void DataOutput.writeChars(String s)
           
 void DataOutputStream.writeUTF(String s)
           
 void DataOutput.writeUTF(String s)
           
 

Constructors in java.io with parameters of type String
EOFException(String s)
          Constructs an EOFException with the specified detail message.
File(String name)
          Creates a new File object.
FileNotFoundException(String s)
           
InputStreamReader(InputStream os, String charset)
           
IOException(String s)
          Constructs an IOException with the specified detail message.
OutputStreamWriter(OutputStream os, String charset)
           
UnsupportedEncodingException(String s)
           
 

Uses of String in java.lang
 

Methods in java.lang that return String
 String Throwable.getMessage()
           
 String Thread.getName()
          Returns the string name of this thread.
 String Enum.name()
           
 String StringBuilder.substring(int start)
           
 String StringBuffer.substring(int start)
           
 String String.substring(int start)
          Return substring from starting position to the end of the String
 String StringBuilder.substring(int start, int end)
           
 String StringBuffer.substring(int start, int end)
           
 String String.substring(int start, int end)
          Return substring from starting index to position before end index
static String Integer.toBinaryString(int v)
           
static String Long.toBinaryString(long v)
           
static String Integer.toHexString(int v)
          Return the hex representation of an int as a String
static String Long.toHexString(long v)
           
 String String.toLowerCase()
           
static String Integer.toOctalString(int v)
           
static String Long.toOctalString(long v)
           
 String Throwable.toString()
           
 String StringBuilder.toString()
           
 String StringBuffer.toString()
           
 String String.toString()
          Returns itself.
 String Short.toString()
           
 String Object.toString()
           
 String Long.toString()
           
 String Integer.toString()
          Returns a String object representing this Integer's value.
 String Float.toString()
           
 String Enum.toString()
           
 String Double.toString()
           
 String Class.toString()
           
 String Character.toString()
           
 String CharSequence.toString()
           
 String Byte.toString()
           
 String Boolean.toString()
           
static String Boolean.toString(boolean b)
           
static String Byte.toString(byte b)
           
static String Character.toString(char c)
           
static String Double.toString(double d)
          Convert a double to a String
static String Float.toString(float f)
          Convert a float to a String
static String Integer.toString(int v)
          Returns a new String object representing the specified integer.
static String Integer.toString(int v, int radix)
           
static String Long.toString(long v)
           
static String Long.toString(long v, int radix)
           
static String Short.toString(short b)
           
 String String.toUpperCase()
           
static String String.valueOf(boolean b)
           
static String String.valueOf(char c)
           
static String String.valueOf(char[] c)
           
static String String.valueOf(char[] c, int start, int length)
           
static String String.valueOf(double d)
           
static String String.valueOf(float f)
           
static String String.valueOf(int i)
           
static String String.valueOf(long i)
           
static String String.valueOf(Object aObj)
          Converts an Object to a String
 

Methods in java.lang with parameters of type String
 StringBuilder StringBuilder.append(String s)
           
 StringBuffer StringBuffer.append(String s)
           
 boolean String.equalsIgnoreCase(String s)
           
static Class<?> Class.forName(String aName)
           
 byte[] String.getBytes(String charset)
          Get bytes in US Acsii
 int StringBuilder.indexOf(String str)
           
 int StringBuffer.indexOf(String str)
           
 int String.indexOf(String str)
          Finds the location of a string within this string
 int StringBuilder.indexOf(String str, int fromIndex)
           
 int StringBuffer.indexOf(String str, int fromIndex)
           
 int String.indexOf(String str, int fromIndex)
          Find location of String starting at a given index
 int StringBuilder.lastIndexOf(String str)
           
 int StringBuffer.lastIndexOf(String str)
           
 int String.lastIndexOf(String str)
          Find the last occurrence of a String
 int StringBuilder.lastIndexOf(String str, int fromIndex)
           
 int StringBuffer.lastIndexOf(String str, int fromIndex)
           
 int String.lastIndexOf(String str, int fromIndex)
          Find last occurrence of s string from a given index
static boolean Boolean.parseBoolean(String s)
           
static byte Byte.parseByte(String s)
           
static byte Byte.parseByte(String s, int radix)
           
static double Double.parseDouble(String s)
          Converts a String value into a double.
static float Float.parseFloat(String s)
          Converts a String value into a float
static int Integer.parseInt(String s)
           
static int Integer.parseInt(String s, int radix)
          This method parses an int from a String.
static long Long.parseLong(String s)
           
static long Long.parseLong(String s, int radix)
           
static short Short.parseShort(String s)
           
static short Short.parseShort(String s, int radix)
           
 void Thread.setName(String name)
          Sets the string name associated with this thread.
static
<T extends Enum<T>>
T
Enum.valueOf(Class<T> enumclas, String name)
          Deprecated. not implemented in leJOS
static Short Short.valueOf(String s)
           
static Long Long.valueOf(String s)
           
static Integer Integer.valueOf(String s)
           
static Float Float.valueOf(String s)
           
static Double Double.valueOf(String s)
           
static Byte Byte.valueOf(String s)
           
static Boolean Boolean.valueOf(String s)
           
static Short Short.valueOf(String s, int radix)
           
static Long Long.valueOf(String s, int radix)
           
static Integer Integer.valueOf(String s, int radix)
           
static Byte Byte.valueOf(String s, int radix)
           
 

Constructors in java.lang with parameters of type String
ArithmeticException(String message)
           
ArrayIndexOutOfBoundsException(String s)
          Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
Boolean(String s)
           
Byte(String s)
           
ClassCastException(String message)
           
ClassNotFoundException(String message)
           
CloneNotSupportedException(String message)
           
Double(String val)
           
Error(String message)
           
Exception(String message)
           
Float(String s)
           
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
IllegalMonitorStateException(String message)
           
IllegalStateException(String message)
           
IndexOutOfBoundsException(String s)
          Constructs an IndexOutOfBoundsException class with the specified detail message.
Integer(String s)
           
InterruptedException(String message)
           
Long(String s)
           
NegativeArraySizeException(String message)
           
NoClassDefFoundError(String message)
           
NoSuchFieldError(String message)
           
NoSuchMethodError(String message)
           
NullPointerException(String message)
           
NumberFormatException(String s)
           
OutOfMemoryError(String message)
           
RuntimeException(String message)
          Constructs a new runtime exception with the specified detail message.
Short(String s)
           
StackOverflowError(String message)
           
String(byte[] b, int off, int len, String charset)
          Create a String from a byte array
String(byte[] b, String charset)
          Create a String from a byte array
StringBuffer(String aString)
           
StringBuilder(String aString)
           
StringIndexOutOfBoundsException(String s)
           
Thread(String name)
           
Thread(String name, Runnable target)
           
Throwable(String message)
           
UnsupportedOperationException(String s)
           
 

Uses of String in java.lang.annotation
 

Methods in java.lang.annotation that return String
 String Annotation.toString()
           
 

Methods in java.lang.annotation with parameters of type String
static RetentionPolicy RetentionPolicy.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ElementType ElementType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Uses of String in java.net
 

Constructors in java.net with parameters of type String
Socket(String host, int port, NXTConnection nxtc)
          Constructor: Pass an open NXT connection and socket details.
 

Uses of String in java.util
 

Methods in java.util that return String
 String Properties.getProperty(String key)
           
 String Properties.getProperty(String key, String defaultValue)
           
 String StringTokenizer.nextToken()
           
 

Methods in java.util with parameters of type String
 String Properties.getProperty(String key)
           
 String Properties.getProperty(String key, String defaultValue)
           
 void Properties.setProperty(String key, String value)
           
 void Properties.store(OutputStream out, String comments)
           
 

Constructors in java.util with parameters of type String
ConcurrentModificationException(String message)
           
NoSuchElementException(String s)
           
StringTokenizer(String s)
          Assigns the delimeter as ',' by default.
StringTokenizer(String s, String delimiter)
          The constructor
 

Uses of String in javax.bluetooth
 

Methods in javax.bluetooth that return String
 String LocalDevice.getBluetoothAddress()
          Returns the local Bluetooth address of NXT brick.
 String RemoteDevice.getBluetoothAddress()
           
 String RemoteDevice.getDeviceAddr()
           
 String LocalDevice.getFriendlyName()
          Returns the friendly name of a Bluetooth device.
 String RemoteDevice.getFriendlyName(boolean alwaysAsk)
           
static String LocalDevice.getProperty(String property)
          UNIMPLEMENTED!
 

Methods in javax.bluetooth with parameters of type String
static String LocalDevice.getProperty(String property)
          UNIMPLEMENTED!
 void RemoteDevice.setDeviceAddr(String deviceAddr)
           
 boolean LocalDevice.setFriendlyName(String name)
          Changes the friendly name of the NXT brick.
 void RemoteDevice.setFriendlyName(String fName)
           
 

Constructors in javax.bluetooth with parameters of type String
BluetoothStateException(String msg)
           
RemoteDevice(String name, String deviceAddr, byte[] devclass)
           
 

Uses of String in javax.microedition.io
 

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.
 

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
 

Fields in javax.microedition.lcdui declared as String
static String Alert.STR_CONFIRM
           
static String Alert.STR_DENY
           
 

Methods in javax.microedition.lcdui that return String
 String Item.getLabel()
           
 String Command.getLongLabel()
           
 String Ticker.getString()
           
 String List.getString(int elementNum)
           
 String ChoiceGroup.getString(int elementNum)
           
 String Choice.getString(int elementNum)
           
 String TextBox.getText()
           
 String StringItem.getText()
           
 String TextField.getText()
           
 String Displayable.getTitle()
           
 

Methods in javax.microedition.lcdui with parameters of type String
 int Form.append(String str)
           
 int List.append(String stringPart, Image imagePart)
           
 int ChoiceGroup.append(String stringPart, Image imagePart)
           
 int Choice.append(String stringPart, Image imagePart)
           
 void Graphics.drawString(String str, int x, int y)
           
 void Graphics.drawString(String str, int x, int y, boolean invert)
           
 void Graphics.drawString(String str, int x, int y, int rop)
           
 int Graphics.getCenteredX(String str)
           
 void List.insert(int elementNum, String stringPart, Image imagePart)
           
 void ChoiceGroup.insert(int elementNum, String stringPart, Image imagePart)
           
 void Choice.insert(int elementNum, String stringPart, Image imagePart)
           
 void List.set(int elementNum, String stringPart, Image imagePart)
           
 void ChoiceGroup.set(int elementNum, String stringPart, Image imagePart)
           
 void Choice.set(int elementNum, String stringPart, Image imagePart)
           
 void Spacer.setLabel(String label)
           
 void Alert.setString(String alertText)
           
 void Ticker.setString(String str)
           
 void TextBox.setText(String text)
           
 void StringItem.setText(String text)
           
 void TextField.setText(String text)
           
 void Displayable.setTitle(String s)
           
 int Font.stringWidth(String str)
           
 

Constructors in javax.microedition.lcdui with parameters of type String
Alert(String title)
           
Alert(String title, String alertText, Image alertImage, int alertType)
           
ChoiceGroup(String label, int choiceType)
           
ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements)
           
ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements)
           
Command(int commandId, String longLabel, int commandType, int priority)
           
Form(String title)
           
Form(String title, Item[] items)
           
Gauge(String label, boolean interactive, int maxValue, int initialValue)
           
List(String title, int listType)
           
List(String title, int listType, String[] stringElements, Image[] imageElements)
           
List(String title, int listType, String[] stringElements, Image[] imageElements)
           
StringItem(String label, String text)
           
TextBox(String title, String text, int maxSize, int constraints)
           
TextField(String label, String text, int maxSize, int constraints)
           
Ticker(String str)
           
 

Uses of String in javax.microedition.location
 

Methods in javax.microedition.location that return String
static String Coordinates.convert(double coordinate, int outputType)
          UNTESTED as of April 7, 2009 - BB / /** Converts a double representation of a coordinate with decimal degrees into a string representation.
 String Landmark.getDescription()
          Gets the landmark description.
 String Location.getExtraInfo(String mimetype)
          This method is not implemented by leJOS and returns null every time.
 String AddressInfo.getField(int field)
          Returns the value of an address field.
 String Landmark.getName()
          Gets the landmark name.
 

Methods in javax.microedition.location with parameters of type String
static double Coordinates.convert(String coordinate)
          Converts a String representation of a coordinate into the double representation as used in this API.
 String Location.getExtraInfo(String mimetype)
          This method is not implemented by leJOS and returns null every time.
 void Landmark.setDescription(String description)
          Sets the description of the landmark.
 void AddressInfo.setField(int field, String value)
          Sets the value of an address field.
 void Landmark.setName(String name)
          Sets the name of the landmark.
 

Constructors in javax.microedition.location with parameters of type String
Landmark(String name, String description, QualifiedCoordinates coordinates, AddressInfo addressInfo)
          Constructs a new Landmark object with the values specified.
LandmarkException(String s)
          Constructs a LandmarkException with the specified detail message.
LocationException(String s)
          Constructs a LocationException with the specified detail message.
 

Uses of String in lejos.addon.gps
 

Fields in lejos.addon.gps declared as String
static String GSASentence.HEADER
           
static String VTGSentence.HEADER
           
static String RMCSentence.HEADER
           
static String GSVSentence.HEADER
           
static String GGASentence.HEADER
           
 

Methods in lejos.addon.gps that return String
abstract  String NMEASentence.getHeader()
          Retrieve the header constant for this sentence.
 String GSASentence.getHeader()
          Returns the NMEA header for this sentence.
 String VTGSentence.getHeader()
          Returns the NMEA header for this sentence.
 String RMCSentence.getHeader()
          Returns the NMEA header for this sentence.
 String GSVSentence.getHeader()
          Returns the NMEA header for this sentence.
 String GGASentence.getHeader()
          Returns the NMEA header for this sentence.
 String RMCSentence.getMagneticVariation()
           
 String GSASentence.getMode()
          Return Mode1.
 String SimpleGPS.getSelectionType()
          Selection type of 2D or 3D fix 'M' = manual 'A' = automatic
 

Methods in lejos.addon.gps with parameters of type String
static boolean NMEASentence.isValid(String sentence)
          Return if your NMEA Sentence is valid or not
 void NMEASentence.setSentence(String sentence)
          Set a new nmea sentence into the object
 

Uses of String in lejos.io
 

Methods in lejos.io with parameters of type String
 void LejosOutputStreamWriter.write(String str, int off, int len)
           
 

Uses of String in lejos.nxt
 

Fields in lejos.nxt declared as String
static String Sound.VOL_SETTING
           
static String Button.VOL_SETTING
           
 

Methods in lejos.nxt that return String
 String I2CSensor.getProductID()
          Return the sensor product identifier.
static String Settings.getProperty(String key, String defaultValue)
          Get the value for a leJOS NXJ persistent setting
 String I2CSensor.getSensorType()
          Return the sensor type.
static String SystemSettings.getStringSetting(String key, String defaultValue)
          Get the value for a leJOS NXJ persistent setting as a String
 String UltrasonicSensor.getUnits()
          Return a string indicating the type of units in use by the unit.
 String I2CSensor.getVersion()
          Return the sensor version number.
 

Methods in lejos.nxt with parameters of type String
static void LCD.drawString(String str, int x, int y)
          Display a string on the LCD at specified x,y co-ordinate.
static void LCD.drawString(String str, int x, int y, boolean invert)
          Output a string to the display.
static void LCD.drawString(String str, int x, int y, int rop)
          Output a string to the display.
static int SystemSettings.getIntSetting(String key, int defaultValue)
          Get the value for a leJOS NXJ persistent setting as an Integer
static String Settings.getProperty(String key, String defaultValue)
          Get the value for a leJOS NXJ persistent setting
static String SystemSettings.getStringSetting(String key, String defaultValue)
          Get the value for a leJOS NXJ persistent setting as a String
static void Settings.setProperty(String key, String value)
          Set a leJOS NXJ persistent setting.
 

Constructors in lejos.nxt with parameters of type String
FlashError(String message)
           
 

Uses of String in lejos.nxt.addon
 

Methods in lejos.nxt.addon that return String
 String LMotor.getName()
          Get name from a RC Servo or a DC Motor
 

Methods in lejos.nxt.addon with parameters of type String
 void LSC.addDCMotor(int location, String name)
          Method to add a DC Motor
 void LSC.addDCMotor(int location, String name, int forward_min_speed, int forward_max_speed, int backward_min_speed, int backward_max_speed)
          Method to add a DC Motor
 void LSC.addServo(int location, String name)
          Method to add a RC servo to current LSC
 void LSC.addServo(int location, String name, int min_angle, int max_angle)
          Method to add a RC servo to current LSC
 

Constructors in lejos.nxt.addon with parameters of type String
LDCMotor(SensorPort port, int location, String DCMotorName, byte SPI_PORT)
          Constructor
LDCMotor(SensorPort port, int location, String DCMotorName, byte SPI_PORT, int forwardMinSpeed, int forwardMaxSpeed, int backwardMinSpeed, int backwardMaxSpeed)
           
LMotor(SensorPort port, int location, String name, byte SPI_PORT)
          Constructor
LServo(SensorPort port, int location, String servoName, byte SPI_PORT)
          Constructor
LServo(SensorPort port, int location, String servoName, byte SPI_PORT, int min_angle, int max_angle)
          Constructor with the feature to set min and max angle
LServo(SensorPort port, int location, String servoName, byte SPI_PORT, int min_angle, int max_angle, int init_angle)
          Constructor with the feature to set min, max and init angle
MServo(SensorPort port, int location, String servoName)
          The initial Constructor.
MServo(SensorPort port, int location, String servoName, int min_angle, int max_angle)
          Constructor with the feature to set min, max and init angle
 

Uses of String in lejos.nxt.comm
 

Fields in lejos.nxt.comm declared as String
static String NXTCommDevice.NAME
           
static String Bluetooth.PIN
           
static String NXTCommDevice.SERIAL_NO
           
 

Methods in lejos.nxt.comm that return String
static String NXTCommDevice.addressToString(byte[] addr)
          Helper method to convert address byte array to String.
 String NXTConnection.getAddress()
           
static String NXTCommDevice.getAddress()
          Return the current USB serial number.
static String Bluetooth.getFriendlyName()
          Get the friendly name of the local device
static String Bluetooth.getLocalAddress()
          get the Bluetooth address of the local device
static String NXTCommDevice.getName()
          Return the current USB devName.
 String RS485Connection.getName()
           
static String Bluetooth.lookupName(String addr)
          Look up the name of a device using its address
static String NXTCommDevice.nameToString(byte[] name)
          Return a string version of a device devName held as a byte array
 

Methods in lejos.nxt.comm with parameters of type String
static RS485Connection RS485.connect(String target)
          Connect to a remote device by name/address
static BTConnection Bluetooth.connect(String target, int mode)
          Connect to the specified device, either by name or address
abstract  NXTConnection NXTCommConnector.connect(String target, int mode)
          Open a connection to the specified name/address using the given I/O mode
static RS485Connection RS485.connect(String target, int mode)
          Connect to a remote device either by name or by address.
static BTConnection Bluetooth.connect(String target, int mode, byte[] pin)
          Connect to the specified device, either by name or address
static RemoteDevice Bluetooth.getKnownDevice(String fName)
          Gets a Device of the BC4-Chips internal list of known Devices (those who have been paired before) into the BTDevice Object.
static boolean NXTCommDevice.isAddress(String s)
          Determine if a string contains a Bluetooth style address.
static String Bluetooth.lookupName(String addr)
          Look up the name of a device using its address
static void LCP.messageWrite(int mailbox, String msg)
           
static void RConsole.print(String s)
           
static void RConsole.println(String s)
           
static void NXTCommDevice.setAddress(String sn)
          Set the USB serial number.
static boolean Bluetooth.setFriendlyName(String strName)
          Set the name of the local device
static void NXTCommDevice.setName(String nam)
          Set the USB devName.
static byte[] NXTCommDevice.stringToAddress(String strAddress)
          Convert a string version of a Bluetooth address into a byte array address.
static byte[] NXTCommDevice.stringToName(String strName)
          Convert the string version of a devName into a byte array.
static void USB.usbSetName(String name)
           
static void USB.usbSetSerialNo(String serNo)
           
 

Uses of String in lejos.nxt.debug
 

Methods in lejos.nxt.debug with parameters of type String
static void DebugMonitor.main(String[] args)
           
 

Uses of String in lejos.nxt.remote
 

Fields in lejos.nxt.remote declared as String
 String DeviceInfo.bluetoothAddress
           
 String FileInfo.fileName
          The name of the file - up to 20 characters.
 String FirmwareInfo.firmwareVersion
           
 String DeviceInfo.NXTname
           
 String FirmwareInfo.protocolVersion
           
 

Methods in lejos.nxt.remote that return String
static String AsciizCodec.decode(byte[] bytes)
          Convert an ASCIIZ byte array to a string
 String RemoteNXT.getBluetoothAddress()
          Get the bluetooth address of the remote device
 String RemoteNXT.getBrickName()
          Get the name of the remote brick
 String RemoteNXT.getCurrentProgramName()
          Retrieves the file name of the Lego executable currently running on the NXT.
 String NXTCommand.getCurrentProgramName()
          Name of current running program.
 String[] RemoteNXT.getFileNames()
          Returns a list of all files on NXT brick.
 String[] RemoteNXT.getFileNames(String searchCriteria)
          Returns a list of files on NXT brick.
 String RemoteNXT.getFirmwareVersion()
          Return the (emulated) Lego firmware version on the remote NXT
 String NXTCommand.getFriendlyName()
          Get the friendly name of the NXT
 String NXTCommand.getLocalAddress()
          Get the local address of the NXT.
 String RemoteNXT.getProtocolVersion()
          Return LCP protocol version
 String NXTCommand.uploadFile(File file, String nxtFileName)
          Upload a file to the NXT
 

Methods in lejos.nxt.remote with parameters of type String
 byte RemoteNXT.delete(String fileName)
          Delete a file from the NXT.
 byte NXTCommand.delete(String fileName)
          Delete a file on the NXT
 byte[] RemoteNXT.download(String fileName)
          Download a file from the remote NXT.
 byte RemoteNXT.download(String fileName, File destination)
          Download a file from the NXT and save it to a file.
static byte[] AsciizCodec.encode(String str)
          Encode a string as ASCIIZ
 FileInfo NXTCommand.findFirst(String wildCard)
          Find the first file on the NXT.
 FileInfo NXTCommand.findFirstNXJ(String wildCard)
          Find the first file on the NXT.
 String[] RemoteNXT.getFileNames(String searchCriteria)
          Returns a list of files on NXT brick.
 boolean NXTComm.open(String name, int mode)
           
 FileInfo NXTCommand.openRead(String fileName)
          Opens a file on the NXT for reading.
 byte NXTCommand.openWrite(String fileName, int size)
          Opens a file on the NXT for writing.
 byte RemoteNXT.playSoundFile(String fileName)
          Plays a sound file on the remote NXT.
 byte RemoteNXT.playSoundFile(String fileName, boolean repeat)
          Plays a sound file on the remote NXT.
 byte NXTCommand.playSoundFile(String fileName, boolean repeat)
           
 byte NXTCommand.setFriendlyName(String name)
          Set the friendly name of the NXT
 byte RemoteNXT.startProgram(String fileName)
          Starts a Lego executable file on the NXT.
 byte NXTCommand.startProgram(String fileName)
          Starts a program already on the NXT.
 byte RemoteNXT.upload(String fileName)
           
 String NXTCommand.uploadFile(File file, String nxtFileName)
          Upload a file to the NXT
 

Constructors in lejos.nxt.remote with parameters of type String
FileInfo(String fileName)
           
RemoteNXT(String name, NXTCommConnector connector)
           
 

Uses of String in lejos.realtime
 

Fields in lejos.realtime declared as String
static String AperiodicParameters.arrivalTimeQueueOverflowExcept
           
static String AperiodicParameters.arrivalTimeQueueOverflowIgnore
           
static String AperiodicParameters.arrivalTimeQueueOverflowReplace
           
static String AperiodicParameters.arrivalTimeQueueOverflowSave
           
static String SporadicParameters.mitViolationExceptnew
           
static String SporadicParameters.mitViolationIgnore
           
static String SporadicParameters.mitViolationReplace
           
static String SporadicParameters.mitViolationSave
           
 

Methods in lejos.realtime that return String
 String AperiodicParameters.getArrivalTimeQueueOverflowBehavior()
          Gets the behavior of the arrival time queue in the event of an overflow.
 String SporadicParameters.getMitViolationBehavior()
          Gets the arrival time queue behavior in the event of a minimum interarrival time violation.
 String PriorityScheduler.getPolicyName()
          Gets the policy name of this.
abstract  String Scheduler.getPolicyName()
           
 String EDFScheduler.getPolicyName()
          Gets a string representing the policy of this.
 String EnergyParameters.toString()
          Converts the energy value to a string.
 String ImportanceParameters.toString()
           
 String PriorityParameters.toString()
          Converts the priority value to a string.
 String AbsoluteTime.toString()
           
 String RelativeTime.toString()
           
 

Methods in lejos.realtime with parameters of type String
 void AsyncEvent.bindTo(String happening)
          Binds this to an external event, a happening.
 void AperiodicParameters.setArrivalTimeQueueOverflowBehavior(String behavior)
          Sets the behavior of the arrival time queue in the case where the insertion of a new element would make the queue size greater than the initial size given in this.
 void SporadicParameters.setMitViolationBehavior(String behavior)
          Sets the behavior of the arrival time queue in the case where the new arrival time is closer to the previous arrival time than the minimum interarrival time given in this.
 void AsyncEvent.unbindTo(String happening)
          Removes a binding to an external event, a happening.
 

Constructors in lejos.realtime with parameters of type String
CeilingViolationException(String message)
           
 

Uses of String in lejos.robotics
 

Methods in lejos.robotics with parameters of type String
static Colors.Color Colors.Color.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Movement.MovementType Movement.MovementType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
 

Uses of String in lejos.util
 

Fields in lejos.util declared as String
static String TextMenu.blank
          a blank line
 

Methods in lejos.util that return String
 String[] TextMenu.getItems()
          returns list of items in this menu;
 

Methods in lejos.util with parameters of type String
 void ButtonCounter.count(String s)
          Start counting; parameter string is displayed; use it to identify this particular call
returns when ESC or ENTER button is pressed
Hold Enter and left or right to decrease count, otherwise it increases
counters are reset when this method is called.
 void ButtonCounter.count(String s, int left, int right)
          Initializes values of left count and right count.
 void DebugMessages.echo(String message)
          Show in NXT Screen a message
 void TextMenu.setItems(String[] items)
          set the array of items to be displayed
 void TextMenu.setTitle(String title)
          set menu title.
static void Assertion.test(String s, boolean flag)
           
static void Assertion.testEQ(String s, int expected, int was)
          If the actual value is not equal to the expected value, throw an Error.
 

Constructors in lejos.util with parameters of type String
TextMenu(String[] items)
          This constructor sets location of the top row of the item list to row 0 of the display.
TextMenu(String[] items, int topRow)
          This constructor allows specification location of the item list .
TextMenu(String[] items, int topRow, String title)
          This constuctor allows the specfication of a title (of up to 16 characters) and the location of the item list
The title is displayed in the row above the item list.
TextMenu(String[] items, int topRow, String title)
          This constuctor allows the specfication of a title (of up to 16 characters) and the location of the item list
The title is displayed in the row above the item list.