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

📄 mimetype.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#TEXT_CHTML">TEXT_CHTML</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#TEXT_PLAIN">TEXT_PLAIN</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#MULTIPART">MULTIPART</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#MULTIPART_FORM_DATA">MULTIPART_FORM_DATA</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#APPLICATION_POSTSCRIPT">APPLICATION_POSTSCRIPT</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#APPLICATION_OCTET_STREAM">APPLICATION_OCTET_STREAM</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#APPLICATION_X_JAVA_AGENT">APPLICATION_X_JAVA_AGENT</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#APPLICATION_X_WWW_FORM_URLENCODED">APPLICATION_X_WWW_FORM_URLENCODED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#MESSAGE_HTTP">MESSAGE_HTTP</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#TEXT_CSS">TEXT_CSS</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#TEXT">TEXT</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#IMAGE_GIF">IMAGE_GIF</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#IMAGE_JPEG">IMAGE_JPEG</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#IMAGE_WBMP">IMAGE_WBMP</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeTypeMap.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeTypeMap.html#DEFAULT_MIMETYPE">DEFAULT_MIMETYPE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default MIME type when nothing else is applicable.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/package-summary.html">org.apache.turbine.services.mimetype.util</A> that return <A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeTypeMap.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeTypeMap.html#getMimeContentType(java.io.File)">getMimeContentType</A></B>(java.io.File&nbsp;file)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the MIME content type for a file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeTypeMap.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeTypeMap.html#getMimeContentType(java.lang.String)">getMimeContentType</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the MIME content type for a named file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></CODE></FONT></TD><TD><CODE><B>MimeTypeMap.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeTypeMap.html#getMimeContentType(java.lang.String, java.lang.String)">getMimeContentType</A></B>(java.lang.String&nbsp;ext,                   java.lang.String&nbsp;def)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the MIME content type for a file name extension.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/package-summary.html">org.apache.turbine.services.mimetype.util</A> with parameters of type <A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B>MimeType.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html#match(org.apache.turbine.services.mimetype.util.MimeType)">match</A></B>(<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares the specified MIME type to this one and returns a matching level: NO_MATCH=types do not match, MATCH_TYPE=types match, MATCH_SPECIFIC_TYPE=types match exactly, MATCH_SUBTYPE=types match, subtypes match too, MATCH_SPECIFIC_SUBTYPE=types match, subtypes match exactly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B>MimeTypeMap.</B><B><A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeTypeMap.html#getDefaultExtension(org.apache.turbine.services.mimetype.util.MimeType)">getDefaultExtension</A></B>(<A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html">MimeType</A>&nbsp;mime)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the default file name extension for a MIME type.</TD></TR></TABLE>&nbsp;<P><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../org/apache/turbine/services/mimetype/util/MimeType.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-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></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="MimeType.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright &copy; 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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