Modified: websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/org/apache/fulcrum/mimetype/util/MimeTypeMap.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/org/apache/fulcrum/mimetype/util/MimeTypeMap.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/org/apache/fulcrum/mimetype/util/MimeTypeMap.html Tue May 21 03:37:39 2019 @@ -1,864 +1,880 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.5.0_19) on Mon Nov 02 18:21:32 CET 2009 --> -<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<TITLE> -MimeTypeMap (Fulcrum Mimetype 1.0.5 API) -</TITLE> - -<META NAME="keywords" CONTENT="org.apache.fulcrum.mimetype.util.MimeTypeMap class"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - parent.document.title="MimeTypeMap (Fulcrum Mimetype 1.0.5 API)"; -} -</SCRIPT> -<NOSCRIPT> -</NOSCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> - - +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MimeTypeMap (Fulcrum Mimetype 1.0.6 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="MimeTypeMap (Fulcrum Mimetype 1.0.6 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":9,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MimeTypeMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util"><B>PREV CLASS</B></A> - <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../index.html?org/apache/fulcrum/mimetype/util/MimeTypeMap.html" target="_top"><B>FRAMES</B></A> - <A HREF="MimeTypeMap.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/MimeTypeMap.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/fulcrum/mimetype/util/MimeTypeMap.html" target="_top">Frames</a></li> +<li><a href="MimeTypeMap.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { - document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; } //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_top"></A> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> <!-- ========= END OF TOP NAVBAR ========= --> - -<HR> <!-- ======== START OF CLASS DATA ======== --> -<H2> -<FONT SIZE="-1"> -org.apache.fulcrum.mimetype.util</FONT> -<BR> -Class MimeTypeMap</H2> -<PRE> -<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> - <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.fulcrum.mimetype.util.MimeTypeMap</B> -</PRE> -<HR> -<DL> -<DT><PRE>public class <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.42"><B>MimeTypeMap</B></A><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL> -</PRE> - -<P> -This class maintains a set of mappers defining mappings +<div class="header"> +<div class="subTitle">org.apache.fulcrum.mimetype.util</div> +<h2 title="Class MimeTypeMap" class="title">Class MimeTypeMap</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.fulcrum.mimetype.util.MimeTypeMap</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.44">MimeTypeMap</a> +extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +<div class="block">This class maintains a set of mappers defining mappings between MIME types and the corresponding file name extensions. The mappings are defined as lines formed by a MIME type name followed by a list of extensions separated by a whitespace. The definitions can be listed in MIME type files located in user's home directory, Java home directory or the current class jar. In addition, this class maintains static default mappings - and constructors support application specific mappings. -<P> - -<P> -<DL> -<DT><B>Version:</B></DT> - <DD>$Id: MimeTypeMap.java 826489 2009-10-18 18:54:59Z tv $</DD> -<DT><B>Author:</B></DT> - <DD><a href="mailto:[email protected]">Ilkka Priha</a>, Daniel Rall</DD> -</DL> -<HR> - -<P> + and constructors support application specific mappings.</div> +<dl> +<dt><span class="simpleTagLabel">Version:</span></dt> +<dd>$Id: MimeTypeMap.java 1851387 2019-01-15 15:53:18Z painter $</dd> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd><a href="mailto:[email protected]">Ilkka Priha</a>, Daniel Rall</dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> - -<A NAME="field_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Field Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_MIMETYPE">DEFAULT_MIMETYPE</A></B></CODE> - -<BR> - The default MIME type when nothing else is applicable.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE">DEFAULT_TYPE</A></B></CODE> - -<BR> - The default MIME type as a string.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_CHTML">EXT_CHTML</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_GIF">EXT_GIF</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HDM">EXT_HDM</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HDML">EXT_HDML</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HTM">EXT_HTM</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HTML">EXT_HTML</A></B></CODE> - -<BR> - Common MIME type extensions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_JPEG">EXT_JPEG</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_JPG">EXT_JPG</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_TEXT">EXT_TEXT</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_WBMP">EXT_WBMP</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_WML">EXT_WML</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MIMETYPE_RESOURCE">MIMETYPE_RESOURCE</A></B></CODE> - -<BR> - The name for MIME type mapper resources.</TD> -</TR> -</TABLE> - +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_MIMETYPE">DEFAULT_MIMETYPE</a></span></code> +<div class="block">The default MIME type when nothing else is applicable.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE">DEFAULT_TYPE</a></span></code> +<div class="block">The default MIME type as a string.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_CHTML">EXT_CHTML</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_GIF">EXT_GIF</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HDM">EXT_HDM</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HDML">EXT_HDML</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HTM">EXT_HTM</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_HTML">EXT_HTML</a></span></code> +<div class="block">Common MIME type extensions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_JPEG">EXT_JPEG</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_JPG">EXT_JPG</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_TEXT">EXT_TEXT</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_WBMP">EXT_WBMP</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#EXT_WML">EXT_WML</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MIMETYPE_RESOURCE">MIMETYPE_RESOURCE</a></span></code> +<div class="block">The name for MIME type mapper resources.</div> +</td> +</tr> +</table> +</li> +</ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> - -<A NAME="constructor_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Constructor Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap()">MimeTypeMap</A></B>()</CODE> - -<BR> - Constructs a new MIME type map with default mappers.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap(java.io.File)">MimeTypeMap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</CODE> - -<BR> - Contructs a MIME type map read from a file.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap(java.io.InputStream)">MimeTypeMap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input)</CODE> - -<BR> - Contructs a MIME type map read from a stream.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap(java.lang.String)">MimeTypeMap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path)</CODE> - -<BR> - Contructs a MIME type map read from a file path.</TD> -</TR> -</TABLE> - +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap--">MimeTypeMap</a></span>()</code> +<div class="block">Constructs a new MIME type map with default mappers.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap-java.io.File-">MimeTypeMap</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> +<div class="block">Contructs a MIME type map read from a file.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap-java.io.InputStream-">MimeTypeMap</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> input)</code> +<div class="block">Contructs a MIME type map read from a stream.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#MimeTypeMap-java.lang.String-">MimeTypeMap</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Contructs a MIME type map read from a file path.</div> +</td> +</tr> +</table> +</li> +</ul> <!-- ========== METHOD SUMMARY =========== --> - -<A NAME="method_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Method Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType(java.io.File)">getContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</CODE> - -<BR> - Gets the MIME content type for a file as a string.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType(java.lang.String)">getContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fileName)</CODE> - -<BR> - Gets the MIME content type for a named file as a string.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType(java.lang.String, java.lang.String)">getContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fileName, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> def)</CODE> - -<BR> - Gets the MIME content type for a file name extension as a string.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getDefaultExtension(org.apache.fulcrum.mimetype.util.MimeType)">getDefaultExtension</A></B>(<A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> mime)</CODE> - -<BR> - Gets the default file name extension for a MIME type.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getDefaultExtension(java.lang.String)">getDefaultExtension</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> type)</CODE> - -<BR> - Gets the default file name extension for a MIME type.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType(java.io.File)">getMimeContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</CODE> - -<BR> - 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> <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType(java.lang.String)">getMimeContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE> - -<BR> - 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> <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType(java.lang.String, java.lang.String)">getMimeContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ext, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> def)</CODE> - -<BR> - Gets the MIME content type for a file name extension.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>protected static <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#loadPath(java.lang.String)">loadPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path)</CODE> - -<BR> - Loads mappings from a file path.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>protected static <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#loadResource(java.lang.String)">loadResource</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE> - -<BR> - Loads mappings from a resource.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>protected void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#setCommonContentType(java.lang.String)">setCommonContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> spec)</CODE> - -<BR> - Sets a common MIME content type mapping to extensions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#setContentType(java.lang.String)">setContentType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> spec)</CODE> - -<BR> - Sets a MIME content type mapping to extensions.</TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/ docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> -</TR> -</TABLE> - -<P> - +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType-java.io.File-">getContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> +<div class="block">Gets the MIME content type for a file as a string.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType-java.lang.String-">getContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName)</code> +<div class="block">Gets the MIME content type for a named file as a string.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getContentType-java.lang.String-java.lang.String-">getContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> +<div class="block">Gets the MIME content type for a file name extension as a string.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getDefaultExtension-org.apache.fulcrum.mimetype.util.MimeType-">getDefaultExtension</a></span>(<a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a> mime)</code> +<div class="block">Gets the default file name extension for a MIME type.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getDefaultExtension-java.lang.String-">getDefaultExtension</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type)</code> +<div class="block">Gets the default file name extension for a MIME type.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType-java.io.File-">getMimeContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> +<div class="block">Gets the MIME content type for a file.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType-java.lang.String-">getMimeContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Gets the MIME content type for a named file.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#getMimeContentType-java.lang.String-java.lang.String-">getMimeContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ext, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> +<div class="block">Gets the MIME content type for a file name extension.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#loadPath-java.lang.String-">loadPath</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Loads mappings from a file path.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#loadResource-java.lang.String-">loadResource</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Loads mappings from a resource.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#setCommonContentType-java.lang.String-">setCommonContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> spec)</code> +<div class="block">Sets a common MIME content type mapping to extensions.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#setContentType-java.lang.String-">setContentType</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> spec)</code> +<div class="block">Sets a MIME content type mapping to extensions.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> <!-- ============ FIELD DETAIL =========== --> - -<A NAME="field_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Field Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="DEFAULT_MIMETYPE"><!-- --></A><H3> -DEFAULT_MIMETYPE</H3> -<PRE> -public static final <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.47"><B>DEFAULT_MIMETYPE</B></A></PRE> -<DL> -<DD>The default MIME type when nothing else is applicable. -<P> -<DL> -</DL> -</DL> -<HR> - -<A NAME="DEFAULT_TYPE"><!-- --></A><H3> -DEFAULT_TYPE</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.53"><B>DEFAULT_TYPE</B></A></PRE> -<DL> -<DD>The default MIME type as a string. -<P> -<DL> -</DL> -</DL> -<HR> - -<A NAME="MIMETYPE_RESOURCE"><!-- --></A><H3> -MIMETYPE_RESOURCE</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.58"><B>MIMETYPE_RESOURCE</B></A></PRE> -<DL> -<DD>The name for MIME type mapper resources. -<P> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.MIMETYPE_RESOURCE">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_HTML"><!-- --></A><H3> -EXT_HTML</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.63"><B>EXT_HTML</B></A></PRE> -<DL> -<DD>Common MIME type extensions. -<P> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HTML">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_HTM"><!-- --></A><H3> -EXT_HTM</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.64"><B>EXT_HTM</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HTM">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_WML"><!-- --></A><H3> -EXT_WML</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.65"><B>EXT_WML</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_WML">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_HDML"><!-- --></A><H3> -EXT_HDML</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.66"><B>EXT_HDML</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HDML">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_HDM"><!-- --></A><H3> -EXT_HDM</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.67"><B>EXT_HDM</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HDM">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_CHTML"><!-- --></A><H3> -EXT_CHTML</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.68"><B>EXT_CHTML</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_CHTML">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_TEXT"><!-- --></A><H3> -EXT_TEXT</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.69"><B>EXT_TEXT</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_TEXT">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_GIF"><!-- --></A><H3> -EXT_GIF</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.70"><B>EXT_GIF</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_GIF">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_JPEG"><!-- --></A><H3> -EXT_JPEG</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.71"><B>EXT_JPEG</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_JPEG">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_JPG"><!-- --></A><H3> -EXT_JPG</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.72"><B>EXT_JPG</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_JPG">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="EXT_WBMP"><!-- --></A><H3> -EXT_WBMP</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.73"><B>EXT_WBMP</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_WBMP">Constant Field Values</A></DL> -</DL> - +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="DEFAULT_MIMETYPE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DEFAULT_MIMETYPE</h4> +<pre>public static final <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.49">DEFAULT_MIMETYPE</a></pre> +<div class="block">The default MIME type when nothing else is applicable.</div> +</li> +</ul> +<a name="DEFAULT_TYPE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DEFAULT_TYPE</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.55">DEFAULT_TYPE</a></pre> +<div class="block">The default MIME type as a string.</div> +</li> +</ul> +<a name="MIMETYPE_RESOURCE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MIMETYPE_RESOURCE</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.60">MIMETYPE_RESOURCE</a></pre> +<div class="block">The name for MIME type mapper resources.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.MIMETYPE_RESOURCE">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_HTML"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_HTML</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.65">EXT_HTML</a></pre> +<div class="block">Common MIME type extensions.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HTML">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_HTM"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_HTM</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.66">EXT_HTM</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HTM">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_WML"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_WML</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.67">EXT_WML</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_WML">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_HDML"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_HDML</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.68">EXT_HDML</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HDML">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_HDM"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_HDM</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.69">EXT_HDM</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_HDM">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_CHTML"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_CHTML</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.70">EXT_CHTML</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_CHTML">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_TEXT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_TEXT</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.71">EXT_TEXT</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_TEXT">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_GIF"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_GIF</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.72">EXT_GIF</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_GIF">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_JPEG"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_JPEG</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.73">EXT_JPEG</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_JPEG">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_JPG"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXT_JPG</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.74">EXT_JPG</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_JPG">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXT_WBMP"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>EXT_WBMP</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.75">EXT_WBMP</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../constant-values.html#org.apache.fulcrum.mimetype.util.MimeTypeMap.EXT_WBMP">Constant Field Values</a></dd> +</dl> +</li> +</ul> +</li> +</ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> - -<A NAME="constructor_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Constructor Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="MimeTypeMap()"><!-- --></A><H3> -MimeTypeMap</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.155"><B>MimeTypeMap</B></A>()</PRE> -<DL> -<DD>Constructs a new MIME type map with default mappers. -<P> -</DL> -<HR> - -<A NAME="MimeTypeMap(java.io.InputStream)"><!-- --></A><H3> -MimeTypeMap</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.198"><B>MimeTypeMap</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD>Contructs a MIME type map read from a stream. -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>input</CODE> - an input stream. -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - for an incorrect stream.</DL> -</DL> -<HR> - -<A NAME="MimeTypeMap(java.io.File)"><!-- --></A><H3> -MimeTypeMap</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.211"><B>MimeTypeMap</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD>Contructs a MIME type map read from a file. -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>file</CODE> - an input file. -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - for an incorrect input file.</DL> -</DL> -<HR> - -<A NAME="MimeTypeMap(java.lang.String)"><!-- --></A><H3> -MimeTypeMap</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.224"><B>MimeTypeMap</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD>Contructs a MIME type map read from a file path. -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>path</CODE> - an input file path. -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - for an incorrect input file.</DL> -</DL> - +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="MimeTypeMap--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MimeTypeMap</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.157">MimeTypeMap</a>()</pre> +<div class="block">Constructs a new MIME type map with default mappers.</div> +</li> +</ul> +<a name="MimeTypeMap-java.io.InputStream-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MimeTypeMap</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.200">MimeTypeMap</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> input) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Contructs a MIME type map read from a stream.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>input</code> - an input stream.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - for an incorrect stream.</dd> +</dl> +</li> +</ul> +<a name="MimeTypeMap-java.io.File-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MimeTypeMap</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.213">MimeTypeMap</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Contructs a MIME type map read from a file.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>file</code> - an input file.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - for an incorrect input file.</dd> +</dl> +</li> +</ul> +<a name="MimeTypeMap-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>MimeTypeMap</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.226">MimeTypeMap</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Contructs a MIME type map read from a file path.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>path</code> - an input file path.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - for an incorrect input file.</dd> +</dl> +</li> +</ul> +</li> +</ul> <!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="loadPath(java.lang.String)"><!-- --></A><H3> -loadPath</H3> -<PRE> -protected static <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.120"><B>loadPath</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD>Loads mappings from a file path. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>path</CODE> - a file path. -<DT><B>Returns:</B><DD>the mappings. -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - for an incorrect file.</DL> -</DD> -</DL> -<HR> - -<A NAME="loadResource(java.lang.String)"><!-- --></A><H3> -loadResource</H3> -<PRE> -protected static <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.132"><B>loadResource</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE> -<DL> -<DD>Loads mappings from a resource. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>name</CODE> - a resource name. -<DT><B>Returns:</B><DD>the mappings.</DL> -</DD> -</DL> -<HR> - -<A NAME="setContentType(java.lang.String)"><!-- --></A><H3> -setContentType</H3> -<PRE> -public void <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.236"><B>setContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> spec)</PRE> -<DL> -<DD>Sets a MIME content type mapping to extensions. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>spec</CODE> - a MIME type extension specification to set.</DL> -</DD> -</DL> -<HR> - -<A NAME="getContentType(java.io.File)"><!-- --></A><H3> -getContentType</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.251"><B>getContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</PRE> -<DL> -<DD>Gets the MIME content type for a file as a string. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>file</CODE> - The file to look up a MIME type mapping for. -<DT><B>Returns:</B><DD>The MIME type, or <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE"><CODE>DEFAULT_TYPE</CODE></A> if unmapped.</DL> -</DD> -</DL> -<HR> - -<A NAME="getContentType(java.lang.String)"><!-- --></A><H3> -getContentType</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.263"><B>getContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fileName)</PRE> -<DL> -<DD>Gets the MIME content type for a named file as a string. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The name of the file to look up a MIME type - mapping for. -<DT><B>Returns:</B><DD>The MIME type, or <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE"><CODE>DEFAULT_TYPE</CODE></A> if unmapped.</DL> -</DD> -</DL> -<HR> - -<A NAME="getContentType(java.lang.String, java.lang.String)"><!-- --></A><H3> -getContentType</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.276"><B>getContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fileName, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> def)</PRE> -<DL> -<DD>Gets the MIME content type for a file name extension as a string. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The name of the file to look up a MIME type - mapping for.<DD><CODE>def</CODE> - The default MIME type to use if no mapping exists. -<DT><B>Returns:</B><DD>The MIME type, or <code>def</code> if unmapped.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMimeContentType(java.io.File)"><!-- --></A><H3> -getMimeContentType</H3> -<PRE> -public <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.318"><B>getMimeContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</PRE> -<DL> -<DD>Gets the MIME content type for a file. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>file</CODE> - the file. -<DT><B>Returns:</B><DD>the MIME type.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMimeContentType(java.lang.String)"><!-- --></A><H3> -getMimeContentType</H3> -<PRE> -public <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.336"><B>getMimeContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE> -<DL> -<DD>Gets the MIME content type for a named file. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the file. -<DT><B>Returns:</B><DD>the MIME type.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMimeContentType(java.lang.String, java.lang.String)"><!-- --></A><H3> -getMimeContentType</H3> -<PRE> -public <A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.355"><B>getMimeContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ext, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> def)</PRE> -<DL> -<DD>Gets the MIME content type for a file name extension. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>ext</CODE> - the file name extension.<DD><CODE>def</CODE> - the default type if none is found. -<DT><B>Returns:</B><DD>the MIME type.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDefaultExtension(java.lang.String)"><!-- --></A><H3> -getDefaultExtension</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.375"><B>getDefaultExtension</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> type)</PRE> -<DL> -<DD>Gets the default file name extension for a MIME type. - Note that the mappers are called in the reverse order. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>type</CODE> - the MIME type as a string. -<DT><B>Returns:</B><DD>the file name extension or null.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDefaultExtension(org.apache.fulcrum.mimetype.util.MimeType)"><!-- --></A><H3> -getDefaultExtension</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.407"><B>getDefaultExtension</B></A>(<A HREF="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</A> mime)</PRE> -<DL> -<DD>Gets the default file name extension for a MIME type. - Note that the mappers are called in the reverse order. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mime</CODE> - the MIME type. -<DT><B>Returns:</B><DD>the file name extension or null.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCommonContentType(java.lang.String)"><!-- --></A><H3> -setCommonContentType</H3> -<PRE> -protected void <A HREF="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.417"><B>setCommonContentType</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> spec)</PRE> -<DL> -<DD>Sets a common MIME content type mapping to extensions. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>spec</CODE> - a MIME type extension specification to set.</DL> -</DD> -</DL> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="loadPath-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadPath</h4> +<pre>protected static <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.122">loadPath</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Loads mappings from a file path.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>path</code> - a file path.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the mappings.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - for an incorrect file.</dd> +</dl> +</li> +</ul> +<a name="loadResource-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadResource</h4> +<pre>protected static <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMapper.html" title="class in org.apache.fulcrum.mimetype.util">MimeTypeMapper</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.134">loadResource</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Loads mappings from a resource.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - a resource name.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the mappings.</dd> +</dl> +</li> +</ul> +<a name="setContentType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setContentType</h4> +<pre>public void <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.238">setContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> spec)</pre> +<div class="block">Sets a MIME content type mapping to extensions.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>spec</code> - a MIME type extension specification to set.</dd> +</dl> +</li> +</ul> +<a name="getContentType-java.io.File-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContentType</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.253">getContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre> +<div class="block">Gets the MIME content type for a file as a string.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>file</code> - The file to look up a MIME type mapping for.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The MIME type, or <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE"><code>DEFAULT_TYPE</code></a> if unmapped.</dd> +</dl> +</li> +</ul> +<a name="getContentType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContentType</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.265">getContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName)</pre> +<div class="block">Gets the MIME content type for a named file as a string.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fileName</code> - The name of the file to look up a MIME type + mapping for.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The MIME type, or <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeTypeMap.html#DEFAULT_TYPE"><code>DEFAULT_TYPE</code></a> if unmapped.</dd> +</dl> +</li> +</ul> +<a name="getContentType-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContentType</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.278">getContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> +<div class="block">Gets the MIME content type for a file name extension as a string.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fileName</code> - The name of the file to look up a MIME type + mapping for.</dd> +<dd><code>def</code> - The default MIME type to use if no mapping exists.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The MIME type, or <code>def</code> if unmapped.</dd> +</dl> +</li> +</ul> +<a name="getMimeContentType-java.io.File-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMimeContentType</h4> +<pre>public <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.315">getMimeContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre> +<div class="block">Gets the MIME content type for a file.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>file</code> - the file.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the MIME type.</dd> +</dl> +</li> +</ul> +<a name="getMimeContentType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMimeContentType</h4> +<pre>public <a href="../../../../../org/apache/fulcrum/mimetype/util/MimeType.html" title="class in org.apache.fulcrum.mimetype.util">MimeType</a> <a href="../../../../../src-html/org/apache/fulcrum/mimetype/util/MimeTypeMap.html#line.333">getMimeContentType</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Gets the MIME content type for a named file.</div> +<dl>
[... 205 lines stripped ...]
