SunSPOT API V5.0


Uses of Class
java.lang.String

Packages that use String
com.sun.cldc.i18n   
com.sun.spot.dmamemory Support for allocating memory for DMA buffers. 
com.sun.spot.dmamemory.proxy Support for allocating memory for DMA buffers - from child isolates. 
com.sun.spot.flashmanagement Low level access to chunks of flash memory. 
com.sun.spot.imp   
com.sun.spot.interisolate Generic support for RPC mechanisms between isolates. 
com.sun.spot.io.j2me.radiogram Support for the 'radiogram' GCF protocol. 
com.sun.spot.io.j2me.remoteprinting Provides the auxiliary classes used by remote printing. 
com.sun.spot.io.j2me.socket Support for the "socket" GCF protocol. 
com.sun.spot.networktools Tools that answer network queries for information about the SPOT network stack 
com.sun.spot.peripheral Access to the hardware peripherals built in to the Sun SPOT main board. 
com.sun.spot.peripheral.basestation Code to allow the Sun SPOT to function as a base station. 
com.sun.spot.peripheral.driver.proxy Allows child isolates access to the driver registry maintained in the master isolate. 
com.sun.spot.peripheral.external Generic support for external boards. 
com.sun.spot.peripheral.handler Handlers for control button events. 
com.sun.spot.peripheral.ota Support for managing remote Sun SPOTs using ant scripts. 
com.sun.spot.peripheral.proxy Support for controlling PIO pins from child isolates. 
com.sun.spot.peripheral.radio Support for using the Sun SPOT's radio. 
com.sun.spot.peripheral.radio.mhrp.aodv An mesh routing package based on the AODV protocol. 
com.sun.spot.peripheral.radio.mhrp.aodv.routing Routing table used by the AODV based mesh routing package 
com.sun.spot.peripheral.radio.mhrp.lqrp An mesh routing package based on the AODV protocol. 
com.sun.spot.peripheral.radio.mhrp.lqrp.routing Routing table used by the AODV based mesh routing package 
com.sun.spot.peripheral.radio.policy.proxy Support for using the Sun SPOT's radio from child isolates. 
com.sun.spot.peripheral.radio.proxy Allows child isolates access to the radio controlled by the master isolate. 
com.sun.spot.peripheral.radio.routing Interfaces implemented by all routing protocols. 
com.sun.spot.peripheral.radio.shrp Support for a Single Hop based routing protocol. 
com.sun.spot.resourcesharing The resource sharing framework exists to support people writing device drivers. 
com.sun.spot.sensorboard Contains highest level interfaces and concrete classes that make up the SunSPOT sensorboard libraries. 
com.sun.spot.sensorboard.hardware Interfaces and concrete classes that embody various pieces of hardware that are built into the SunSPOT sensorboards. 
com.sun.spot.sensorboard.io Interfaces and concrete implmentations of classes to enable simple low-level i/o to and from the SunSPOT sensorboards. 
com.sun.spot.sensorboard.peripheral Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards. 
com.sun.spot.sensorboard.service   
com.sun.spot.service IService provides a general interface to allow running services to be controlled. 
com.sun.spot.testFramework Provides a limited equivalent to jUnit for use on Sun SPOTs. 
com.sun.spot.util Utility classes. 
com.sun.squawk   
com.sun.squawk.imp   
com.sun.squawk.io   
com.sun.squawk.io.j2me.edemoserial The serial protocol supports read/write access to the usart module on the Atmega88 for spot applications. 
com.sun.squawk.io.j2me.memory The memory protocol supports direct read-only access to the Sun SPOT's RAM. 
com.sun.squawk.io.j2me.multicast   
com.sun.squawk.io.j2me.radio The radio protocol supports streaming between two Sun SPOTs via the radio. 
com.sun.squawk.io.j2me.radiogram The radiogram protocol supports datagram communication between two Sun SPOTs via the radio. 
com.sun.squawk.io.j2me.radiostream The radiostream protocol supports streaming between two Sun SPOTs via the radio. 
com.sun.squawk.io.j2me.remoteprint Provides the Protocol class to implement a "remoteprint:" connection using the J2ME Generic Connection Framework (GCF). 
com.sun.squawk.io.j2me.serial The serial protocol supports read/write access to the USB channel to host applications. 
com.sun.squawk.io.j2me.socket The socket protocol supports read/write access to an arbitrary socket on a host computer. 
com.sun.squawk.io.mailboxes   
com.sun.squawk.peripheral   
com.sun.squawk.realtime   
com.sun.squawk.security   
com.sun.squawk.security.verifier   
com.sun.squawk.util   
java.io   
java.lang   
java.util   
javax.microedition.io   
javax.microedition.midlet   
javax.microedition.rms   
junit.framework Support classes for the test framework. 
 

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.spot.dmamemory
 

Methods in com.sun.spot.dmamemory with parameters of type String
 int IDMAMemoryManager.getBuffer(int size, String comment)
          Try to obtain memory for a DMA buffer.
 int DMAMemoryManager.getBuffer(int size, String comment)
           
 

Constructors in com.sun.spot.dmamemory with parameters of type String
NotEnoughDMAMemoryException(String s)
           
 

Uses of String in com.sun.spot.dmamemory.proxy
 

Fields in com.sun.spot.dmamemory.proxy declared as String
static String ProxyDMAMemoryManager.DMA_MEMORY_SERVER
           
 

Methods in com.sun.spot.dmamemory.proxy with parameters of type String
 int ProxyDMAMemoryManager.getBuffer(int size, String comment)
           
 

Uses of String in com.sun.spot.flashmanagement
 

Methods in com.sun.spot.flashmanagement that return String
 String IFlashFileInfo.getComment()
          Get the comment for this file
 String FlashFile.getComment()
          Get the comment for this file
 String IFlashFileInfo.getName()
          Get the name of this file
 String FlashFile.getName()
          Get the name of this file
 

Methods in com.sun.spot.flashmanagement with parameters of type String
 void FlashFile.setComment(String comment)
          Set a comment for this file
 

Constructors in com.sun.spot.flashmanagement with parameters of type String
FlashFile(String name)
          Create a FlashFile with the specified name.
FlashFileNotFoundException(String s)
           
 

Uses of String in com.sun.spot.imp
 

Methods in com.sun.spot.imp that return String
 String MIDletDescriptor.getClassName()
           
 String MIDletDescriptor.getIconName()
           
 String MIDletDescriptor.getLabel()
           
 String MIDletSuiteDescriptor.getName()
           
 String MIDletSuiteDescriptor.getSourcePath()
           
 String MIDletSuiteDescriptor.getURI()
           
 String MIDletSuiteDescriptor.getVendor()
           
 String MIDletSuiteDescriptor.getVersion()
           
 

Uses of String in com.sun.spot.interisolate
 

Methods in com.sun.spot.interisolate with parameters of type String
static RequestSender RequestSender.lookup(String channelIdentifier)
           
static void InterIsolateServer.run(String channelName, Object context)
           
static void InterIsolateServer.run(String channelName, Object context, int threadPriority)
           
 

Uses of String in com.sun.spot.io.j2me.radiogram
 

Methods in com.sun.spot.io.j2me.radiogram that return String
 String Radiogram.getAddress()
          Return the address associated with this Radiogram.
 String Radiogram.readUTF()
           
 

Methods in com.sun.spot.io.j2me.radiogram with parameters of type String
 Datagram RadiogramConnImpl.newDatagram(byte[] buf, int size, String addr)
           
 Datagram RadiogramConnImpl.newDatagram(int size, String addr)
           
 Connection RadiogramConnImpl.open(String arg0, String arg1, int arg2, boolean arg3)
           
 void Radiogram.setAddress(String addr)
          Set the address associated with this radiogram.
 void Radiogram.writeChars(String s)
           
 void Radiogram.writeUTF(String str)
           
 

Constructors in com.sun.spot.io.j2me.radiogram with parameters of type String
Radiogram(int size, RadiogramConnImpl connection, String addr)
           
RadiogramConnImpl(String addr, byte portNo, boolean isServer, boolean timeouts)
          DO NOT USE THIS CONSTRUCTOR - connections should be created using Connector.open(...)
 

Uses of String in com.sun.spot.io.j2me.remoteprinting
 

Methods in com.sun.spot.io.j2me.remoteprinting with parameters of type String
 void RemotePrintManager.noteRedirection(String remoteAddress)
           
 void IRemotePrintManager.noteRedirection(String remoteAddress)
          Called when streams get redirected to ensure that RemotePrintManager can later cancel the redirection if necessary.
 void RemotePrintManager.redirectOutputStreams(String basestationAddr)
           
 void IRemotePrintManager.redirectOutputStreams(String basestationAddr)
          Start directing output streams to the basestation specified
 

Constructors in com.sun.spot.io.j2me.remoteprinting with parameters of type String
RemotePrintOutputStream(String address)
          Creates a new RemotePrintOutputStream piping its output to a new RadioOutputStream.
 

Uses of String in com.sun.spot.io.j2me.socket
 

Fields in com.sun.spot.io.j2me.socket declared as String
static String SocketConnection.DEFAULT_BASE_STATION_PORT
           
static String ProxyInitializer.INITIALIZER
           
static String ProxyInitializer.SEPERATOR
           
static String SocketConnection.SOCKET_PROXY_BASE_STATION_ADDRESS_MANIFEST_PROPERTY
           
static String SocketConnection.SOCKET_PROXY_BASE_STATION_PORT_MANIFEST_PROPERTY
           
 

Methods in com.sun.spot.io.j2me.socket that return String
 String ProxyInitializer.getHost()
          Returns the hostname to connect to
 String ProxyInitializer.getPort()
          Returns the port number to connect to
 String ProxyInitializer.toString()
          Returns a formatted string representing the initStr to be sent to the proxy
 

Methods in com.sun.spot.io.j2me.socket with parameters of type String
 void SocketProtocolOutputStream.writeError(String message)
          Write an error to the stream.
 

Constructors in com.sun.spot.io.j2me.socket with parameters of type String
ProxyInitializer(String initStr)
          Create a ProxyInitializer from a initializer string formatted using the ProxyInitializer format "connect "
ProxyInitializer(String host, String port)
          Create a ProxyInitializer object from a host and port string
 

Uses of String in com.sun.spot.networktools
 

Fields in com.sun.spot.networktools declared as String
static String NetManagementServer.systemProperty
          the spot property that enables this server
 

Methods in com.sun.spot.networktools that return String
 String NetManagementServer.getName()
          Return the name of this service.
 String NetManagementServer.getServiceName()
          return the name of the NetManagementServer
static String NetManagementServer.requestRoute(long src, long dst)
          retrieve route information to a destination from a remote node
 

Methods in com.sun.spot.networktools with parameters of type String
static void NetManagementServer.main(String[] args)
           
 void NetManagementServer.setServiceName(String who)
          Assign a name to this service.
 

Uses of String in com.sun.spot.peripheral
 

Fields in com.sun.spot.peripheral declared as String
static String ConfigPage.INITIAL_ADMIN_COMMAND_LINE
           
static String ConfigPage.INITIAL_COMMAND_LINE
           
static String ConfigPage.LIBRARY_URI
           
static String ISpot.PROPERTY_SPOT_DIAGNOSTICS
          System property that if true enables output of log messages on System.err
static String ConfigPage.SPOT_SUITE_PROTOCOL_NAME
           
 

Methods in com.sun.spot.peripheral that return String
 String ConfigPage.getAdminCmdLineParams()
          Get the command line parameters used to start Squawk in admin mode
 String ConfigPage.getCmdLineParams()
          Get the command line parameters used to start Squawk
 String IDriver.getDriverName()
          An identifying name for the driver (e.g.
 String IAT91_PIO.getDriverName()
           
 String FiqInterruptDaemon.getDriverName()
           
 String AbstractAT91_PIO.getDriverName()
           
 String IBattery.getModelNumber()
          Battery model must match battery used for accurate measurements.
 String Battery.getModelNumber()
           
 String Spot.getPersistentProperty(String key)
           
 String ISpot.getPersistentProperty(String key)
          Get a persistent property, as held in the flash memory
 String[] DriverRegistry.getRegisteredDriverNames()
          Display a list of all the registered drivers
 String IPowerController.getRevision()
          Get the power control PowerController firmware revision string.
 String ConfigPage.getStartupClass()
           
 String ConfigPage.getStartupUri()
           
 String IBattery.getStateAsString(int state)
          The state of battery is returned as a string: no battery, dead battery, low battery, discharging, charging, fully charged
 String Battery.getStateAsString(int state)
           
 String IBattery.rawBatteryData()
          All raw battery data as colon separated one entry per line string.
 String Battery.rawBatteryData()
           
 String PIOPin.toString()
           
 String PeripheralChipSelect.toString()
           
 

Methods in com.sun.spot.peripheral with parameters of type String
 IDriver IDriverLookup.getDriverNamed(String driverName)
           
 String Spot.getPersistentProperty(String key)
           
 String ISpot.getPersistentProperty(String key)
          Get a persistent property, as held in the flash memory
static void Spot.main(String[] args)
          Main entry point.
 void ConfigPage.resetCmdLine(String uri)
          Set the command line parameter string to execute MIDlet number 1 from the suite specified by the uri parameter.
 void ConfigPage.resetCmdLine(String uri, String initialClass)
          Set the command line parameter string to execute the main method of initialClass from the suite specified by the uri parameter.
 void ConfigPage.setAdminCmdLineParams(String params)
          Set the command line parameter string used to start Squawk in admin mode
 void ConfigPage.setCmdLineParams(String params)
          Set the command line parameter string used to start Squawk
 void Spot.setPersistentProperty(String key, String value)
           
 void ISpot.setPersistentProperty(String key, String value)
          Set a persistent property in the flash memory
 void Spot.setProperty(String key, String value)
           
 void ISpot.setProperty(String key, String value)
          Set the system property "key" to have the value "value"
 void ConfigPage.setStartup(String squawkArgs, String uri, String midletNumberOrMainClass)
           
 

Constructors in com.sun.spot.peripheral with parameters of type String
ChannelBusyException(String msg)
          Construct exception with given message.
NoAckException(String msg)
          Construct exception with given message.
NoRouteException(String msg)
           
SpotFatalException(String s)
           
TimeoutException(String msg)
          Construct exception with given message.
UnableToDeepSleepException(String string)
           
 

Uses of String in com.sun.spot.peripheral.basestation
 

Methods in com.sun.spot.peripheral.basestation with parameters of type String
static void BaseStation.main(String[] args)
          A main method that allows this class to be used as a startup class
 ICreateExceptions.Ignored ICreateExceptions.throwException(String className, String message)
           
 

Uses of String in com.sun.spot.peripheral.driver.proxy
 

Fields in com.sun.spot.peripheral.driver.proxy declared as String
static String ProxyDriverRegistry.DRIVER_REGISTRY_SERVER
           
static String ProxyDriverRegistry.DRIVER_SERVER
           
 

Methods in com.sun.spot.peripheral.driver.proxy with parameters of type String
 IDriver ProxyDriverRegistry.getDriverNamed(String name)
           
 

Uses of String in com.sun.spot.peripheral.external
 

Fields in com.sun.spot.peripheral.external declared as String
static String ExternalBoard.ID_PROPERTY_NAME
           
static String ExternalBoard.MEMORY_PROPERTY_NAME
           
 

Constructors in com.sun.spot.peripheral.external with parameters of type String
ExternalBoard(String partId)
          Create an interface to an external board
 

Uses of String in com.sun.spot.peripheral.handler
 

Constructors in com.sun.spot.peripheral.handler with parameters of type String
NullEventHandler(String message)
           
 

Uses of String in com.sun.spot.peripheral.ota
 

Fields in com.sun.spot.peripheral.ota declared as String
static String ISpotBootloaderConstants.ABORT_REQUEST
           
static String ISpotAdminConstants.ABORT_REQUEST
           
static String ISpotAdminConstants.BLINK_CMD
           
static String ISpotAdminConstants.BOOTLOADER_CMD_ATTENTION
           
static String ISpotBootloaderConstants.BOOTLOADER_CMD_HEADER
           
static String ISpotAdminConstants.BOOTLOADER_CMD_HEADER
           
static String ISpotAdminConstants.CLOSEDOWN
           
static String IOTACommandServer.DEFAULT_DATAGRAM_PROTOCOL
          The default datagram protocol to use
static String IOTACommandServer.DEFAULT_STREAM_PROTOCOL
          The default stream protocol to use
static String ISpotAdminConstants.DELETE_PUBLIC_KEY_CMD
           
static String ISpotAdminConstants.FLASH_APP_CMD
           
static String ISpotAdminConstants.FLASH_LIB_CMD
           
static String ISpotAdminConstants.GET_ALL_APPS_STATUS_CMD
           
static String ISpotAdminConstants.GET_APP_STATUS_CMD
           
static String ISpotAdminConstants.GET_AVAILABLE_SUITES_CMD
           
static String ISpotAdminConstants.GET_CONFIG_PAGE_CMD
           
static String ISpotAdminConstants.GET_CONFIG_PAGE_LEN_CMD
           
static String ISpotAdminConstants.GET_FILE_INFO_CMD
           
static String ISpotAdminConstants.GET_FILE_LIST_CMD
           
static String ISpotAdminConstants.GET_MEMORY_STATS_CMD
           
static String ISpotAdminConstants.GET_POWER_STATS_CMD
           
static String ISpotAdminConstants.GET_RADIO_INFO_CMD
           
static String ISpotAdminConstants.GET_ROUTE_CMD
           
static String ISpotAdminConstants.GET_SLEEP_INFO_CMD
           
static String ISpotAdminConstants.GET_SPOT_PROPERTY_CMD
           
static String ISpotAdminConstants.GET_SUITE_MANIFEST_CMD
           
static String ISpotAdminConstants.GET_SYSTEM_PROPERTIES
           
static String IOTACommandServer.HELLO_CMD
          Command to respond information about the SPOT
static String ISpotAdminConstants.LOCAL_OTA_COMMAND_SERVER_IDENTIFICATION_STRING
           
static String ISpotAdminConstants.MIGRATE_APP_CMD
           
static String IOTACommandProcessorExtension.OTA_COMMAND_PROCESSOR_EXTENSION_PREFIX
          The prefix that properties must have to identify classes that extend the SPOT admin command processor.
static String ISpotAdminConstants.PAUSE_APP_CMD
           
static String ISpotAdminConstants.RECEIVE_APP_CMD
           
static String ISpotAdminConstants.REMOTE_GET_PHYS_NBRS_CMD
           
static String ISpotAdminConstants.REMOTE_OTA_COMMAND_SERVER_IDENTIFICATION_STRING
           
static String ISpotAdminConstants.RESUME_APP_CMD
           
static String ISpotAdminConstants.RESYNC_CMD
           
static String ISpotAdminConstants.SET_PUBLIC_KEY_CMD
           
static String ISpotAdminConstants.SET_RADIO_INFO_CMD
           
static String ISpotAdminConstants.SET_STARTUP_CMD
           
static String ISpotAdminConstants.SET_SYSTEM_PROPERTIES
           
static String ISpotAdminConstants.SET_TIME_CMD
           
static String ISpotAdminConstants.START_APP_CMD
           
static String IOTACommandServer.START_OTA_SESSION_CMD
          Command that we recognise to start a new session
static String ISpotAdminConstants.START_REMOTE_PRINTING_CMD
           
static String ISpotAdminConstants.START_VM_CMD
           
static String ISpotAdminConstants.STOP_APP_CMD
           
static String ISpotAdminConstants.STOP_REMOTE_PRINTING_CMD
           
static String ISpotAdminConstants.UNDEPLOY_CMD
           
 

Methods in com.sun.spot.peripheral.ota that return String
static String IsolateManager.createUniversallyUniqueID(Isolate iso)
           
static String IsolateManager.createUniversallyUniqueID(Isolate iso, String className)
           
 String URL.getAddress()
           
static String IsolateManager.getAppStatus(String isolateId)
           
 String OTACommandServer.getBaseStationAddress()
          Answer the IEEE address of the sender of the last command received.
 String IOTACommandServer.getBaseStationAddress()
          Answer the IEEE address of the sender of the last command received.
 String IOTACommandHelper.getBootloaderIdentificationString()
           
 String OTAFlashFileInfo.getComment()
           
static String IsolateManager.getIsolateStatus(Isolate iso)
           
 String OTAFlashFileInfo.getName()
           
 String URL.getPort()
           
 String URL.getProtocol()
           
 String OTACommandServer.getServiceName()
          Return the name of this service.
static String IsolateManager.midletKeyToClass(String suiteId, String midletKey)
          Returns the class name corresponding to the specified MIDlet key, e.g.
static String IsolateManager.migrateApp(String isolateId, String destination, boolean mkCopy)
          Moves the state associated with the specified isolate to remote address.
static String IsolateManager.pauseApp(String isolateId)
           
static String IsolateManager.receiveApp(String isoId, String source)
           
static String IsolateManager.resumeApp(String isolateId)
           
static String IsolateManager.startApp(String suiteId, int midletId)
          Creates an isolate for the specified MIDlet and suite.
static String IsolateManager.startRemotePrinting(String isolateId, String addr)
           
static String IsolateManager.stopApp(String isolateId)
           
static String IsolateManager.stopRemotePrinting(String isolateId, String address, String port)
           
 String OTAFlashFileInfo.toString()
           
 

Methods in com.sun.spot.peripheral.ota with parameters of type String
 void IOTACommandRepository.addCommand(String commandName, IOTACommand command)
          Add or replace an IOTACommand.
static String IsolateManager.createUniversallyUniqueID(Isolate iso, String className)
           
 void URL.debug(String line)
           
 void IOTACommandHelper.doDefaultCommand(String cmd, DataInputStream params)
          Invoke the default behaviour for one of the built-in commands.
static String IsolateManager.getAppStatus(String isolateId)
           
static int IsolateManager.getAvailablePortHackVersion(String addr)
           
static Isolate IsolateManager.getIsolate(String isoId)
          Looks up the isolate corresponding to the specified globally unique isolate Id.
 int SpotWorldCommand.getSecurityLevelFor(String command)
           
 int IOTACommand.getSecurityLevelFor(String command)
          Answer the security level for a command.
 boolean IOTACommandHelper.isSuiteInUse(String suiteUri)
          Check whether a particular suite is in use
static void OTACommandServer.main(String[] args)
          Startup the OTACommandServer on a SPOT listening for OTA connections.
 void IOTACommandHelper.makeObsolete(String filename)
          If there is a flash file with the given name, make it obsolete by renaming it and setting its obsolete flag.
static String IsolateManager.midletKeyToClass(String suiteId, String midletKey)
          Returns the class name corresponding to the specified MIDlet key, e.g.
static String IsolateManager.migrateApp(String isolateId, String destination, boolean mkCopy)
          Moves the state associated with the specified isolate to remote address.
static String IsolateManager.pauseApp(String isolateId)
           
 boolean SpotWorldCommand.processCommand(String command, DataInputStream params, IOTACommandHelper helper)
           
 boolean IOTACommand.processCommand(String command, DataInputStream params, IOTACommandHelper helper)
          Attempt to process a command.
static String IsolateManager.receiveApp(String isoId, String source)
           
 void IOTACommandHelper.replaceSuiteFile(DataInputStream params, String filename, int virtualAddress)
          Replace a suite file.
static String IsolateManager.resumeApp(String isolateId)
           
 void IOTACommandHelper.sendErrorDetails(String msg)
          Notify the host that an error has occurred.
 void OTACommandServer.setServiceName(String who)
          Assign a name to this service.
static String IsolateManager.startApp(String suiteId, int midletId)
          Creates an isolate for the specified MIDlet and suite.
static String IsolateManager.startRemotePrinting(String isolateId, String addr)
           
static String IsolateManager.stopApp(String isolateId)
           
static String IsolateManager.stopRemotePrinting(String isolateId, String address, String port)
           
 

Constructors in com.sun.spot.peripheral.ota with parameters of type String
OTAFlashFileInfo(String comment, String name, int virtualAddress, boolean isObsolete, long lastModified, int length, boolean exists)
          This constructor is intended for test use only.
URL(String url)
           
 

Uses of String in com.sun.spot.peripheral.proxy
 

Fields in com.sun.spot.peripheral.proxy declared as String
static String ProxyAT91_PIO.AT91_PIO_SERVER
           
 

Uses of String in com.sun.spot.peripheral.radio
 

Fields in com.sun.spot.peripheral.radio declared as String
static String RadiostreamProtocolManager.PROTOCOL_NAME
           
static String RadiogramProtocolManager.PROTOCOL_NAME
           
 

Methods in com.sun.spot.peripheral.radio that return String
 String LowPanSpotRadioHelper.getDatagramConnectionProtocol()
          Tell others the Datagram protocol name for use with GCF.
 String RadioPolicyManager.getDriverName()
           
 String RadiostreamProtocolManager.getName()
           
protected abstract  String RadioProtocolManager.getName()
           
 String RadiogramProtocolManager.getName()
           
 String LowPanHeaderInfo.getProperty(String key)
          Gives access to properties of headers that have been stripped away during processing of the packet.
 String HeaderInfoBase.getProperty(String key)
          Gives access to properties of headers that have been stripped away during processing of the packet.
 String LowPanSpotRadioHelper.getRoutingManagerName()
          Return the name of the current Routing Manager.
 String RadioPacketDispatcher.getServiceName()
           
 String LowPanSpotRadioHelper.getServiceName()
           
 String LowPan.getServiceName()
           
 String LowPanSpotRadioHelper.getStreamConnectionProtocol()
          Tell others the Stream protocol name for use with GCF.
static String SpotNameLookup.logicalToPhysical(String ieeeAddressString)
           
 String RadioPolicy.toString()
           
 String RadioPacket.toString()
           
 String LowPanStats.toString()
           
 String LowPanPacket.toString()
          create a string representation of this Object
 String ConnectionID.toString()
           
 

Methods in com.sun.spot.peripheral.radio with parameters of type String
 String LowPanHeaderInfo.getProperty(String key)
          Gives access to properties of headers that have been stripped away during processing of the packet.
 String HeaderInfoBase.getProperty(String key)
          Gives access to properties of headers that have been stripped away during processing of the packet.
static String SpotNameLookup.logicalToPhysical(String ieeeAddressString)
           
static void RadiostreamProtocolManager.main(String[] args)
           
static void RadiogramProtocolManager.main(String[] args)
           
static void MeshRouterDaemon.main(String[] args)
           
static void LowPanSpotRadioHelper.main(String[] args)
          Static method to register the LowPan radio stack with the base OTA code.
static void RadioFactory.setPersistentProperty(String key, String value)
          Set a persistent property "key" to have the value "value"
static void RadioFactory.setProperty(String key, String value)
          Set the system property "key" to have the value "value"
 

Constructors in com.sun.spot.peripheral.radio with parameters of type String
MAC_InvalidParameterException(String s)
           
NoMeshLayerAckException(String s)
           
PHY_InvalidParameterException(String arg0)
           
RadioOffException(String s)
           
ReassemblyExpiration(String key, Hashtable reassemblyBuffers, LowPanStats lpStats)
          construct a new instance of ReassemblyExpiration
 

Uses of String in com.sun.spot.peripheral.radio.mhrp.aodv
 

Methods in com.sun.spot.peripheral.radio.mhrp.aodv that return String
 String AODVManager.getServiceName()
          Return the name of this service.
 

Methods in com.sun.spot.peripheral.radio.mhrp.aodv with parameters of type String
 void AODVManager.setServiceName(String who)
          Assign a name to this service.
 

Uses of String in com.sun.spot.peripheral.radio.mhrp.aodv.routing
 

Methods in com.sun.spot.peripheral.radio.mhrp.aodv.routing that return String
 String RoutingEntry.toString()
          create and return a string representation of this object
 

Uses of String in com.sun.spot.peripheral.radio.mhrp.lqrp
 

Methods in com.sun.spot.peripheral.radio.mhrp.lqrp that return String
 String LQRPManager.getServiceName()
          Return the name of this service.
 

Methods in com.sun.spot.peripheral.radio.mhrp.lqrp with parameters of type String
 void LQRPManager.setServiceName(String who)
          Assign a name to this service.
 

Uses of String in com.sun.spot.peripheral.radio.mhrp.lqrp.routing
 

Methods in com.sun.spot.peripheral.radio.mhrp.lqrp.routing that return String
 String RoutingEntry.toString()
          create and return a string representation of this object
 

Uses of String in com.sun.spot.peripheral.radio.policy.proxy
 

Fields in com.sun.spot.peripheral.radio.policy.proxy declared as String
static String ProxyRadioPolicyManager.RADIO_POLICY_SERVER
           
 

Uses of String in com.sun.spot.peripheral.radio.proxy
 

Fields in com.sun.spot.peripheral.radio.proxy declared as String
static String ProxyRadiostreamProtocolManager.CHANNEL_IDENTIFIER
           
static String ProxyRadiogramProtocolManager.CHANNEL_IDENTIFIER
           
 

Constructors in com.sun.spot.peripheral.radio.proxy with parameters of type String
ProxyRadiogramProtocolManager(byte protocolNum, String name)
           
ProxyRadioProtocolManager(byte protocolNum, String name, String channelIdentifier)
           
ProxyRadiostreamProtocolManager(byte protocolNum, String name)
           
 

Uses of String in com.sun.spot.peripheral.radio.routing
 

Methods in com.sun.spot.peripheral.radio.routing that return String
 String RoutingPolicyManager.getServiceName()
           
 String RouteInfo.toString()
          create a string represenation of this object
 String RoutingPolicyManager.toString()
          create a string representation of this object
 String RoutingPolicy.toString()
          create a string representation of this routing policy
 String RouteTable.toString()
           
 

Methods in com.sun.spot.peripheral.radio.routing with parameters of type String
static RouteInfo RouteInfo.fromString(String s)
           
 

Uses of String in com.sun.spot.peripheral.radio.shrp
 

Methods in com.sun.spot.peripheral.radio.shrp that return String
 String SingleHopManager.getServiceName()
           
 

Methods in com.sun.spot.peripheral.radio.shrp with parameters of type String
 void SingleHopManager.setServiceName(String who)
           
 

Uses of String in com.sun.spot.resourcesharing
 

Fields in com.sun.spot.resourcesharing declared as String
static String ProxyResourceRegistryMaster.RESOURCE_REGISTRY_SERVER
           
 

Methods in com.sun.spot.resourcesharing that return String
 String SimpleResourceHandle.getResourceName()
           
 String SimpleResource.getResourceName()
           
 String IResourceHandle.getResourceName()
           
 String IResource.getResourceName()
           
 String[] ResourceRegistryChild.getResourceNames()
           
 String[] IResourceRegistry.getResourceNames()
           
 String ResourceSharingScheme.toString()
           
 

Methods in com.sun.spot.resourcesharing with parameters of type String
 void ResourceRegistryMaster.adjustLock(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 void ProxyResourceRegistryMaster.adjustLock(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
 IResourceHandle ResourceRegistryChild.getResource(String resourceName, ResourceSharingScheme scheme)
           
 IResourceHandle IResourceRegistry.getResource(String resourceName, ResourceSharingScheme scheme)
          Request access to a resource.
 boolean ResourceRegistryMaster.lock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 boolean ProxyResourceRegistryMaster.lock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 void ResourceRegistryMaster.register(String resourceName)
           
 void ProxyResourceRegistryMaster.register(String resourceName)
           
 void ResourceRegistryChild.register(String resourceName, IResource resource)
           
 void IResourceRegistry.register(String resourceName, IResource resource)
          Inform the registry of a resource that is available for sharing.
 void ResourceRegistryMaster.unlock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 void ProxyResourceRegistryMaster.unlock(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 

Constructors in com.sun.spot.resourcesharing with parameters of type String
AdjustLockCommand(int isolateId, String resourceName, ResourceSharingScheme oldScheme, ResourceSharingScheme newScheme)
           
LockCommand(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
RegisterCommand(String resourceName)
           
ResourceSharingException(String message)
           
ResourceUnavailableException(String message)
           
SimpleResource(String name)
           
UnlockCommand(int isolateId, String resourceName, ResourceSharingScheme scheme)
           
 

Uses of String in com.sun.spot.sensorboard
 

Fields in com.sun.spot.sensorboard declared as String
static String EDemoBoard.PART_ID
          Identifier string for demoboard
static String AtmegaProtoBoard.PART_ID
           
 

Methods in com.sun.spot.sensorboard that return String
 String EDemoController.getDriverName()
          Returns the name that should be used by the IDriver subsystem.
 

Methods in com.sun.spot.sensorboard with parameters of type String
static void EDemoController.error(String txt)
          Report an error with regard to the EDemoBoard.
 int OTAExtension.getSecurityLevelFor(String command)
           
static void EDemoController.main(String[] args)
          Called by Spot class when master isolate is started up.
static void AtmegaProtoBoard.main(String[] args)
          so the board select should really be detemined by the instantiation
static void EDemoController.msg(String txt)
          Deliver message to user.
 boolean OTAExtension.processCommand(String command, DataInputStream params, IOTACommandHelper helper)
           
static void EDemoController.warning(String txt)
          Report a warning with regard to the EDemoBoard.
 void EDemoController.writeUART(String msg)
          Send a string over the UART.
 void EDemoBoard.writeUART(String msg)
          Send a string over the UART.
 

Uses of String in com.sun.spot.sensorboard.hardware
 

Methods in com.sun.spot.sensorboard.hardware that return String
 String ADT7411.getDriverName()
          Routine to return this driver's name.
 String Atmega.getFirmwareRev()
           
 String IAtmegaCode.getName()
          return a String that is the name of this program this is only to make sending the user error messages easier
 String Atmega.getName()
           
 String Atmega.toString()
           
 

Methods in com.sun.spot.sensorboard.hardware with parameters of type String
 void Atmega.setFirmwareRev(String r)
           
 void Atmega.setName(String n)
           
 

Constructors in com.sun.spot.sensorboard.hardware with parameters of type String
AtmegaExternalBoard(String PART_ID)
           
 

Uses of String in com.sun.spot.sensorboard.io
 

Methods in com.sun.spot.sensorboard.io that return String
 String PinDescriptor.toString()
           
 

Constructors in com.sun.spot.sensorboard.io with parameters of type String
IOPinException(String msg)
          Constructs an instance of IOPinException with the specified detail message.
PinDescriptor(int idx, String name, int[] hints, int flags)
          Creates a new instance of PinDescriptor.
 

Uses of String in com.sun.spot.sensorboard.peripheral
 

Fields in com.sun.spot.sensorboard.peripheral declared as String
static String LIS3L02AQAccelerometer.ACCELEROMETER_GAINS_PROPERTY
          Name of the property holding the calibrated gains for this accelerometer
static String LIS3L02AQAccelerometer.ACCELEROMETER_REST_OFFSETS_PROPERTY
          Name of the property holding the measured rest offsets for this accelerometer
static String LIS3L02AQAccelerometer.ACCELEROMETER_ZERO_OFFSETS_PROPERTY
          Name of the property holding the calibrated zero offsets for this accelerometer
 

Uses of String in com.sun.spot.sensorboard.service
 

Methods in com.sun.spot.sensorboard.service that return String
 String EDemoBoardBlink.getServiceName()
           
 

Uses of String in com.sun.spot.service
 

Methods in com.sun.spot.service that return String
 String ISpotRadioHelper.getDatagramConnectionProtocol()
          Tell others the Datagram protocol name for use with GCF.
 String ISpotRadioHelper.getRoutingManagerName()
          Return the name of the current Routing Manager.
 String SpotBlink.getServiceName()
           
 String IService.getServiceName()
          Return the name of this service.
 String Heartbeat.getServiceName()
          Return the name of the heartbeat service.
abstract  String BasicService.getServiceName()
           
 String ISpotRadioHelper.getStreamConnectionProtocol()
          Tell others the Stream protocol name for use with GCF.
 

Methods in com.sun.spot.service with parameters of type String
 IService ServiceRegistry.lookup(Class serviceInterface, String name)
          Lookup a matching service with a specified service name.
 IService[] ServiceRegistry.lookupAll(Class serviceInterface, String name)
          Lookup all matching services with a specified service name.
 void IService.setServiceName(String who)
          Assign a name to this service.
 void Heartbeat.setServiceName(String who)
          Assign a new name to this service.
 void BasicService.setServiceName(String who)
           
 

Uses of String in com.sun.spot.testFramework
 

Fields in com.sun.spot.testFramework declared as String
static String ChildIsolateTestRunner.CHANNEL_NAME
           
 

Methods in com.sun.spot.testFramework that return String
 String CopiableTestResults.getErrors()
           
 String CopiableTestResults.getFailures()
           
 

Methods in com.sun.spot.testFramework with parameters of type String
 void SystemOutTestResultLog.addErrors(String extraErrors)
           
 void SystemOutTestResultLog.addFailures(String extraFailures)
           
protected  void TestBase.assertAlmostEqual(String message, long expected, long actual, long delta)
           
static void ChildIsolateTestHelper.main(String[] args)
           
protected  void TestBase.out(String msg)
          Print out a message.
protected  void TestBase.outHex(String msg, int value)
          Print out a message and a hexadecimal value
 void SystemOutTestResultLog.reportFailure(int testNumber, String exceptionMessage)
           
 void ITestResultLog.reportFailure(int testNumber, String exceptionMessage)
           
 int ChildIsolateTestRunner.run(String[] classesToRun)
           
 void SystemOutTestResultLog.startTestRun(String testClassName)
           
 void ITestResultLog.startTestRun(String testClassName)
           
 

Constructors in com.sun.spot.testFramework with parameters of type String
CopiableTestResults(String errors, String failures)
           
InterIsolateTestResultLog(String isolateIdentifier)
           
 

Uses of String in com.sun.spot.util
 

Methods in com.sun.spot.util that return String
 String IEEEAddress.asDottedHex()
          Generate a dotted hex string from an IEEE address
static String Utils.getManifestProperty(String manifestPropertyName, String valueIfNotInManifest)
          Get the value of a property from this suite's manifest (or the manifest of a parent suite).
 String Properties.getProperty(String key)
          Searches for the property with the specified key in this property list.
 String Properties.getProperty(String key, String defaultValue)
          Searches for the property with the specified key in this property list.
static String Utils.getSystemProperty(String propertyName, String valueIfNotDefined)
          Get the value of a system property.
static String PrettyPrint.prettyPrint(byte[] b)
          Converts a byte array to a pretty printed string of the kind shown below 0000 - 16 03 00 00 38 ee ba df-fa fa 64 0c 45 5e 11 e3 ....8.....d.E^.. 0010 - 5a 0f 11 33 48 23 d8 02-ad 17 9b 45 03 dd f6 7d Z..3H#.....E...} 0020 - 88 91 d4 2c e1 2e 78 da-5a 6f 2c 39 98 0e 38 d5 ...,..x.Zo,9..8. 0030 - bb 29 .)
static String PrettyPrint.prettyPrint(byte[] b, int off, int len)
          Converts a subsequence of bytes in a byte array into a pretty printed string of the kind shown below 0000 - 16 03 00 00 38 ee ba df-fa fa 64 0c 45 5e 11 e3 ....8.....d.E^.. 0010 - 5a 0f 11 33 48 23 d8 02-ad 17 9b 45 03 dd f6 7d Z..3H#.....E...} 0020 - 88 91 d4 2c e1 2e 78 da-5a 6f 2c 39 98 0e 38 d5 ...,..x.Zo,9..8. 0030 - bb 29 .)
static String[] Utils.split(String s, char marker)
          Split a string into parts.
static String Utils.stringify(byte[] b)
          Generate a string representation of a byte array.
static String IEEEAddress.toDottedHex(long address)
          Convert a numeric address into a dotted-hex string
 String IEEEAddress.toString()
           
static String Utils.withSpacesReplacedByZeros(String string)
          Generate a String that is a copy of the supplied String but with all spaces replaced by nulls.
 

Methods in com.sun.spot.util with parameters of type String
static int Utils.getManifestProperty(String manifestPropertyName, int valueIfNotInManifest)
          Get the value of a property from this suite's manifest (or the manifest of a parent suite).
static String Utils.getManifestProperty(String manifestPropertyName, String valueIfNotInManifest)
          Get the value of a property from this suite's manifest (or the manifest of a parent suite).
 String Properties.getProperty(String key)
          Searches for the property with the specified key in this property list.
 String Properties.getProperty(String key, String defaultValue)
          Searches for the property with the specified key in this property list.
static int Utils.getSystemProperty(String propertyName, int valueIfNotDefined)
          Get the value of a system property.
static String Utils.getSystemProperty(String propertyName, String valueIfNotDefined)
          Get the value of a system property.
static boolean Utils.isOptionSelected(String optionName, boolean defaultIfAbsent)
          Test whether a boolean option is set in the system properties
static void Utils.log(String message)
          Display a log message if the "spot.diagnostics" property is set
static void PrettyPrint.main(String[] args)
           
static void DummyApp.main(String[] args)
          A main method that allows this class to be used as a startup class
static void Debug.print(String message)
           
static void Debug.print(String message, int priority)
           
static long Utils.readLong(String number)
          Parse a decimal or hexadecimal string to get a long.
static int Utils.readNumber(String number)
          Parse a decimal or hexadecimal string to get an int.
 Object Properties.setProperty(String key, String value)
          Calls the Hashtable method put.
static String[] Utils.split(String s, char marker)
          Split a string into parts.
 void Properties.store(OutputStream out, String header)
          Store a representation of these properties on a stream
static long IEEEAddress.toLong(String ieeeAddressString)
          Convert a string representation of the address to a numeric value.
static String Utils.withSpacesReplacedByZeros(String string)
          Generate a String that is a copy of the supplied String but with all spaces replaced by nulls.
 

Constructors in com.sun.spot.util with parameters of type String
IEEEAddress(String ieeeAddressString)
           
 

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 void VM.invokeMain(String className, String[] args)
          Call the main method of the specified class
static void VM.invokeMain(String className, String[] args)
          Call the main method of the specified class
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 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.edemoserial
 

Methods in com.sun.squawk.io.j2me.edemoserial with parameters of type String
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
           
 

Uses of String in com.sun.squawk.io.j2me.memory
 

Methods in com.sun.squawk.io.j2me.memory with parameters of type String
 Connection Protocol.open(String protocolName, String name, int mode, boolean timeouts)
           
 

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.radio
 

Methods in com.sun.squawk.io.j2me.radio with parameters of type String
 Connection Protocol.open(String protocolName, String name, int mode, boolean timeouts)
          Deprecated.  
 

Uses of String in com.sun.squawk.io.j2me.radiogram
 

Methods in com.sun.squawk.io.j2me.radiogram with parameters of type String
 Connection Protocol.open(String protocolName, String name, int mode, boolean timeouts)
           
 

Uses of String in com.sun.squawk.io.j2me.radiostream
 

Methods in com.sun.squawk.io.j2me.radiostream with parameters of type String
 Connection Protocol.open(String protocolName, String name, int mode, boolean timeouts)
           
 

Uses of String in com.sun.squawk.io.j2me.remoteprint
 

Methods in com.sun.squawk.io.j2me.remoteprint 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.serial
 

Methods in com.sun.squawk.io.j2me.serial with parameters of type String
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
           
 

Uses of String in com.sun.squawk.io.j2me.socket
 

Methods in com.sun.squawk.io.j2me.socket with parameters of type String
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 

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.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 IntHashtable.toString()
          Returns a rather long string representation of this hashtable.
 String SquawkVector.toString()
          Returns a string representation of this vector.
 

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 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 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 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 Object.toString()
          Returns a string representation of the object.
 String Short.toString()
          Returns a String object representing this Short's value.
 String String.toString()
          This object (which is already a string!)
 String StringBuffer.toString()
          Converts to a string representing the data in this string buffer.
 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.toString()
          Returns a short description of this throwable object.
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 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 Hashtable.toString()
          Returns a rather long string representation of this hashtable.
 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 junit.framework
 

Methods in junit.framework that return String
 String ComparisonFailure.getMessage()
          Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
 

Methods in junit.framework with parameters of type String
static void Assert.assertEquals(String message, boolean expected, boolean actual)
          Asserts that two booleans are equal.
static void Assert.assertEquals(String message, byte expected, byte actual)
          Asserts that two bytes are equal.
static void Assert.assertEquals(String message, char expected, char actual)
          Asserts that two chars are equal.
static void Assert.assertEquals(String message, int expected, int actual)
          Asserts that two ints are equal.
static void Assert.assertEquals(String message, long expected, long actual)
          Asserts that two longs are equal.
static void Assert.assertEquals(String message, Object expected, Object actual)
          Asserts that two objects are equal.
static void Assert.assertEquals(String message, short expected, short actual)
          Asserts that two shorts are equal.
static void Assert.assertEquals(String expected, String actual)
          Asserts that two Strings are equal.
static void Assert.assertEquals(String message, String expected, String actual)
          Asserts that two Strings are equal.
static void Assert.assertFalse(String message, boolean condition)
          Asserts that a condition is false.
static void Assert.assertNotNull(String message, Object object)
          Asserts that an object isn't null.
static void Assert.assertNotSame(String message, Object expected, Object actual)
          Asserts that two objects refer to the same object.
static void Assert.assertNull(String message, Object object)
          Asserts that an object is null.
static void Assert.assertSame(String message, Object expected, Object actual)
          Asserts that two objects refer to the same object.
static void Assert.assertTrue(String message, boolean condition)
          Asserts that a condition is true.
static void Assert.fail(String message)
          Fails a test with the given message.
 

Constructors in junit.framework with parameters of type String
AssertionFailedError(String message)
           
ComparisonFailure(String message, String expected, String actual)
          Constructs a comparison failure.
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.