See: Description
Interface | Description |
---|---|
Externalizable |
Similar to the Java SE externalizable interface this interface allows an object
to declare itself as externalizable for serialization.
|
IOProgressListener |
Callback for IO updates from a buffered input/output stream
|
JSONParseCallback |
The event based parser allows parsing without creating an object tree by
receiving callbacks to this class.
|
Socket.StopListening |
This interface can be invoked to stop listening on a server socket
|
Class | Description |
---|---|
BufferedInputStream |
Based on the buffered input stream from the JDK with some minor tweaks to allow
external classes to monitor stream status and progress.
|
BufferedOutputStream |
Based on the buffered output stream from the JDK with some minor tweaks to allow
external classes to monitor stream status and progress.
|
CacheMap |
A cache map is essentially a hashtable that indexes entries based on age and is
limited to a fixed size.
|
CharArrayReader |
A specialized
Reader for reading the contents of a char array. |
ConnectionRequest |
This class represents a connection object in the form of a request response
typically common for HTTP/HTTPS connections.
|
Cookie |
A cookie for an HTTP request
|
CSVParser |
Simple CSV parser very useful for importing data into applications quickly from a CSV source
|
FileSystemStorage |
Unlike networking, the file system storage mostly tries to emulate java.io.File with
some simplifications for mobile devices
|
JSONParser |
Fast and dirty parser for JSON content on the web, it essentially returns
a Hashtable object mapping the object fields to their values.
|
Log |
Pluggable logging framework that allows a developer to log into storage
using the file connector API.
|
MultipartRequest |
A multipart post request allows a developer to submit large binary data
files to the server in a post request
|
NetworkEvent |
Event containing more meta data for network events which may be error events or
an update for progress indication code.
|
NetworkManager |
Main entry point for managing the connection requests, this is essentially a
threaded queue that makes sure to route all connections via the network thread
while sending the callbacks through the Codename One EDT.
|
Oauth2 |
This is a utility class that allows Oauth2 authentication
This utility uses the Codename One XHTML Component to display the authentication
pages.
|
Preferences |
Simple map like class to store application and Codename One preference
settings.
|
Socket |
Class implementing the socket API
|
SocketConnection |
Callback for establishment of a socket connection.
|
Storage |
Abstracts the underlying application specific storage system such as RMS
|
Util |
Various utility methods used for HTTP/IO operations
|
WebServiceProxyCall |
Utility class used by the webservice proxy code to invoke server code
|
WebServiceProxyCall.WSDefinition |
Webservice definition type, allows defining the argument values for a specific WS call
|
Codename One IO is intended as a componentized solution for IO operations that allows us to centralize IO logic while maintaining a more portable approach for threads. It also exposes several device specific behaviors such as APN selection, network type selection in a more seamless way.
Codename One's standard UI is used mostly for the EDT and event convention although the package displays error messages using Codename One dialogs and provides several IO related widgets to ease working with the platform.