Java Reference
In-Depth Information
Devices may or may not have file systems, so you can't assume that all Java ME CLDC
devices (let alone all Java ME devices!) support the FCOP as described in JSR 75. If it does
exist, though, it plugs into the rest of the Java runtime in a manner similar to that shown
in Figure 7-1.
Figure 7-1. The FCOP and the Java ME package structure
The key relationship shown in Figure 7-1 is that the Connector class defined by the
CLDC creates instances of the FileConnection interface to manage access to files on the
device's file system. Using a Connector , you can obtain input and output streams to the
file you've referenced, or perform other operations such as removing a file or changing its
access mode.
 
Search WWH ::




Custom Search