The File API enables third party developers to create Java applications
that can use File Server services such as opening and writing files.
The S60 Second Edition FP 2 and later and Series 40 2nd Edition
and later platforms include an implementation of FileConnection
Optional Package 1.0 as defined in Optional Packages for the J2ME
Platform (JSR-75 specification).
The Java Platform for both the Symbian platform and Series 40 provides the following File API interfaces/features:
FileConnection
interface for accessing
files or directories located on file systems on a device or removable
media. Device internal file systems in RAM or ROM may also be accessed
through this class in case the accessing MIDlet belongs to the Manufacturer
domain.
FileSystemListener
interface for receiving
status notification when adding or removing a file system root.
FileSystemRegistry
class for file system
listeners interested in the adding and removing (or mounting and unmounting)
of file systems on a device.
The Java Platform for Symbian provides the following File API interfaces/features:
From S60 3rd Edition through S60 5th Edition, support for accessing OMA DRM 1.0 protected files.
From S60 2nd Edition FP 2 through S60 5th Edition, support for the virtual file system.