|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use String | |
---|---|
com.ni.rio | Provides classes to access RIO services client DLL entry points |
com.sun.cldc.i18n | |
com.sun.cldc.jna | The CLDC/JNA package contains classes that help import native data structures and functions from Java code without writing C code. |
com.sun.squawk | Provides classes for low level interactions with the Squawk VM. |
com.sun.squawk.imp | Provides classes for low level interactions with the Squawk implementation of IMP. |
com.sun.squawk.io | Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP. |
com.sun.squawk.io.j2me.multicast | |
com.sun.squawk.io.j2me.pipe | |
com.sun.squawk.io.j2me.socket | |
com.sun.squawk.io.mailboxes | Provides classes for inter-Isolate communication. |
com.sun.squawk.microedition.io | Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP. |
com.sun.squawk.peripheral | |
com.sun.squawk.realtime | Provides classes for native memory access based on the javax.realtime package. |
com.sun.squawk.security | Provides classes for basic signing of binary data. |
com.sun.squawk.security.verifier | Provides classes for basic signing of binary data. |
com.sun.squawk.util | Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.) |
edu.wpi.first.testing | |
edu.wpi.first.wpilibj | The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. |
edu.wpi.first.wpilibj.camera | Provides classes for interfacing to the camera. |
edu.wpi.first.wpilibj.image | Provides classes to access National Instrument's nivison library for machine vision enables automated image processing for color identification, tracking and analysis. |
edu.wpi.first.wpilibj.util | Provides classes for utility robotics programming. |
edu.wpi.first.wpilibj.visa | Provides classes to access I/O functions in visa.h. |
java.io | Provides classes for input and output through data streams. |
java.lang | MID Profile Language Classes included from Java 2 Standard Edition. |
java.util | Contains the collection classes, and the date and time facilities. |
javax.microedition.io | Classes for the Generic Connection framework. |
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. |
tests |
Uses of String in com.ni.rio |
---|
Methods in com.ni.rio with parameters of type String | |
---|---|
static int |
NiRioSrv.open(String resource,
NiRioStatus status)
|
static void |
NiRioSrv.setString(int hClient,
int attribute,
String value,
NiRioStatus status)
|
Constructors in com.ni.rio with parameters of type String | |
---|---|
NiRioStatus.FatalStatusException(NiRioStatus status,
String message)
|
Uses of String in com.sun.cldc.i18n |
---|
Methods in com.sun.cldc.i18n with parameters of type String | |
---|---|
Reader |
StreamReader.open(InputStream in,
String enc)
Open the reader |
Writer |
StreamWriter.open(OutputStream out,
String enc)
Open the writer |
Uses of String in com.sun.cldc.jna |
---|
Fields in com.sun.cldc.jna declared as String | |
---|---|
static String |
Native.DEFAULT
|
protected String |
Function.name
|
static String |
Platform.PLATFORM_PACKAGE
|
Methods in com.sun.cldc.jna that return String | |
---|---|
static String |
Platform.commonLibraryMapping(String genericName)
Some platforms have wildly different names for standard libraries. |
static String |
NativeLibrary.errorStr()
Get any error message provided by the platform (as in dlerror). |
String |
Function.getName()
|
abstract String |
Platform.getPlatformNativePackageName()
Get the name of the package that contains the native implementations for this platform (solaris, linux, windows, etc): |
String |
Posix.getPlatformNativePackageName()
Get the name of the package that contains the native implementation for this platform: |
String |
Spot.getPlatformNativePackageName()
Get the name of the package that contains the native implementation for this platform: |
String |
Windows.getPlatformNativePackageName()
Get the name of the package that contains the native implementation for this platform: |
abstract String |
Platform.getPlatformPackageName()
Get the name of the package that contains the platform classes (posix, windows, etc): |
String |
Posix.getPlatformPackageName()
Get the name of the package that contains the native implementation for this platform: |
String |
Spot.getPlatformPackageName()
Get the name of the package that contains the native implementation for this platform: |
String |
Windows.getPlatformPackageName()
Get the name of the package that contains the native implementation for this platform: |
String |
Pointer.getString(int offset)
Create a Java string from a C string pointer to by this pointer at offset |
static String |
Pointer.NativeUnsafeGetString(Address cstr)
Create a Java string from a C string pointer |
String |
Platform.platformName()
Get the name of the package that contains the native implementation for this platform: |
static String |
Function.returnString(int ptr)
Standard conversion function that creates java string from a C char* ptr . |
String |
BlockingFunction.toString()
|
String |
Function.toString()
|
String |
NativeLibrary.toString()
|
String |
Platform.toString()
|
String |
Pointer.toString()
|
String |
Structure.toString()
|
String |
VarPointer.toString()
|
String[] |
Includes.value()
|
Methods in com.sun.cldc.jna with parameters of type String | |
---|---|
static String |
Platform.commonLibraryMapping(String genericName)
Some platforms have wildly different names for standard libraries. |
static Pointer |
Pointer.createStringBuffer(String value)
Create a native buffer containing the C-string version of the String vaue . |
BlockingFunction |
NativeLibrary.getBlockingFunction(String funcName)
Dynamically look up a blocking native function by name. |
Function |
NativeLibrary.getFunction(String funcName)
Dynamically look up a native function by name. |
static Function |
Function.getFunction(String libraryName,
String funcName)
Dynamically look up a native function by name in the named library. |
VarPointer |
NativeLibrary.getGlobalVariableAddress(String varName,
int size)
Dynamically look up a native variable by name. |
static NativeLibrary |
NativeLibrary.getInstance(String name)
Look up a native libray named "name". |
static Library |
Native.loadLibrary(String name,
Class interfaceClass)
|
void |
Pointer.setString(int offset,
String value)
Copy string value to the location at offset . |
Constructors in com.sun.cldc.jna with parameters of type String | |
---|---|
TaskExecutor(String name)
Create a natve thread with the given name, default priority and default stack size. |
|
TaskExecutor(String name,
int priority,
int stacksize)
Create a natve thread with the given name, priority and stack size. |
Uses of String in com.sun.squawk |
---|
Methods in com.sun.squawk that return String | |
---|---|
String |
Isolate.getClassPath()
Gets the class path for the isolate. |
String[] |
Isolate.getMainClassArguments()
Get the arguments. |
String |
Isolate.getMainClassName()
Get the name of the main class. |
static String |
VM.getManifestProperty(String name)
Gets the value of an Suite#PROPERTIES_MANIFEST_RESOURCE_NAME property embedded in the suite. |
String |
Isolate.getName()
Gets name of the isolate. |
String |
Isolate.getParentSuiteSourceURI()
|
String |
Isolate.getProperty(String key)
Gets a named property of this isolate. |
static String |
Isolate.intern(String value)
Returns a canonical representation for the string object from the current isolate. |
String[] |
Isolate.listErr()
Gets a list of URLs denoting the streams to which System.err is currently sending its output. |
String[] |
Isolate.listOut()
Gets a list of URLs denoting the streams to which System.out is currently sending its output. |
static String |
Isolate.lookupInterned(String value)
Returns a previously interened version for the string object, or null. |
String |
Isolate.toString()
Get the string representation of the isolate. |
Methods in com.sun.squawk with parameters of type String | |
---|---|
void |
Isolate.addErr(String url)
Adds a new connection to which System.err will send its output. |
void |
Isolate.addOut(String url)
Adds a new connection to which System.out will send its output. |
static Hashtable |
VM.getManifestPropertiesOfSuite(String uri)
A helper method to provide access to the manifest of midlet suites from outside the bootstrap. |
static String |
VM.getManifestProperty(String name)
Gets the value of an Suite#PROPERTIES_MANIFEST_RESOURCE_NAME property embedded in the suite. |
String |
Isolate.getProperty(String key)
Gets a named property of this isolate. |
static String |
Isolate.intern(String value)
Returns a canonical representation for the string object from the current isolate. |
static Isolate |
Isolate.load(DataInputStream dis,
String uri)
Loads a serialized isolate from an input stream into RAM. |
static String |
Isolate.lookupInterned(String value)
Returns a previously interened version for the string object, or null. |
static void |
Test.main(String[] args)
|
static void |
VM.outPrint(PrintStream stream,
String str)
Print str safely to Stream, or to VM.print if that fails. |
static void |
VM.outPrint(String str)
Print str safely to System.err, or to VM.print if that fails. |
static void |
VM.outPrintln(PrintStream stream,
String str)
Print str safely to Stream, or to VM.print if that fails. |
static void |
VM.outPrintln(String str)
Print str safely to System.err, or to VM.print if that fails. |
static void |
VM.print(String x)
Prints a string to the VM output stream. |
static Throwable |
VM.printExceptionAndTrace(Throwable exc,
String msg)
Safely print exception and stack trace to System.err. |
static Throwable |
VM.printExceptionAndTrace(Throwable exc,
String msg,
boolean printUsingThrowable)
Safely print exception and stack trace to System.err. |
static void |
VM.println(String x)
Prints a string followed by a new line to the VM output stream. |
void |
Isolate.removeErr(String url)
Removes the connection identified by url (if any) to which System.err
is currently sending its output. |
void |
Isolate.removeOut(String url)
Removes the connection identified by url (if any) to which System.out
is currently sending its output. |
void |
Isolate.save(DataOutputStream dos,
String uri)
Serializes the object graph rooted by this hibernated isolate and writes it to a given stream. |
void |
Isolate.save(DataOutputStream dos,
String uri,
boolean bigEndian)
Serializes the object graph rooted by this hibernated isolate and writes it to a given stream. |
void |
Isolate.setName(String newName)
Sets name of the isolate. |
void |
Isolate.setProperty(String key,
String value)
Adds a named property to this isolate. |
static void |
VM.setProperty(String name,
String value)
On a hosted system , this calls System.setProperty(), otherwise calls Isolate.currentIsolate().setProperty() |
static void |
VM.unregisterSuite(String uri)
If the suite is registered, unregister it with the garbage collector. |
Constructors in com.sun.squawk with parameters of type String | |
---|---|
Isolate(Hashtable properties,
int midletNum,
String classPath,
String parentSuiteSourceURI)
Creates an new isolate. |
|
Isolate(Hashtable properties,
String mainClassName,
String[] args,
String classPath,
String parentSuiteSourceURI)
Creates an new isolate. |
|
Isolate(Hashtable properties,
String mainClassName,
String[] args,
String classPath,
String parentSuiteSourceURI)
Creates an new isolate. |
|
Isolate(String mainClassName,
String[] args,
String classPath,
String parentSuiteSourceURI)
Creates an new isolate. |
|
Isolate(String mainClassName,
String[] args,
String classPath,
String parentSuiteSourceURI)
Creates an new isolate. |
Uses of String in com.sun.squawk.imp |
---|
Methods in com.sun.squawk.imp with parameters of type String | |
---|---|
static void |
MIDletMainWrapper.main(String[] args)
|
Uses of String in com.sun.squawk.io |
---|
Methods in com.sun.squawk.io that return String | |
---|---|
String |
BufferedReader.readLine()
Read a line of text. |
Methods in com.sun.squawk.io with parameters of type String | |
---|---|
OutputStream |
MulticastOutputStream.add(String name,
OutputStream out)
Adds a given output stream to those contained by this multicaster. |
OutputStream |
MulticastOutputStream.get(String name)
Gets the output stream from this multicaster identified by a given name. |
abstract Connection |
ConnectionBase.open(String protocol,
String name,
int mode,
boolean timeouts)
Open a connection to a target. |
OutputStream |
MulticastOutputStream.remove(String name)
Removes a given output stream from those contained by this multicaster. |
void |
BufferedWriter.write(String s,
int off,
int len)
Write a portion of a String. |
Uses of String in com.sun.squawk.io.j2me.multicast |
---|
Methods in com.sun.squawk.io.j2me.multicast with parameters of type String | |
---|---|
Connection |
Protocol.open(String protocol,
String name,
int mode,
boolean timeouts)
Opens the connection. |
Uses of String in com.sun.squawk.io.j2me.pipe |
---|
Methods in com.sun.squawk.io.j2me.pipe with parameters of type String | |
---|---|
Connection |
Protocol.open(String protocolName,
String name,
int mode,
boolean timeouts)
Open a new "remoteprint" connection to the specified SPOT. |
Uses of String in com.sun.squawk.io.j2me.socket |
---|
Methods in com.sun.squawk.io.j2me.socket with parameters of type String | |
---|---|
static void |
Test.main(String[] args)
test code |
Uses of String in com.sun.squawk.io.mailboxes |
---|
Methods in com.sun.squawk.io.mailboxes that return String | |
---|---|
String |
ServerChannel.getName()
Get the name that this ServerChannel was registered under. |
Methods in com.sun.squawk.io.mailboxes with parameters of type String | |
---|---|
static ServerChannel |
ServerChannel.create(String name)
Creates a new ServerChannel with the given name and registers it with the system. |
static Channel |
Channel.lookup(String serverChannelName)
Create a connection to a remote Channel using the name of registered ServerChannel. |
Constructors in com.sun.squawk.io.mailboxes with parameters of type String | |
---|---|
MailboxInUseException(String name)
Creates a new instance of AddressClosedException |
|
NoSuchMailboxException(String name)
Creates a new instance of NoSuchMailboxException |
Uses of String in com.sun.squawk.microedition.io |
---|
Methods in com.sun.squawk.microedition.io that return String | |
---|---|
String |
SocketConnection.getAddress()
Gets the remote address to which the socket is bound. |
String |
ServerSocketConnection.getLocalAddress()
Gets the local address to which the socket is bound. |
String |
SocketConnection.getLocalAddress()
Gets the local address to which the socket is bound. |
String |
FileConnection.getName()
|
String |
FileConnection.getPath()
|
String |
FileConnection.getURL()
|
Uses of String in com.sun.squawk.peripheral |
---|
Fields in com.sun.squawk.peripheral declared as String | |
---|---|
protected String |
SimulatedNorFlashSector.fileName
|
static String |
SimulatedNorFlashSector.SECTORS_FILE_EXTENSION
|
static String |
SimulatedNorFlashSector.ZERO_PADDING
|
Constructors in com.sun.squawk.peripheral with parameters of type String | |
---|---|
InsufficientFlashMemoryException(String s)
|
|
SimulatedNorFlashSector(String fileName)
|
Uses of String in com.sun.squawk.realtime |
---|
Constructors in com.sun.squawk.realtime with parameters of type String | |
---|---|
OffsetOutOfBoundsException(String description)
A descriptive constructor for OffsetOutOfBoundsException . |
|
SizeOutOfBoundsException(String description)
A descriptive constructor for SizeOutOfBoundsException . |
|
UnsupportedPhysicalMemoryException(String description)
A descriptive constructor for UnsupportedPhysicalMemoryException . |
Uses of String in com.sun.squawk.security |
---|
Methods in com.sun.squawk.security that return String | |
---|---|
static String |
HexEncoding.hexEncode(byte[] b)
Create a string containing the all of the data in the byte array b , encoded as hexadecimal characters. |
static String |
HexEncoding.hexEncode(byte[] b,
int len)
Create a string containing the data in the byte array b , encoded as hexadecimal characters. |
Methods in com.sun.squawk.security with parameters of type String | |
---|---|
static byte[] |
HexEncoding.hexDecode(String str)
Decode a string containing hexadecimal characters into a byte array. |
Uses of String in com.sun.squawk.security.verifier |
---|
Constructors in com.sun.squawk.security.verifier with parameters of type String | |
---|---|
SignatureVerifierException(String msg)
Creates a new instance of SignatureVerifierException |
Uses of String in com.sun.squawk.util |
---|
Methods in com.sun.squawk.util that return String | |
---|---|
String |
StringTokenizer.nextToken()
Returns the next token of the String. |
String |
StringTokenizer.nextToken(String delim)
Returns the next token, after switching to the new delimiter set. |
String |
LineReader.readLine()
Read a line of text. |
String |
SquawkVector.toString()
Returns a string representation of this vector. |
String |
IntHashtable.toString()
Returns a rather long string representation of this hashtable. |
Methods in com.sun.squawk.util with parameters of type String | |
---|---|
String |
StringTokenizer.nextToken(String delim)
Returns the next token, after switching to the new delimiter set. |
Constructors in com.sun.squawk.util with parameters of type String | |
---|---|
StringTokenizer(String str)
Constructs a StringTokenizer on the specified String, using the default delimiter set (which is " \t\n\r"). |
|
StringTokenizer(String str,
String delim)
Constructs a StringTokenizer on the specified String, using the specified delimiter set. |
|
StringTokenizer(String str,
String delim,
boolean returnTokens)
Constructs a StringTokenizer on the specified String, using the specified delimiter set. |
|
UnexpectedException(String message,
Throwable unexpected)
|
Uses of String in edu.wpi.first.testing |
---|
Methods in edu.wpi.first.testing that return String | |
---|---|
abstract String |
TestClass.getName()
Get the name of this TestClass. |
String |
TestClass.Test.getName()
Get the name of this test, should be unique within this test class. |
String |
Failure.getTest()
Get the name of the test that failed. |
String |
Failure.getTestClass()
Get the name of the test class that failed. |
String |
TestClass.toString()
Get a string representing this TestClass. |
String |
TestClass.Test.toString()
Return a string representing this Test. |
String |
Failure.toString()
Get a string represention of the failed test. |
Methods in edu.wpi.first.testing with parameters of type String | |
---|---|
protected void |
TestClass.assertFail(String msg)
Fail the test. |
static void |
TestClass.run(String clas)
Run the tests within the class name given |
static void |
TestClass.run(String clas,
String test)
Run the given test within the given class |
Constructors in edu.wpi.first.testing with parameters of type String | |
---|---|
TestClass.Test(String name)
Create a new Test and add it to the master classes table of tests |
Uses of String in edu.wpi.first.wpilibj |
---|
Methods in edu.wpi.first.wpilibj that return String | |
---|---|
String |
SerialPort.readString()
Read a string out of the buffer. |
String |
SerialPort.readString(int count)
Read a string out of the buffer. |
Methods in edu.wpi.first.wpilibj with parameters of type String | |
---|---|
boolean |
Dashboard.addString(String value)
Pack a NULL-terminated string of 8-bit characters into the dashboard data structure. |
boolean |
Dashboard.addString(String value,
int length)
Pack a string of 8-bit characters of specified length into the dashboard data structure. |
void |
SerialPort.print(String write)
Output formatted text to the serial port. |
void |
DriverStationLCD.println(DriverStationLCD.Line line,
int startingColumn,
String text)
Print formatted text to the Driver Station LCD text bufer. |
void |
Dashboard.MemAccess.setString(int index,
String value)
|
Constructors in edu.wpi.first.wpilibj with parameters of type String | |
---|---|
AnalogTrigger.AnalogTriggerException(String message)
Create a new exception with the given message |
|
AnalogTriggerOutput.AnalogTriggerOutputException(String message)
Create a new exception with the given message |
|
DriverStationEnhancedIO.EnhancedIOException(String msg)
|
|
HiTechnicCompass.CompassException(String message)
Create a new exception with the given message |
|
Relay.InvalidValueException(String message)
Create a new exception with the given message |
Uses of String in edu.wpi.first.wpilibj.camera |
---|
Constructors in edu.wpi.first.wpilibj.camera with parameters of type String | |
---|---|
AxisCameraException(String msg)
Create a new AxisCameraException. |
Uses of String in edu.wpi.first.wpilibj.image |
---|
Methods in edu.wpi.first.wpilibj.image that return String | |
---|---|
String |
ParticleAnalysisReport.toString()
Get string representation of the particle analysis report. |
String |
EllipseMatch.toString()
|
Methods in edu.wpi.first.wpilibj.image with parameters of type String | |
---|---|
void |
Image.write(String fileName)
Write the image to a file. |
void |
BinaryImage.write(String fileName)
|
Constructors in edu.wpi.first.wpilibj.image with parameters of type String | |
---|---|
HSLImage(String fileName)
Create a new image by loading a file. |
|
NIVisionException(String msg)
Create a new NIVisionException. |
|
RGBImage(String fileName)
Create a new image by loading a file. |
Uses of String in edu.wpi.first.wpilibj.util |
---|
Constructors in edu.wpi.first.wpilibj.util with parameters of type String | |
---|---|
AllocationException(String msg)
Create a new AllocationException |
|
BoundaryException(String message)
Create a new exception with the given message |
|
CheckedAllocationException(String msg)
Create a new CheckedAllocationException |
|
UncleanStatusException(int status,
String message)
Create a new UncleanStatusException |
|
UncleanStatusException(String message)
Create a new UncleanStatusException |
Uses of String in edu.wpi.first.wpilibj.visa |
---|
Methods in edu.wpi.first.wpilibj.visa with parameters of type String | |
---|---|
protected static void |
Visa.assertCleanStatus(String function)
|
static int |
Visa.viOpen(int sesn,
String name,
int mode,
int timeout)
|
static void |
Visa.viVPrintf(int vi,
String write)
|
Constructors in edu.wpi.first.wpilibj.visa with parameters of type String | |
---|---|
VisaException(String function,
int errorCode)
Create a new VisaException |
Uses of String in java.io |
---|
Methods in java.io that return String | |
---|---|
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 . |
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding. |
Methods in java.io with parameters of type 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 |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string. |
void |
DataOutput.writeChars(String s)
Writes every character in the string s ,
to the output stream, in order,
two bytes per character. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters. |
void |
DataOutput.writeUTF(String s)
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.writeUTF(String str)
Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner. |
Constructors in java.io with parameters of type String | |
---|---|
EOFException(String s)
Constructs an EOFException 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. |
|
IOException(String s)
Constructs an IOException with the specified detail
message. |
|
OutputStreamWriter(OutputStream os,
String enc)
Create an OutputStreamWriter that uses the named character encoding. |
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message. |
|
UTFDataFormatException(String s)
Constructs a UTFDataFormatException with the
specified detail message. |
Uses of String in java.lang |
---|
Methods in java.lang that return String | |
---|---|
String |
String.concat(String str)
Concatenates the specified string to the end of this string. |
String |
Throwable.getMessage()
Returns the error message string of this throwable object. |
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 . |
String |
Thread.getName()
Returns this thread's name. |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key. |
String |
String.intern()
Returns a canonical representation for the string object. |
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.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. |
static String |
Integer.toBinaryString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 2. |
static String |
Integer.toHexString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 16. |
String |
String.toLowerCase()
Converts all of the characters in this String to lower case. |
static String |
Integer.toOctalString(int i)
Creates a string representation of the integer argument as an unsigned integer in base 8. |
String |
Object.toString()
Returns a string representation of the object. |
String |
String.toString()
This object (which is already a string!) |
String |
Throwable.toString()
Returns a short description of this throwable object. |
String |
Class.toString()
Converts the object to a string. |
String |
StringBuffer.toString()
Converts to a string representing the data in this string buffer. |
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 |
Double.toString()
Returns a String representation of this Double object. |
String |
Float.toString()
Returns a String representation of this Float object. |
String |
Integer.toString()
Returns a String object representing this Integer's value. |
String |
Long.toString()
Returns a String object representing this Long's value. |
String |
Short.toString()
Returns a String object representing this Short's value. |
String |
Thread.toString()
Returns a string representation of this thread, including a unique number that identifies the thread and the thread's priority. |
static String |
Double.toString(double d)
Creates a string representation of the double
argument. |
static String |
Float.toString(float f)
Returns a String representation for the specified float value. |
static String |
Integer.toString(int i)
Returns a new String object representing the specified integer. |
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 |
Long.toString(long i)
Returns a new String object representing the specified integer. |
static String |
Long.toString(long i,
int radix)
Creates a string representation of the first argument in the radix specified by the second argument. |
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. |
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(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(double d)
Returns the string representation of the double argument. |
static String |
String.valueOf(float f)
Returns the string representation of the float 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. |
static String |
String.valueOf(Object obj)
Returns the string representation of the Object argument. |
Methods in java.lang with parameters of type String | |
---|---|
StringBuffer |
StringBuffer.append(String str)
Appends the string to this string buffer. |
int |
String.compareTo(String anotherString)
Compares two strings lexicographically. |
String |
String.concat(String str)
Concatenates the specified string to the end of this string. |
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix. |
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this String to another String ,
ignoring case considerations. |
static Class |
Class.forName(String className)
Returns the Class object associated with the class
with the given string name. |
byte[] |
String.getBytes(String enc)
Convert this String into bytes according to the specified
character encoding, storing the result into a new byte array. |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key. |
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name. |
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. |
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this string buffer. |
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 double |
Double.parseDouble(String s)
Returns a new double initialized to the value represented by the specified String , as performed by the valueOf
method of class Double . |
static float |
Float.parseFloat(String s)
Returns a new float initialized to the value represented by the specified String , as performed by the valueOf
method of class Double . |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer. |
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 long |
Long.parseLong(String s)
Parses the string argument as a signed decimal long . |
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 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 in the radix specified by the second argument. |
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)
Tests if this string starts with the specified prefix. |
boolean |
String.startsWith(String prefix,
int toffset)
Tests if this string starts with the specified prefix beginning at the specified index. |
static Double |
Double.valueOf(String s)
Returns a new Double object initialized to the value
represented by the specified string. |
static Float |
Float.valueOf(String s)
Returns the floating point value represented by the specified String. |
static Integer |
Integer.valueOf(String s)
Returns a new Integer object initialized to the value of the specified String. |
static Integer |
Integer.valueOf(String s,
int radix)
Returns a new Integer object initialized to the value of the specified String. |
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. |
|
NoClassDefFoundError(String s)
Constructs a NoClassDefFoundError 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(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. |
|
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. |
|
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. |
|
Thread(Runnable target,
String name)
Allocates a new Thread object with the given
target and name. |
|
Thread(String name)
Allocates a new Thread object with the
given name. |
|
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 | |
---|---|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported. |
String |
TimeZone.getID()
Gets the ID of this time zone. |
String |
Hashtable.toString()
Returns a rather long string representation of this hashtable. |
String |
Date.toString()
Converts this Date object to a String
of the form:
dow mon dd hh:mm:ss zzz yyyy
where:
dow is the day of the week (Sun, Mon, Tue, Wed,
Thu, Fri, Sat). |
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.GET
HTTP Get method. |
static String |
HttpConnection.HEAD
HTTP Head method. |
static String |
HttpConnection.POST
HTTP Post method. |
Methods in javax.microedition.io that return String | |
---|---|
String |
Datagram.getAddress()
Get the address of the datagram. |
String |
ContentConnection.getEncoding()
Returns a string describing the encoding of the content which the resource connected to is providing. |
String |
HttpConnection.getFile()
Returns the file portion of the URL of this HttpConnection . |
String |
HttpConnection.getHeaderField(int n)
Gets a header field value by index. |
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field. |
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index. |
String |
HttpConnection.getHost()
Returns the host information of the URL of this HttpConnection . e.g. host name or IPv4 address |
String |
HttpConnection.getProtocol()
Returns the protocol name of the URL of this HttpConnection . e.g., http or https |
String |
HttpConnection.getQuery()
Returns the query portion of the URL of this HttpConnection . |
String |
HttpConnection.getRef()
Returns the ref 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 |
ContentConnection.getType()
Returns the type of content that the resource connected to is providing. |
String |
HttpConnection.getURL()
Return a string representation of the URL for this connection. |
Methods in javax.microedition.io with parameters of type String | |
---|---|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field. |
long |
HttpConnection.getHeaderFieldDate(String name,
long def)
Returns the value of the named field parsed as date. |
int |
HttpConnection.getHeaderFieldInt(String name,
int def)
Returns the value of the named field parsed as a number. |
String |
HttpConnection.getRequestProperty(String key)
Returns the value of the named general request property for this connection. |
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object. |
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Create a new datagram object. |
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. |
void |
HttpConnection.setRequestMethod(String method)
Set the method for the URL request, one of: GET POST HEAD are legal, subject to protocol restrictions. |
void |
HttpConnection.setRequestProperty(String key,
String value)
Sets the general request property. |
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.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 | |
---|---|
String |
RecordStore.getName()
Returns the name of this RecordStore. |
static String[] |
RecordStore.listRecordStores()
Returns an array of the names of record stores owned by the MIDlet suite. |
Methods in javax.microedition.rms with parameters of type String | |
---|---|
static void |
RecordStore.deleteRecordStore(String recordStoreName)
Deletes the named record store. |
static RecordStore |
RecordStore.openRecordStore(String recordStoreName,
boolean createIfNecessary)
Open (and possibly create) a record store associated with the given MIDlet suite. |
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. |
Uses of String in tests |
---|
Methods in tests with parameters of type String | |
---|---|
static void |
TestApp.main(String[] args)
|
static void |
TestApp2.main(String[] args)
|
|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |