⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overview-summary.html

📁 j2me手机编程规范JSR-75文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon Feb 10 18:17:36 PST 2003 -->
<TITLE>
Overview (FileConnection Optional Package 1.0 Spec, Proposed Final Draft)
</TITLE>
<META NAME="keywords" CONTENT="Overview,FileConnection Optional Package 1.0 Specification<br>Rev. 0.24 - Proposed Final Draft">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="Overview (FileConnection Optional Package 1.0 Spec, Proposed Final Draft)";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
FileConnection Optional Package 1.0<br>Proposed Final Draft</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="overview-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<CENTER>
<H2>
FileConnection Optional Package 1.0 Specification<br>Rev. 0.24 - Proposed Final Draft</H2>
</CENTER>
This document, <i>FileConnection Optional Package 1.0
Specification</i>, defines the APIs that comprise the <i>FileConnection</i>
optional package for Java 2&trade; Platform, Micro Edition
(J2ME&trade;).
<P>
<B>See:</B>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#overview_description"><B>Description</B></A>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Packages</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="20%"><B><A HREF="javax/microedition/io/file/package-summary.html">javax.microedition.io.file</A></B></TD>
<TD>File system support based on the <code>Generic Connection</code><font
size="2" face="Courier New"> Framework</font>.</TD>
</TR>
</TABLE>

<P>
&nbsp;<A NAME="overview_description"><!-- --></A>
<P>
<p>This document, <i>FileConnection Optional Package 1.0
Specification</i>, defines the APIs that comprise the <i>FileConnection</i>
optional package for Java 2&trade; Platform, Micro Edition
(J2ME&trade;).</p>

<h2>Preface</h2>

<p>This document defines a set of APIs known as the <i>FileConnection
APIs</i> for Java<sup>&trade;</sup> 2 Platform, Micro Edition
(J2ME<sup>&trade;</sup>). These APIs collectively are defined as
an <i>optional package</i>.&nbsp; Optional packages are API sets
that may be licensed and added on top of J2ME configuration and
profile implementations by vendors independent of the JSR
process.&nbsp; This allows VM implementations to increase the
functionality they offer while still providing APIs that are
defined as a standard by the Java community.</p>

<p>The FileConnection APIs were developed by as part of JSR
75.&nbsp; There is no dependency of these FileConnection APIs
upon any other APIs produced in JSR 75, and the FileConnection
APIs can be licensed and packaged separately from any other J2ME
configuration, profile, or optional package.&nbsp;</p>

<p><strong>This document and all associated documents are subject
to the terms of the JCP agreements (i.e. JSPA and/or IEPA),
available at </strong><a href="http://www.jcp.org"><strong>http://www.jcp.org</strong></a><strong>.</strong>
The version of the Java Community Process (JCP) procedures
followed is version 2.1, dated July 10, 2001.</p>

<h2>Document Conventions</h2>

<h3>Definitions</h3>

<p>This document uses definitions based upon those specified in
IETF RFC 2119 (See <a href="http://www.ietf.org/">http://www.ietf.org</a>).</p>

<p><i>Table 2 Specification Terms</i></p>

<table border="1" cellpadding="0" cellspacing="0">
    <tr>
        <td valign="top" nowrap><b>Term</b></td>
        <td valign="top"><b>Definition</b></td>
    </tr>
    <tr>
        <td valign="top" nowrap>MUST</td>
        <td valign="top">The associated definition is an absolute
        requirement of this specification.</td>
    </tr>
    <tr>
        <td valign="top" nowrap>MUST NOT</td>
        <td valign="top">The definition is an absolute
        prohibition of this specification.</td>
    </tr>
    <tr>
        <td valign="top" nowrap>SHOULD</td>
        <td valign="top">Indicates a recommended practice.&nbsp;
        There may exist valid reasons in particular circumstances
        to ignore this recommendation, but the full implications
        must be understood and carefully weighed before choosing
        a different course.</td>
    </tr>
    <tr>
        <td valign="top" nowrap>SHOULD NOT</td>
        <td valign="top">Indicates a non-recommended
        practice.&nbsp; There may exist valid reasons in
        particular circumstances when the particular behavior is
        acceptable or even useful, but the full implications
        should be understood and the case carefully weighed
        before implementing any behavior described with this
        label.</td>
    </tr>
    <tr>
        <td valign="top" nowrap>MAY</td>
        <td valign="top">Indicates that an item is truly
        optional.</td>
    </tr>
</table>

<h3>Formatting Conventions</h3>

<p>This specification used the following formatting conventions.</p>

<p><i>Table 3 Formatting Conventions</i></p>

<table border="1" cellpadding="0" cellspacing="0">
    <tr>
        <td valign="top"><b>Convention</b></td>
        <td valign="top"><b>Description</b></td>
    </tr>
    <tr>
        <td valign="top"><code>Courier</code></td>
        <td valign="top">Used in all Java code including
        keywords, data types, constants, method names, variables,
        class names, and interface names.</td>
    </tr>
    <tr>
        <td valign="top"><i>Italic</i></td>
        <td valign="top">Used for emphasis and to signify the
        first use of a term.</td>
    </tr>
</table>

<h2>Overview</h2>

<p>The primary goal of the FileConnection APIs is to provide
access to file systems on devices and/or mounted memory cards.
File system connectivity through the Generic Connection Framework
may be supported by an implementation if the target device has
the necessary underlying operating system and hardware support
for file systems. Connections to a file system may be opened to
file systems located either on memory cards or in a device&#146;s
memory, depending on device and operating system limitations.
&nbsp; The types of memory cards that contain file systems and
could be supported include:</p>

<ul>
    <li>SmartMedia card</li>
    <li>CompactFlash

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -