Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/src-html/org/apache/fulcrum/mimetype/util/MimeTypeMapper.html
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/src-html/org/apache/fulcrum/mimetype/util/MimeTypeMapper.html
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/src-html/org/apache/fulcrum/mimetype/util/MimeTypeMapper.html
Tue May 21 03:37:39 2019
@@ -1,251 +1,246 @@
-<HTML>
-<BODY BGCOLOR="white">
-<PRE>
-<FONT color="green">001</FONT> package org.apache.fulcrum.mimetype.util;<a
name="line.1"></a>
-<FONT color="green">002</FONT> <a name="line.2"></a>
-<FONT color="green">003</FONT> <a name="line.3"></a>
-<FONT color="green">004</FONT> /*<a name="line.4"></a>
-<FONT color="green">005</FONT> * Licensed to the Apache Software
Foundation (ASF) under one<a name="line.5"></a>
-<FONT color="green">006</FONT> * or more contributor license agreements.
See the NOTICE file<a name="line.6"></a>
-<FONT color="green">007</FONT> * distributed with this work for additional
information<a name="line.7"></a>
-<FONT color="green">008</FONT> * regarding copyright ownership. The ASF
licenses this file<a name="line.8"></a>
-<FONT color="green">009</FONT> * to you under the Apache License, Version
2.0 (the<a name="line.9"></a>
-<FONT color="green">010</FONT> * "License"); you may not use this file
except in compliance<a name="line.10"></a>
-<FONT color="green">011</FONT> * with the License. You may obtain a copy
of the License at<a name="line.11"></a>
-<FONT color="green">012</FONT> *<a name="line.12"></a>
-<FONT color="green">013</FONT> *
http://www.apache.org/licenses/LICENSE-2.0<a name="line.13"></a>
-<FONT color="green">014</FONT> *<a name="line.14"></a>
-<FONT color="green">015</FONT> * Unless required by applicable law or
agreed to in writing,<a name="line.15"></a>
-<FONT color="green">016</FONT> * software distributed under the License is
distributed on an<a name="line.16"></a>
-<FONT color="green">017</FONT> * "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY<a name="line.17"></a>
-<FONT color="green">018</FONT> * KIND, either express or implied. See the
License for the<a name="line.18"></a>
-<FONT color="green">019</FONT> * specific language governing permissions
and limitations<a name="line.19"></a>
-<FONT color="green">020</FONT> * under the License.<a name="line.20"></a>
-<FONT color="green">021</FONT> */<a name="line.21"></a>
-<FONT color="green">022</FONT> <a name="line.22"></a>
-<FONT color="green">023</FONT> <a name="line.23"></a>
-<FONT color="green">024</FONT> import java.io.File;<a name="line.24"></a>
-<FONT color="green">025</FONT> import java.io.FileReader;<a
name="line.25"></a>
-<FONT color="green">026</FONT> import java.io.StringReader;<a
name="line.26"></a>
-<FONT color="green">027</FONT> import java.io.InputStream;<a
name="line.27"></a>
-<FONT color="green">028</FONT> import java.io.InputStreamReader;<a
name="line.28"></a>
-<FONT color="green">029</FONT> import java.io.BufferedReader;<a
name="line.29"></a>
-<FONT color="green">030</FONT> import java.io.IOException;<a
name="line.30"></a>
-<FONT color="green">031</FONT> import java.util.Map;<a name="line.31"></a>
-<FONT color="green">032</FONT> import java.util.HashMap;<a
name="line.32"></a>
-<FONT color="green">033</FONT> import java.util.StringTokenizer;<a
name="line.33"></a>
-<FONT color="green">034</FONT> <a name="line.34"></a>
-<FONT color="green">035</FONT> /**<a name="line.35"></a>
-<FONT color="green">036</FONT> * This class defines mappings between MIME
types and the corresponding<a name="line.36"></a>
-<FONT color="green">037</FONT> * file name extensions. The mappings are
defined as lines formed<a name="line.37"></a>
-<FONT color="green">038</FONT> * by a MIME type name followed by a list of
extensions separated<a name="line.38"></a>
-<FONT color="green">039</FONT> * by a whitespace.<a name="line.39"></a>
-<FONT color="green">040</FONT> *<a name="line.40"></a>
-<FONT color="green">041</FONT> * @author <a
href="mailto:[email protected]">Ilkka Priha</a><a
name="line.41"></a>
-<FONT color="green">042</FONT> * @author Daniel Rall<a name="line.42"></a>
-<FONT color="green">043</FONT> * @version $Id: MimeTypeMapper.java 826489
2009-10-18 18:54:59Z tv $<a name="line.43"></a>
-<FONT color="green">044</FONT> */<a name="line.44"></a>
-<FONT color="green">045</FONT> public class MimeTypeMapper<a
name="line.45"></a>
-<FONT color="green">046</FONT> {<a name="line.46"></a>
-<FONT color="green">047</FONT> /**<a name="line.47"></a>
-<FONT color="green">048</FONT> * Mappings between MIME types and file
name extensions.<a name="line.48"></a>
-<FONT color="green">049</FONT> */<a name="line.49"></a>
-<FONT color="green">050</FONT> private HashMap mimeTypeExtensions = new
HashMap();<a name="line.50"></a>
-<FONT color="green">051</FONT> protected HashMap extensionMimeTypes =
new HashMap();<a name="line.51"></a>
-<FONT color="green">052</FONT> <a name="line.52"></a>
-<FONT color="green">053</FONT> /**<a name="line.53"></a>
-<FONT color="green">054</FONT> * Constructs an empty MIME type
mapper.<a name="line.54"></a>
-<FONT color="green">055</FONT> */<a name="line.55"></a>
-<FONT color="green">056</FONT> public MimeTypeMapper()<a
name="line.56"></a>
-<FONT color="green">057</FONT> {<a name="line.57"></a>
-<FONT color="green">058</FONT> // do nothing<a name="line.58"></a>
-<FONT color="green">059</FONT> }<a name="line.59"></a>
-<FONT color="green">060</FONT> <a name="line.60"></a>
-<FONT color="green">061</FONT> /**<a name="line.61"></a>
-<FONT color="green">062</FONT> * Constructs a mapper reading from a
stream.<a name="line.62"></a>
-<FONT color="green">063</FONT> *<a name="line.63"></a>
-<FONT color="green">064</FONT> * @param input an input stream.<a
name="line.64"></a>
-<FONT color="green">065</FONT> * @throws IOException for an incorrect
stream.<a name="line.65"></a>
-<FONT color="green">066</FONT> */<a name="line.66"></a>
-<FONT color="green">067</FONT> public MimeTypeMapper(InputStream
input)<a name="line.67"></a>
-<FONT color="green">068</FONT> throws IOException<a
name="line.68"></a>
-<FONT color="green">069</FONT> {<a name="line.69"></a>
-<FONT color="green">070</FONT> parse(new BufferedReader(<a
name="line.70"></a>
-<FONT color="green">071</FONT> new
InputStreamReader(input,CharSetMap.DEFAULT_CHARSET)));<a name="line.71"></a>
-<FONT color="green">072</FONT> }<a name="line.72"></a>
-<FONT color="green">073</FONT> <a name="line.73"></a>
-<FONT color="green">074</FONT> /**<a name="line.74"></a>
-<FONT color="green">075</FONT> * Constructs a mapper reading from a
file.<a name="line.75"></a>
-<FONT color="green">076</FONT> *<a name="line.76"></a>
-<FONT color="green">077</FONT> * @param file an input file.<a
name="line.77"></a>
-<FONT color="green">078</FONT> * @throws IOException for an incorrect
file.<a name="line.78"></a>
-<FONT color="green">079</FONT> */<a name="line.79"></a>
-<FONT color="green">080</FONT> public MimeTypeMapper(File file)<a
name="line.80"></a>
-<FONT color="green">081</FONT> throws IOException<a
name="line.81"></a>
-<FONT color="green">082</FONT> {<a name="line.82"></a>
-<FONT color="green">083</FONT> FileReader freader = new
FileReader(file);<a name="line.83"></a>
-<FONT color="green">084</FONT> try<a name="line.84"></a>
-<FONT color="green">085</FONT> {<a name="line.85"></a>
-<FONT color="green">086</FONT> parse(new
BufferedReader(freader));<a name="line.86"></a>
-<FONT color="green">087</FONT> }<a name="line.87"></a>
-<FONT color="green">088</FONT> finally<a name="line.88"></a>
-<FONT color="green">089</FONT> {<a name="line.89"></a>
-<FONT color="green">090</FONT> try<a name="line.90"></a>
-<FONT color="green">091</FONT> {<a name="line.91"></a>
-<FONT color="green">092</FONT> freader.close();<a
name="line.92"></a>
-<FONT color="green">093</FONT> }<a name="line.93"></a>
-<FONT color="green">094</FONT> catch (IOException x)<a
name="line.94"></a>
-<FONT color="green">095</FONT> {<a name="line.95"></a>
-<FONT color="green">096</FONT> // ignore<a
name="line.96"></a>
-<FONT color="green">097</FONT> }<a name="line.97"></a>
-<FONT color="green">098</FONT> }<a name="line.98"></a>
-<FONT color="green">099</FONT> }<a name="line.99"></a>
-<FONT color="green">100</FONT> <a name="line.100"></a>
-<FONT color="green">101</FONT> /**<a name="line.101"></a>
-<FONT color="green">102</FONT> * Constructs a mapper reading from a
file path.<a name="line.102"></a>
-<FONT color="green">103</FONT> *<a name="line.103"></a>
-<FONT color="green">104</FONT> * @param path an input file path.<a
name="line.104"></a>
-<FONT color="green">105</FONT> * @throws IOException for an incorrect
file.<a name="line.105"></a>
-<FONT color="green">106</FONT> */<a name="line.106"></a>
-<FONT color="green">107</FONT> public MimeTypeMapper(String path)<a
name="line.107"></a>
-<FONT color="green">108</FONT> throws IOException<a
name="line.108"></a>
-<FONT color="green">109</FONT> {<a name="line.109"></a>
-<FONT color="green">110</FONT> this(new File(path));<a
name="line.110"></a>
-<FONT color="green">111</FONT> }<a name="line.111"></a>
-<FONT color="green">112</FONT> <a name="line.112"></a>
-<FONT color="green">113</FONT> /**<a name="line.113"></a>
-<FONT color="green">114</FONT> * Sets a MIME content type mapping to
extensions.<a name="line.114"></a>
-<FONT color="green">115</FONT> *<a name="line.115"></a>
-<FONT color="green">116</FONT> * @param spec a MIME type extension
specification to parse.<a name="line.116"></a>
-<FONT color="green">117</FONT> */<a name="line.117"></a>
-<FONT color="green">118</FONT> public void setContentType(String
spec)<a name="line.118"></a>
-<FONT color="green">119</FONT> {<a name="line.119"></a>
-<FONT color="green">120</FONT> try<a name="line.120"></a>
-<FONT color="green">121</FONT> {<a name="line.121"></a>
-<FONT color="green">122</FONT> parse(new BufferedReader(new
StringReader(spec)));<a name="line.122"></a>
-<FONT color="green">123</FONT> }<a name="line.123"></a>
-<FONT color="green">124</FONT> catch (IOException x)<a
name="line.124"></a>
-<FONT color="green">125</FONT> {<a name="line.125"></a>
-<FONT color="green">126</FONT> // ignore<a name="line.126"></a>
-<FONT color="green">127</FONT> }<a name="line.127"></a>
-<FONT color="green">128</FONT> }<a name="line.128"></a>
-<FONT color="green">129</FONT> <a name="line.129"></a>
-<FONT color="green">130</FONT> /**<a name="line.130"></a>
-<FONT color="green">131</FONT> * Gets a MIME content type
corresponding to a specified file name<a name="line.131"></a>
-<FONT color="green">132</FONT> * extension. If a mapping is initially
not found, tries a second<a name="line.132"></a>
-<FONT color="green">133</FONT> * lookup using the provided extension
in lower case.<a name="line.133"></a>
-<FONT color="green">134</FONT> *<a name="line.134"></a>
-<FONT color="green">135</FONT> * @param ext The file name extension to
resolve.<a name="line.135"></a>
-<FONT color="green">136</FONT> * @return The MIME type, or
<code>null</code> if not found.<a name="line.136"></a>
-<FONT color="green">137</FONT> */<a name="line.137"></a>
-<FONT color="green">138</FONT> public String getContentType(String
ext)<a name="line.138"></a>
-<FONT color="green">139</FONT> {<a name="line.139"></a>
-<FONT color="green">140</FONT> String mimeType = (String)
mimeTypeExtensions.get(ext);<a name="line.140"></a>
-<FONT color="green">141</FONT> if (mimeType == null && ext
!= null)<a name="line.141"></a>
-<FONT color="green">142</FONT> {<a name="line.142"></a>
-<FONT color="green">143</FONT> String lcExt =
ext.toLowerCase();<a name="line.143"></a>
-<FONT color="green">144</FONT> if (!ext.equals(lcExt))<a
name="line.144"></a>
-<FONT color="green">145</FONT> {<a name="line.145"></a>
-<FONT color="green">146</FONT> // Original file extension
didn't resolve, but was<a name="line.146"></a>
-<FONT color="green">147</FONT> // mixed case. Try it again
with lower case chars.<a name="line.147"></a>
-<FONT color="green">148</FONT> mimeType = (String)
mimeTypeExtensions.get(lcExt);<a name="line.148"></a>
-<FONT color="green">149</FONT> }<a name="line.149"></a>
-<FONT color="green">150</FONT> }<a name="line.150"></a>
-<FONT color="green">151</FONT> return mimeType;<a
name="line.151"></a>
-<FONT color="green">152</FONT> }<a name="line.152"></a>
-<FONT color="green">153</FONT> <a name="line.153"></a>
-<FONT color="green">154</FONT> /**<a name="line.154"></a>
-<FONT color="green">155</FONT> * Gets a file name extension
corresponding to a specified MIME content type.<a name="line.155"></a>
-<FONT color="green">156</FONT> *<a name="line.156"></a>
-<FONT color="green">157</FONT> * @param type a MIME type as a
string.<a name="line.157"></a>
-<FONT color="green">158</FONT> * @return the corresponding file name
extension or null.<a name="line.158"></a>
-<FONT color="green">159</FONT> */<a name="line.159"></a>
-<FONT color="green">160</FONT> public String getExtension(String
type)<a name="line.160"></a>
-<FONT color="green">161</FONT> {<a name="line.161"></a>
-<FONT color="green">162</FONT> return (String)
extensionMimeTypes.get(type);<a name="line.162"></a>
-<FONT color="green">163</FONT> }<a name="line.163"></a>
-<FONT color="green">164</FONT> <a name="line.164"></a>
-<FONT color="green">165</FONT> /**<a name="line.165"></a>
-<FONT color="green">166</FONT> * Parses MIME type extensions.<a
name="line.166"></a>
-<FONT color="green">167</FONT> *<a name="line.167"></a>
-<FONT color="green">168</FONT> * @param reader a reader to parse.<a
name="line.168"></a>
-<FONT color="green">169</FONT> * @throws IOException for an incorrect
reader.<a name="line.169"></a>
-<FONT color="green">170</FONT> */<a name="line.170"></a>
-<FONT color="green">171</FONT> protected synchronized void
parse(BufferedReader reader)<a name="line.171"></a>
-<FONT color="green">172</FONT> throws IOException<a
name="line.172"></a>
-<FONT color="green">173</FONT> {<a name="line.173"></a>
-<FONT color="green">174</FONT> int l,count = 0;<a name="line.174"></a>
-<FONT color="green">175</FONT> String next;<a name="line.175"></a>
-<FONT color="green">176</FONT> String str = null;<a
name="line.176"></a>
-<FONT color="green">177</FONT> HashMap mimeTypes = (HashMap)
extensionMimeTypes.clone();<a name="line.177"></a>
-<FONT color="green">178</FONT> HashMap extensions = (HashMap)
mimeTypeExtensions.clone();<a name="line.178"></a>
-<FONT color="green">179</FONT> while ((next = reader.readLine()) !=
null)<a name="line.179"></a>
-<FONT color="green">180</FONT> {<a name="line.180"></a>
-<FONT color="green">181</FONT> str = str == null ? next : str +
next;<a name="line.181"></a>
-<FONT color="green">182</FONT> if ((l = str.length()) == 0)<a
name="line.182"></a>
-<FONT color="green">183</FONT> {<a name="line.183"></a>
-<FONT color="green">184</FONT> str = null;<a
name="line.184"></a>
-<FONT color="green">185</FONT> continue;<a
name="line.185"></a>
-<FONT color="green">186</FONT> }<a name="line.186"></a>
-<FONT color="green">187</FONT> // Check for continuation line.<a
name="line.187"></a>
-<FONT color="green">188</FONT> if (str.charAt(l - 1) != '\\')<a
name="line.188"></a>
-<FONT color="green">189</FONT> {<a name="line.189"></a>
-<FONT color="green">190</FONT> count +=
parseMimeTypeExtension(str,mimeTypes,extensions);<a name="line.190"></a>
-<FONT color="green">191</FONT> str = null;<a
name="line.191"></a>
-<FONT color="green">192</FONT> }<a name="line.192"></a>
-<FONT color="green">193</FONT> else<a name="line.193"></a>
-<FONT color="green">194</FONT> {<a name="line.194"></a>
-<FONT color="green">195</FONT> str = str.substring(0,l -
1);<a name="line.195"></a>
-<FONT color="green">196</FONT> }<a name="line.196"></a>
-<FONT color="green">197</FONT> }<a name="line.197"></a>
-<FONT color="green">198</FONT> if (str != null)<a name="line.198"></a>
-<FONT color="green">199</FONT> {<a name="line.199"></a>
-<FONT color="green">200</FONT> count +=
parseMimeTypeExtension(str,mimeTypes,extensions);<a name="line.200"></a>
-<FONT color="green">201</FONT> }<a name="line.201"></a>
-<FONT color="green">202</FONT> if (count > 0)<a
name="line.202"></a>
-<FONT color="green">203</FONT> {<a name="line.203"></a>
-<FONT color="green">204</FONT> extensionMimeTypes = mimeTypes;<a
name="line.204"></a>
-<FONT color="green">205</FONT> mimeTypeExtensions = extensions;<a
name="line.205"></a>
-<FONT color="green">206</FONT> }<a name="line.206"></a>
-<FONT color="green">207</FONT> }<a name="line.207"></a>
-<FONT color="green">208</FONT> <a name="line.208"></a>
-<FONT color="green">209</FONT> /**<a name="line.209"></a>
-<FONT color="green">210</FONT> * Parses a MIME type extension.<a
name="line.210"></a>
-<FONT color="green">211</FONT> *<a name="line.211"></a>
-<FONT color="green">212</FONT> * @param spec an extension
specification to parse.<a name="line.212"></a>
-<FONT color="green">213</FONT> * @param mimeTypes a map of MIME
types.<a name="line.213"></a>
-<FONT color="green">214</FONT> * @param extensions a map of
extensions.<a name="line.214"></a>
-<FONT color="green">215</FONT> * @return the number of file name
extensions parsed.<a name="line.215"></a>
-<FONT color="green">216</FONT> */<a name="line.216"></a>
-<FONT color="green">217</FONT> protected int
parseMimeTypeExtension(String spec,<a name="line.217"></a>
-<FONT color="green">218</FONT> Map
mimeTypes,<a name="line.218"></a>
-<FONT color="green">219</FONT> Map
extensions)<a name="line.219"></a>
-<FONT color="green">220</FONT> {<a name="line.220"></a>
-<FONT color="green">221</FONT> int count = 0;<a name="line.221"></a>
-<FONT color="green">222</FONT> spec = spec.trim();<a
name="line.222"></a>
-<FONT color="green">223</FONT> if ((spec.length() > 0)
&&<a name="line.223"></a>
-<FONT color="green">224</FONT> (spec.charAt(0) != '#'))<a
name="line.224"></a>
-<FONT color="green">225</FONT> {<a name="line.225"></a>
-<FONT color="green">226</FONT> StringTokenizer tokens = new
StringTokenizer(spec);<a name="line.226"></a>
-<FONT color="green">227</FONT> String type =
tokens.nextToken();<a name="line.227"></a>
-<FONT color="green">228</FONT> String ext;<a
name="line.228"></a>
-<FONT color="green">229</FONT> while (tokens.hasMoreTokens())<a
name="line.229"></a>
-<FONT color="green">230</FONT> {<a name="line.230"></a>
-<FONT color="green">231</FONT> ext = tokens.nextToken();<a
name="line.231"></a>
-<FONT color="green">232</FONT> if (ext.length() == 0)<a
name="line.232"></a>
-<FONT color="green">233</FONT> {<a name="line.233"></a>
-<FONT color="green">234</FONT> continue;<a
name="line.234"></a>
-<FONT color="green">235</FONT> }<a name="line.235"></a>
-<FONT color="green">236</FONT> extensions.put(ext,type);<a
name="line.236"></a>
-<FONT color="green">237</FONT> if (count++ == 0)<a
name="line.237"></a>
-<FONT color="green">238</FONT> {<a name="line.238"></a>
-<FONT color="green">239</FONT>
mimeTypes.put(type,ext);<a name="line.239"></a>
-<FONT color="green">240</FONT> }<a name="line.240"></a>
-<FONT color="green">241</FONT> }<a name="line.241"></a>
-<FONT color="green">242</FONT> }<a name="line.242"></a>
-<FONT color="green">243</FONT> return count;<a name="line.243"></a>
-<FONT color="green">244</FONT> }<a name="line.244"></a>
-<FONT color="green">245</FONT> }<a name="line.245"></a>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css"
title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package
org.apache.fulcrum.mimetype.util;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span><a name="line.3"></a>
+<span class="sourceLineNo">004</span><a name="line.4"></a>
+<span class="sourceLineNo">005</span>/*<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * Licensed to the Apache Software
Foundation (ASF) under one<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * or more contributor license
agreements. See the NOTICE file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * distributed with this work for
additional information<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * regarding copyright ownership. The
ASF licenses this file<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * to you under the Apache License,
Version 2.0 (the<a name="line.10"></a>
+<span class="sourceLineNo">011</span> * "License"); you may not use this file
except in compliance<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * with the License. You may obtain a
copy of the License at<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> *
http://www.apache.org/licenses/LICENSE-2.0<a name="line.14"></a>
+<span class="sourceLineNo">015</span> *<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Unless required by applicable law or
agreed to in writing,<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * software distributed under the License
is distributed on an<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * KIND, either express or implied. See
the License for the<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * specific language governing
permissions and limitations<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * under the License.<a
name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.io.BufferedReader;<a
name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.io.File;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.io.FileInputStream;<a
name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.io.IOException;<a
name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.io.InputStream;<a
name="line.28"></a>
+<span class="sourceLineNo">029</span>import java.io.InputStreamReader;<a
name="line.29"></a>
+<span class="sourceLineNo">030</span>import java.io.StringReader;<a
name="line.30"></a>
+<span class="sourceLineNo">031</span>import java.util.HashMap;<a
name="line.31"></a>
+<span class="sourceLineNo">032</span>import java.util.Map;<a
name="line.32"></a>
+<span class="sourceLineNo">033</span>import java.util.StringTokenizer;<a
name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>import
org.apache.commons.lang3.StringUtils;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>/**<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * This class defines mappings between
MIME types and the corresponding<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * file name extensions. The mappings are
defined as lines formed<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * by a MIME type name followed by a list
of extensions separated<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * by a whitespace.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * @author <a
href="mailto:[email protected]">Ilkka Priha</a><a
name="line.43"></a>
+<span class="sourceLineNo">044</span> * @author Daniel Rall<a
name="line.44"></a>
+<span class="sourceLineNo">045</span> * @version $Id: MimeTypeMapper.java
1851387 2019-01-15 15:53:18Z painter $<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public class MimeTypeMapper<a
name="line.47"></a>
+<span class="sourceLineNo">048</span>{<a name="line.48"></a>
+<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Mappings between MIME types and
file name extensions.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> */<a name="line.51"></a>
+<span class="sourceLineNo">052</span> private HashMap<String, String>
mimeTypeExtensions = new HashMap<String, String>();<a name="line.52"></a>
+<span class="sourceLineNo">053</span> protected HashMap<String,
String> extensionMimeTypes = new HashMap<String, String>();<a
name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Constructs an empty MIME type
mapper.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> */<a name="line.57"></a>
+<span class="sourceLineNo">058</span> public MimeTypeMapper()<a
name="line.58"></a>
+<span class="sourceLineNo">059</span> {<a name="line.59"></a>
+<span class="sourceLineNo">060</span> // do nothing<a
name="line.60"></a>
+<span class="sourceLineNo">061</span> }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Constructs a mapper reading from a
stream.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param input an input stream.<a
name="line.66"></a>
+<span class="sourceLineNo">067</span> * @throws IOException for an
incorrect stream.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public MimeTypeMapper(InputStream
input)<a name="line.69"></a>
+<span class="sourceLineNo">070</span> throws IOException<a
name="line.70"></a>
+<span class="sourceLineNo">071</span> {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> parse(new BufferedReader(<a
name="line.72"></a>
+<span class="sourceLineNo">073</span> new
InputStreamReader(input,CharSetMap.DEFAULT_CHARSET)));<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span> /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Constructs a mapper reading from a
file.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> *<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @param file an input file.<a
name="line.79"></a>
+<span class="sourceLineNo">080</span> * @throws IOException for an
incorrect file.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> */<a name="line.81"></a>
+<span class="sourceLineNo">082</span> public MimeTypeMapper(File file)<a
name="line.82"></a>
+<span class="sourceLineNo">083</span> throws IOException<a
name="line.83"></a>
+<span class="sourceLineNo">084</span> {<a name="line.84"></a>
+<span class="sourceLineNo">085</span> try (BufferedReader in = new
BufferedReader(<a name="line.85"></a>
+<span class="sourceLineNo">086</span> new
InputStreamReader(new FileInputStream(file), "UTF8")) )<a name="line.86"></a>
+<span class="sourceLineNo">087</span> {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> parse(in);<a
name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span> catch (IOException x)<a
name="line.90"></a>
+<span class="sourceLineNo">091</span> {<a name="line.91"></a>
+<span class="sourceLineNo">092</span> // ignore<a
name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span> /**<a name="line.96"></a>
+<span class="sourceLineNo">097</span> * Constructs a mapper reading from a
file path.<a name="line.97"></a>
+<span class="sourceLineNo">098</span> *<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param path an input file path.<a
name="line.99"></a>
+<span class="sourceLineNo">100</span> * @throws IOException for an
incorrect file.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> */<a name="line.101"></a>
+<span class="sourceLineNo">102</span> public MimeTypeMapper(String path)<a
name="line.102"></a>
+<span class="sourceLineNo">103</span> throws IOException<a
name="line.103"></a>
+<span class="sourceLineNo">104</span> {<a name="line.104"></a>
+<span class="sourceLineNo">105</span> this(new File(path));<a
name="line.105"></a>
+<span class="sourceLineNo">106</span> }<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span> /**<a name="line.108"></a>
+<span class="sourceLineNo">109</span> * Sets a MIME content type mapping
to extensions.<a name="line.109"></a>
+<span class="sourceLineNo">110</span> *<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @param spec a MIME type extension
specification to parse.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> */<a name="line.112"></a>
+<span class="sourceLineNo">113</span> public void setContentType(String
spec)<a name="line.113"></a>
+<span class="sourceLineNo">114</span> {<a name="line.114"></a>
+<span class="sourceLineNo">115</span> try<a name="line.115"></a>
+<span class="sourceLineNo">116</span> {<a name="line.116"></a>
+<span class="sourceLineNo">117</span> parse(new BufferedReader(new
StringReader(spec)));<a name="line.117"></a>
+<span class="sourceLineNo">118</span> }<a name="line.118"></a>
+<span class="sourceLineNo">119</span> catch (IOException x)<a
name="line.119"></a>
+<span class="sourceLineNo">120</span> {<a name="line.120"></a>
+<span class="sourceLineNo">121</span> // ignore<a name="line.121"></a>
+<span class="sourceLineNo">122</span> }<a name="line.122"></a>
+<span class="sourceLineNo">123</span> }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span> /**<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * Gets a MIME content type
corresponding to a specified file name<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * extension.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> *<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * @param ext The file name extension
to resolve.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @return The MIME type, or
<code>null</code> if not found.<a name="line.130"></a>
+<span class="sourceLineNo">131</span> */<a name="line.131"></a>
+<span class="sourceLineNo">132</span> public synchronized String
getContentType(String ext)<a name="line.132"></a>
+<span class="sourceLineNo">133</span> {<a name="line.133"></a>
+<span class="sourceLineNo">134</span> if (
StringUtils.isNotEmpty(ext) &&<a name="line.134"></a>
+<span class="sourceLineNo">135</span>
mimeTypeExtensions.containsKey(ext.toLowerCase()))<a name="line.135"></a>
+<span class="sourceLineNo">136</span> {<a name="line.136"></a>
+<span class="sourceLineNo">137</span> return
mimeTypeExtensions.get(ext.toLowerCase());<a name="line.137"></a>
+<span class="sourceLineNo">138</span> } else {<a
name="line.138"></a>
+<span class="sourceLineNo">139</span> return null;<a
name="line.139"></a>
+<span class="sourceLineNo">140</span> }<a name="line.140"></a>
+<span class="sourceLineNo">141</span> }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span> /**<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * Gets a file name extension
corresponding to a specified MIME content type.<a name="line.144"></a>
+<span class="sourceLineNo">145</span> *<a name="line.145"></a>
+<span class="sourceLineNo">146</span> * @param type a MIME type as a
string.<a name="line.146"></a>
+<span class="sourceLineNo">147</span> * @return the corresponding file
name extension or null.<a name="line.147"></a>
+<span class="sourceLineNo">148</span> */<a name="line.148"></a>
+<span class="sourceLineNo">149</span> public String getExtension(String
type)<a name="line.149"></a>
+<span class="sourceLineNo">150</span> {<a name="line.150"></a>
+<span class="sourceLineNo">151</span> return (String)
extensionMimeTypes.get(type);<a name="line.151"></a>
+<span class="sourceLineNo">152</span> }<a name="line.152"></a>
+<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">154</span> /**<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * Parses MIME type extensions.<a
name="line.155"></a>
+<span class="sourceLineNo">156</span> *<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @param reader a reader to parse.<a
name="line.157"></a>
+<span class="sourceLineNo">158</span> * @throws IOException for an
incorrect reader.<a name="line.158"></a>
+<span class="sourceLineNo">159</span> */<a name="line.159"></a>
+<span class="sourceLineNo">160</span> @SuppressWarnings("unchecked")<a
name="line.160"></a>
+<span class="sourceLineNo">161</span> protected synchronized void
parse(BufferedReader reader)<a name="line.161"></a>
+<span class="sourceLineNo">162</span> throws IOException<a
name="line.162"></a>
+<span class="sourceLineNo">163</span> {<a name="line.163"></a>
+<span class="sourceLineNo">164</span> int l,count = 0;<a
name="line.164"></a>
+<span class="sourceLineNo">165</span> String next;<a name="line.165"></a>
+<span class="sourceLineNo">166</span> String str = null;<a
name="line.166"></a>
+<span class="sourceLineNo">167</span> HashMap<String, String>
mimeTypes = (HashMap<String, String>) extensionMimeTypes.clone();<a
name="line.167"></a>
+<span class="sourceLineNo">168</span> HashMap<String, String>
extensions = (HashMap<String, String>) mimeTypeExtensions.clone();<a
name="line.168"></a>
+<span class="sourceLineNo">169</span> while ((next = reader.readLine())
!= null)<a name="line.169"></a>
+<span class="sourceLineNo">170</span> {<a name="line.170"></a>
+<span class="sourceLineNo">171</span> str = str == null ? next : str
+ next;<a name="line.171"></a>
+<span class="sourceLineNo">172</span> if ((l = str.length()) == 0)<a
name="line.172"></a>
+<span class="sourceLineNo">173</span> {<a name="line.173"></a>
+<span class="sourceLineNo">174</span> str = null;<a
name="line.174"></a>
+<span class="sourceLineNo">175</span> continue;<a
name="line.175"></a>
+<span class="sourceLineNo">176</span> }<a name="line.176"></a>
+<span class="sourceLineNo">177</span> // Check for continuation
line.<a name="line.177"></a>
+<span class="sourceLineNo">178</span> if (str.charAt(l - 1) !=
'\\')<a name="line.178"></a>
+<span class="sourceLineNo">179</span> {<a name="line.179"></a>
+<span class="sourceLineNo">180</span> count +=
parseMimeTypeExtension(str,mimeTypes,extensions);<a name="line.180"></a>
+<span class="sourceLineNo">181</span> str = null;<a
name="line.181"></a>
+<span class="sourceLineNo">182</span> }<a name="line.182"></a>
+<span class="sourceLineNo">183</span> else<a name="line.183"></a>
+<span class="sourceLineNo">184</span> {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> str = str.substring(0,l -
1);<a name="line.185"></a>
+<span class="sourceLineNo">186</span> }<a name="line.186"></a>
+<span class="sourceLineNo">187</span> }<a name="line.187"></a>
+<span class="sourceLineNo">188</span> if (str != null)<a
name="line.188"></a>
+<span class="sourceLineNo">189</span> {<a name="line.189"></a>
+<span class="sourceLineNo">190</span> count +=
parseMimeTypeExtension(str,mimeTypes,extensions);<a name="line.190"></a>
+<span class="sourceLineNo">191</span> }<a name="line.191"></a>
+<span class="sourceLineNo">192</span> if (count > 0)<a
name="line.192"></a>
+<span class="sourceLineNo">193</span> {<a name="line.193"></a>
+<span class="sourceLineNo">194</span> extensionMimeTypes =
mimeTypes;<a name="line.194"></a>
+<span class="sourceLineNo">195</span> mimeTypeExtensions =
extensions;<a name="line.195"></a>
+<span class="sourceLineNo">196</span> }<a name="line.196"></a>
+<span class="sourceLineNo">197</span> }<a name="line.197"></a>
+<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">199</span> /**<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * Parses a MIME type extension.<a
name="line.200"></a>
+<span class="sourceLineNo">201</span> *<a name="line.201"></a>
+<span class="sourceLineNo">202</span> * @param spec an extension
specification to parse.<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * @param mimeTypes a map of MIME
types.<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * @param extensions a map of
extensions.<a name="line.204"></a>
+<span class="sourceLineNo">205</span> * @return the number of file name
extensions parsed.<a name="line.205"></a>
+<span class="sourceLineNo">206</span> */<a name="line.206"></a>
+<span class="sourceLineNo">207</span> protected int
parseMimeTypeExtension(String spec,<a name="line.207"></a>
+<span class="sourceLineNo">208</span>
Map<String, String> mimeTypes,<a name="line.208"></a>
+<span class="sourceLineNo">209</span>
Map<String, String> extensions)<a name="line.209"></a>
+<span class="sourceLineNo">210</span> {<a name="line.210"></a>
+<span class="sourceLineNo">211</span> int count = 0;<a
name="line.211"></a>
+<span class="sourceLineNo">212</span> spec = spec.trim();<a
name="line.212"></a>
+<span class="sourceLineNo">213</span> if (spec.length() > 0
&&<a name="line.213"></a>
+<span class="sourceLineNo">214</span> spec.charAt(0) != '#')<a
name="line.214"></a>
+<span class="sourceLineNo">215</span> {<a name="line.215"></a>
+<span class="sourceLineNo">216</span> StringTokenizer tokens = new
StringTokenizer(spec);<a name="line.216"></a>
+<span class="sourceLineNo">217</span> String type =
tokens.nextToken();<a name="line.217"></a>
+<span class="sourceLineNo">218</span> String ext;<a
name="line.218"></a>
+<span class="sourceLineNo">219</span> while
(tokens.hasMoreTokens())<a name="line.219"></a>
+<span class="sourceLineNo">220</span> {<a name="line.220"></a>
+<span class="sourceLineNo">221</span> ext =
tokens.nextToken();<a name="line.221"></a>
+<span class="sourceLineNo">222</span> if (ext.length() == 0)<a
name="line.222"></a>
+<span class="sourceLineNo">223</span> {<a name="line.223"></a>
+<span class="sourceLineNo">224</span> continue;<a
name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span>
extensions.put(ext,type);<a name="line.226"></a>
+<span class="sourceLineNo">227</span> if (count++ == 0)<a
name="line.227"></a>
+<span class="sourceLineNo">228</span> {<a name="line.228"></a>
+<span class="sourceLineNo">229</span>
mimeTypes.put(type,ext);<a name="line.229"></a>
+<span class="sourceLineNo">230</span> }<a name="line.230"></a>
+<span class="sourceLineNo">231</span> }<a name="line.231"></a>
+<span class="sourceLineNo">232</span> }<a name="line.232"></a>
+<span class="sourceLineNo">233</span> return count;<a
name="line.233"></a>
+<span class="sourceLineNo">234</span> }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>}<a name="line.235"></a>
@@ -306,6 +301,7 @@
-</PRE>
-</BODY>
-</HTML>
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/stylesheet.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/stylesheet.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/apidocs/stylesheet.css
Tue May 21 03:37:39 2019
@@ -1,29 +1,574 @@
/* Javadoc style sheet */
+/*
+Overall document style
+*/
-/* Define colors, fonts and other style attributes here to override the
defaults */
+@import url('resources/fonts/dejavu.css');
-/* Page background color */
-body { background-color: #FFFFFF }
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
+ font-size:14px;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4A6782;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4A6782;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+}
+h1 {
+ font-size:20px;
+}
+h2 {
+ font-size:18px;
+}
+h3 {
+ font-size:16px;
+ font-style:italic;
+}
+h4 {
+ font-size:13px;
+}
+h5 {
+ font-size:12px;
+}
+h6 {
+ font-size:11px;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+ margin-top:8px;
+ line-height:1.4em;
+}
+dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+}
+table tr td dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ vertical-align:top;
+ padding-top:4px;
+}
+sup {
+ font-size:8px;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:11px;
+ z-index:200;
+ margin-top:-9px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:11px;
+ margin:0;
+}
+.topNav {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.bottomNav {
+ margin-top:10px;
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav {
+ background-color:#dee3e9;
+ float:left;
+ width:100%;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+ text-transform:uppercase;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding: 5px 6px;
+ text-transform:uppercase;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link,
.bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+ text-transform:uppercase;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+ text-transform:uppercase;
+}
+.navBarCell1Rev {
+ background-color:#F8981D;
+ color:#253441;
+ margin: auto 5px;
+}
+.skipNav {
+ position:absolute;
+ top:auto;
+ left:-9999px;
+ overflow:hidden;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader span{
+ margin-right:15px;
+}
+.indexHeader h1 {
+ font-size:13px;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 15px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:13px;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4,
div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer,
.serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:12px;
+}
+.indexContainer h2 {
+ font-size:13px;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+ padding-top:2px;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt,
.serializedFormContainer dl dt {
+ font-size:12px;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd,
.serializedFormContainer dl dd {
+ margin:5px 0 10px 0px;
+ font-size:14px;
+ font-family:'DejaVu Sans Mono',monospace;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:15px;
+ line-height:1.4;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast
li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #ededed;
+ background-color:#f8f8f8;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList
ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.overviewSummary, .memberSummary, .typeSummary, .useSummary,
.constantsSummary, .deprecatedSummary {
+ width:100%;
+ border-left:1px solid #EEE;
+ border-right:1px solid #EEE;
+ border-bottom:1px solid #EEE;
+}
+.overviewSummary, .memberSummary {
+ padding:0px;
+}
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#253441;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ padding-top:10px;
+ padding-left:1px;
+ margin:0px;
+ white-space:pre;
+}
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary
caption a:link,
+.useSummary caption a:link, .constantsSummary caption a:link,
.deprecatedSummary caption a:link,
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary
caption a:hover,
+.useSummary caption a:hover, .constantsSummary caption a:hover,
.deprecatedSummary caption a:hover,
+.overviewSummary caption a:active, .memberSummary caption a:active,
.typeSummary caption a:active,
+.useSummary caption a:active, .constantsSummary caption a:active,
.deprecatedSummary caption a:active,
+.overviewSummary caption a:visited, .memberSummary caption a:visited,
.typeSummary caption a:visited,
+.useSummary caption a:visited, .constantsSummary caption a:visited,
.deprecatedSummary caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .memberSummary caption span, .typeSummary
caption span,
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary
caption span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ padding-bottom:7px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ border: none;
+ height:16px;
+}
+.memberSummary caption span.activeTableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ height:16px;
+}
+.memberSummary caption span.tableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#4D7A97;
+ height:16px;
+}
+.memberSummary caption span.tableTab, .memberSummary caption
span.activeTableTab {
+ padding-top:0px;
+ padding-left:0px;
+ padding-right:0px;
+ background-image:none;
+ float:none;
+ display:inline;
+}
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
+ display:none;
+ width:5px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .activeTableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .tableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ background-color:#4D7A97;
+ float:left;
-/* Headings */
-h1 { font-size: 145% }
+}
+.overviewSummary td, .memberSummary td, .typeSummary td,
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
+ text-align:left;
+ padding:0px 0px 12px 10px;
+}
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
+ vertical-align:top;
+ padding-right:0px;
+ padding-top:8px;
+ padding-bottom:3px;
+}
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
+ background:#dee3e9;
+ text-align:left;
+ padding:8px 3px 3px 7px;
+}
+td.colFirst, th.colFirst {
+ white-space:nowrap;
+ font-size:13px;
+}
+td.colLast, th.colLast {
+ font-size:13px;
+}
+td.colOne, th.colOne {
+ font-size:13px;
+}
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
+.useSummary td.colFirst, .useSummary th.colFirst,
+.overviewSummary td.colOne, .overviewSummary th.colOne,
+.memberSummary td.colFirst, .memberSummary th.colFirst,
+.memberSummary td.colOne, .memberSummary th.colOne,
+.typeSummary td.colFirst{
+ width:25%;
+ vertical-align:top;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover,
td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst
a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited,
td.colLast a:hover, .constantValuesContainer td a:link,
.constantValuesContainer td a:active, .constantValuesContainer td a:visited,
.constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+.tableSubHeadingColor {
+ background-color:#EEEEFF;
+}
+.altColor {
+ background-color:#FFFFFF;
+}
+.rowColor {
+ background-color:#EEEEEF;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
-/* Table colors */
-.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
-.TableRowColor { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif
}
-.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif
}
-.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif
}
-
-/* Navigation bar fonts and colors */
-.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
-.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ font-style:normal;
+}
-.NavBarCell2 { font-family: Arial, Helvetica, sans-serif;
background-color:#FFFFFF;}
-.NavBarCell3 { font-family: Arial, Helvetica, sans-serif;
background-color:#FFFFFF;}
+div.block {
+ font-size:14px;
+ font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
+}
+td.colLast div {
+ padding-top:0px;
+}
+
+
+td.colLast a {
+ padding-bottom:3px;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:10px;
+}
+.block {
+ display:block;
+ margin:3px 10px 2px 0px;
+ color:#474747;
+}
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
+ font-weight:bold;
+}
+.deprecationComment, .emphasizedPhrase, .interfaceName {
+ font-style:italic;
+}
+
+div.block div.block span.deprecationComment, div.block div.block
span.emphasizedPhrase,
+div.block div.block span.interfaceName {
+ font-style:normal;
+}
+
+div.contentContainer ul.blockList li.blockList h2{
+ padding-bottom:0px;
+}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/changes-report.html
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/changes-report.html
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/changes-report.html
Tue May 21 03:37:39 2019
@@ -1,328 +1,207 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-
-
-
-
-
-
-
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Fulcrum Mimetype - </title>
- <style type="text/css" media="all">
- @import url("./css/maven-base.css");
- @import url("./css/maven-theme.css");
- @import url("./css/site.css");
- </style>
- <link rel="stylesheet" href="./css/print.css" type="text/css"
media="print" />
- <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
- </head>
- <body class="composite">
- <div id="banner">
- <a href="../" id="bannerLeft">
-
- <img
src="../../images/turbine-project.png" alt="" />
-
- </a>
- <div class="clear">
- <hr/>
- </div>
- </div>
- <div id="breadcrumbs">
-
-
-
-
-
-
-
-
- <div class="xleft">
- Last Published: 02 November 2009
- | Version: 1.0.5
- </div>
- <div class="xright"> <a href="http://www.apache.org"
class="externalLink">Apache</a>
- |
- <a href="../../">Turbine</a>
- |
- <a href="..">Fulcrum</a>
-
-
-
-
-
-
-
-
- </div>
- <div class="clear">
- <hr/>
- </div>
- </div>
- <div id="leftColumn">
- <div id="navcolumn">
-
-
-
-
-
-
-
-
- <h5>Overview</h5>
- <ul>
-
- <li class="none">
- <a href="index.html">About</a>
- </li>
- </ul>
- <h5>Project Documentation</h5>
- <ul>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li class="collapsed">
- <a href="project-info.html">Project Information</a>
- </li>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li class="expanded">
- <a href="project-reports.html">Project Reports</a>
- <ul>
-
- <li class="none">
- <strong>Changes Report</strong>
- </li>
-
- <li class="none">
- <a href="cobertura/index.html">Cobertura Test Coverage</a>
- </li>
-
- <li class="none">
- <a href="cpd.html">CPD Report</a>
- </li>
-
- <li class="none">
- <a href="apidocs/index.html">JavaDocs</a>
- </li>
-
- <li class="none">
- <a href="jdepend-report.html">JDepend</a>
- </li>
-
- <li class="none">
- <a href="pmd.html">PMD Report</a>
- </li>
-
- <li class="none">
- <a href="rat-report.html">RAT Report</a>
- </li>
-
- <li class="none">
- <a href="xref/index.html">Source Xref</a>
- </li>
-
- <li class="none">
- <a href="surefire-report.html">Surefire Report</a>
- </li>
-
- <li class="none">
- <a href="taglist.html">Tag List</a>
- </li>
-
- <li class="none">
- <a href="testapidocs/index.html">Test JavaDocs</a>
- </li>
-
- <li class="none">
- <a href="xref-test/index.html">Test Source Xref</a>
- </li>
- </ul>
- </li>
- </ul>
- <h5>ASF</h5>
- <ul>
-
- <li class="none">
- <a
href="http://www.apache.org/foundation/sponsorship.html"
class="externalLink">Sponsorship</a>
- </li>
-
- <li class="none">
- <a href="http://www.apache.org/foundation/thanks.html"
class="externalLink">Thanks</a>
- </li>
- </ul>
- <a href="http://maven.apache.org/"
title="Built by Maven" class="poweredBy">
- <img alt="Built by Maven"
src="./images/logos/maven-feather.png"></img>
- </a>
-
-
-
-
-
-
-
-
- </div>
- </div>
- <div id="bodyColumn">
- <div id="contentBox">
- <h2><a name="Changes_Report"></a>Changes Report</h2>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia Site Renderer 1.8.1 from
org.apache.maven.plugins:maven-changes-plugin:2.12.1:changes-report at 20 May
2019 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Fulcrum Mimetype – Fulcrum MIME type</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css"
media="print" />
+ <meta name="author" content="Eric Pugh" />
+ <meta http-equiv="Content-Language" content="en" />
+
+ </head>
+ <body class="composite">
+ <div id="banner">
+<a href="../../" id="bannerLeft" title="Apache Turbine"><img
src="../../images/turbine-project.png" alt="Apache Turbine"/></a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+ <div class="xleft">
+ <span id="publishDate">Last Published: 20 May 2019</span>
+ | <span id="projectVersion">Version: 1.0.6</span>
+ </div>
+ <div class="xright"><a href="http://www.apache.org" class="externalLink"
title="Apache">Apache</a> |
+<a href="../../" title="Turbine">Turbine</a> |
+<a href="../" title="Fulcrum">Fulcrum</a> </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+ <h5>Overview</h5>
+ <ul>
+ <li class="none"><a href="index.html" title="About">About</a></li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed"><a href="project-info.html" title="Project
Information">Project Information</a></li>
+ <li class="expanded"><a href="project-reports.html" title="Project
Reports">Project Reports</a>
+ <ul>
+ <li class="none"><strong>Changes</strong></li>
+ <li class="none"><a href="findbugs.html"
title="FindBugs">FindBugs</a></li>
+ <li class="none"><a href="apidocs/index.html"
title="Javadoc">Javadoc</a></li>
+ <li class="none"><a href="testapidocs/index.html" title="Test
Javadoc">Test Javadoc</a></li>
+ <li class="none"><a href="xref/index.html" title="Source Xref">Source
Xref</a></li>
+ <li class="none"><a href="xref-test/index.html" title="Test Source
Xref">Test Source Xref</a></li>
+ <li class="none"><a href="pmd.html" title="PMD">PMD</a></li>
+ <li class="none"><a href="surefire-report.html" title="Surefire
Report">Surefire Report</a></li>
+ <li class="none"><a href="cobertura/index.html" title="Cobertura Test
Coverage">Cobertura Test Coverage</a></li>
+ <li class="none"><a href="jdepend-report.html"
title="JDepend">JDepend</a></li>
+ <li class="none"><a href="rat-report.html" title="Rat Report">Rat
Report</a></li>
+ <li class="none"><a href="taglist.html" title="Tag List">Tag
List</a></li>
+ </ul></li>
+ </ul>
+ <h5>Apache</h5>
+ <ul>
+ <li class="none"><a href="http://www.apache.org/" class="externalLink"
title="Apache Website">Apache Website</a></li>
+ <li class="none"><a href="http://www.apache.org/licenses/"
class="externalLink" title="License">License</a></li>
+ <li class="none"><a
href="http://www.apache.org/foundation/how-it-works.html" class="externalLink"
title="How the ASF works">How the ASF works</a></li>
+ <li class="none"><a
href="http://www.apache.org/foundation/sponsorship.html" class="externalLink"
title="Sponsorship">Sponsorship</a></li>
+ <li class="none"><a href="http://www.apache.org/foundation/thanks.html"
class="externalLink" title="Thanks">Thanks</a></li>
+ <li class="none"><a href="http://www.apache.org/security/"
class="externalLink" title="Security">Security</a></li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven"
class="poweredBy">
+ <img class="poweredBy" alt="Built by Maven"
src="./images/logos/maven-feather.png" />
+ </a>
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+<div class="section">
+<h2><a name="Fulcrum_MIME_type"></a>Fulcrum MIME type</h2>
+<div class="section">
<h3><a name="Release_History"></a>Release History</h3>
-<table class="bodyTable"><tr class="a"><th>Version</th>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>Version</th>
<th>Date</th>
-<th>Description</th>
-</tr>
-<tr class="b"><td><a href="#a1.0.6-SNAPSHOT">1.0.6-SNAPSHOT</a></td>
+<th>Description</th></tr>
+<tr class="b">
+<td><a href="#a1.0.6-SNAPSHOT">1.0.6-SNAPSHOT</a></td>
<td>in SVN</td>
-<td></td>
-</tr>
-<tr class="a"><td><a href="#a1.0.5">1.0.5</a></td>
+<td> </td></tr>
+<tr class="a">
+<td><a href="#a1.0.5">1.0.5</a></td>
<td>2009-09-11</td>
-<td></td>
-</tr>
-<tr class="b"><td><a href="#a1.0.4">1.0.4</a></td>
+<td> </td></tr>
+<tr class="b">
+<td><a href="#a1.0.4">1.0.4</a></td>
<td>2004-11-24</td>
-<td></td>
-</tr>
-<tr class="a"><td><a href="#a1.0-alpha-3">1.0-alpha-3</a></td>
+<td> </td></tr>
+<tr class="a">
+<td><a href="#a1.0-alpha-3">1.0-alpha-3</a></td>
<td>11-01-2003</td>
-<td></td>
-</tr>
-</table>
-<br />
-<br />
-<h3><a name="a1.0.6-SNAPSHOT"></a>Release 1.0.6-SNAPSHOT - in SVN</h3>
-<table class="bodyTable"><tr class="b"><th>Type</th>
+<td> </td></tr></table></div>
+<div class="section">
+<h3 id="a1.0.6-SNAPSHOT">Release 1.0.6-SNAPSHOT – in SVN</h3>
+<table border="0" class="bodyTable">
+<tr class="b">
+<th>Type</th>
<th>Changes</th>
-<th>By</th>
-</tr>
-</table>
-<h3><a name="a1.0.5"></a>Release 1.0.5 - 2009-09-11</h3>
-<table class="bodyTable"><tr class="a"><th>Type</th>
+<th>By</th></tr>
+<tr class="a">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Moved changes.xml location for inclusion in report generation</td>
+<td><a href="team-list.html#painter">painter</a></td></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Utilize Java 8 and simplified some of the data structures in CharSetMap
for readability</td>
+<td><a href="team-list.html#painter">painter</a></td></tr>
+<tr class="a">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Added commons-lang3 dep for string tests</td>
+<td><a href="team-list.html#painter">painter</a></td></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Update unit tests to BaseUnit5Test</td>
+<td><a href="team-list.html#painter">painter</a></td></tr>
+<tr class="a">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Update to yaafi-1.0.8 and testcontainer 1.0.8</td>
+<td><a href="team-list.html#painter">painter</a></td></tr>
+<tr class="b">
+<td><img src="images/add.gif" alt="Add" title="Add" /></td>
+<td>Added 'mime.types' file and two tests.</td>
+<td><a href="team-list.html#sgoeschl">sgoeschl</a></td></tr></table></div>
+<div class="section">
+<h3 id="a1.0.5">Release 1.0.5 – 2009-09-11</h3>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>Type</th>
<th>Changes</th>
-<th>By</th>
-</tr>
-<tr class="b"><td><img src="images/update.gif" alt="update" /></td>
+<th>By</th></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
<td>Moved build to Maven-2</td>
-<td><a href="team-list.html#tv">tv</a></td>
-</tr>
-</table>
-<h3><a name="a1.0.4"></a>Release 1.0.4 - 2004-11-24</h3>
-<table class="bodyTable"><tr class="a"><th>Type</th>
+<td><a href="team-list.html#tv">tv</a></td></tr></table></div>
+<div class="section">
+<h3 id="a1.0.4">Release 1.0.4 – 2004-11-24</h3>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>Type</th>
<th>Changes</th>
-<th>By</th>
-</tr>
-<tr class="b"><td><img src="images/update.gif" alt="update" /></td>
+<th>By</th></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
<td>Merge api and impl jars into one project. Thanks to Kostyantyn
Shchekotykhin.</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="a"><td><img src="images/remove.gif" alt="remove" /></td>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="a">
+<td><img src="images/remove.gif" alt="Remove" title="Remove" /></td>
<td>Remove MimeTypeServiceFacadeTest, is should have never been in the
-impl package anyway, and now MimeTypeServiceFacade is gone.</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="b"><td><img src="images/remove.gif" alt="remove" /></td>
+ impl package anyway, and now MimeTypeServiceFacade is gone.</td>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="b">
+<td><img src="images/remove.gif" alt="Remove" title="Remove" /></td>
<td>Remove MimeTypeServiceFacade, it is a code smell.</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="a"><td><img src="images/update.gif" alt="update" /></td>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="a">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
<td>Reimplement test based on TestContainer</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="b"><td><img src="images/update.gif" alt="update" /></td>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
<td>Update to use Merlin 3.3.0</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="a"><td><img src="images/add.gif" alt="add" /></td>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="a">
+<td><img src="images/add.gif" alt="Add" title="Add" /></td>
<td>Committing first cut of Merlin enabled components..</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-<tr class="b"><td><img src="images/update.gif" alt="update" /></td>
-<td>Increase the smarts of MIME type auto-detect
-ion to handle
-known file extensions specified with a capitalization which
-may not match that of the definitions from your config file.</td>
-<td><a href="team-list.html#dlr">dlr</a></td>
-</tr>
-</table>
-<h3><a name="a1.0-alpha-3"></a>Release 1.0-alpha-3 - 11-01-2003</h3>
-<table class="bodyTable"><tr class="a"><th>Type</th>
+<td><a href="team-list.html#epugh">epugh</a></td></tr>
+<tr class="b">
+<td><img src="images/update.gif" alt="Update" title="Update" /></td>
+<td>Increase the smarts of MIME type auto-detection to handle
+ known file extensions specified with a capitalization which
+ may not match that of the definitions from your config file.</td>
+<td><a href="team-list.html#dlr">dlr</a></td></tr></table></div>
+<div class="section">
+<h3 id="a1.0-alpha-3">Release 1.0-alpha-3 – 11-01-2003</h3>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>Type</th>
<th>Changes</th>
-<th>By</th>
-</tr>
-<tr class="b"><td><img src="images/add.gif" alt="add" /></td>
+<th>By</th></tr>
+<tr class="b">
+<td><img src="images/add.gif" alt="Add" title="Add" /></td>
<td>Initial creation of project.</td>
-<td><a href="team-list.html#epugh">epugh</a></td>
-</tr>
-</table>
-
- </div>
- </div>
- <div class="clear">
- <hr/>
- </div>
- <div id="footer">
- <div class="xright">©
- 2004-2009
-
- The Apache Software Foundation
-
-
-
-
-
-
-
-
- </div>
- <div class="clear">
- <hr/>
- </div>
- </div>
- </body>
-</html>
+<td><a href="team-list.html#epugh">epugh</a></td></tr></table></div></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">
+ Copyright © 2004–2019 <a
href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved. </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/help.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/help.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/help.css
Tue May 21 03:37:39 2019
@@ -1,22 +1,22 @@
-dl {
- float: left;
- width: 100%;
-}
-
-dt {
- border-top: 1px solid #808080;
- float: left;
- font-weight: bold;
- margin: 0;
- padding: 1em;
- width: 20%;
-}
-
-dd {
- border-top: 1px solid #808080;
- float: left;
- font-style: italic;
- margin: 0;
- padding: 1em;
- width: 60%;
-}
+dl {
+ float: left;
+ width: 100%;
+}
+
+dt {
+ border-top: 1px solid #808080;
+ float: left;
+ font-weight: bold;
+ margin: 0;
+ padding: 1em;
+ width: 20%;
+}
+
+dd {
+ border-top: 1px solid #808080;
+ float: left;
+ font-style: italic;
+ margin: 0;
+ padding: 1em;
+ width: 60%;
+}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/main.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/main.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/main.css
Tue May 21 03:37:39 2019
@@ -1,131 +1,131 @@
-@import url("help.css");
-@import url("source-viewer.css");
-@import url("tooltip.css");
-
-.hidden {
- display: none;
-}
-
-a.dfn {
- border-bottom: 1px dotted #00aa00;
- cursor: help;
-}
-
-a.dfn:active, a.dfn:link, a.dfn:visited {
- color: #000000;
- text-decoration: none;
-}
-
-a.dfn:hover {
- color: #0000ff;
- text-decoration: none;
-}
-
-body {
- font-family: verdana, arial, helvetica;
-}
-
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-
-h5 {
- margin-top: 0.5em;
-}
-
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-
-div.percentgraph
-{
- background-color: #f02020;
- border: #808080 1px solid;
- height: 1.3em;
- magin: 0px;
- padding: 0px;
- width: 100px;
-}
-
-div.percentgraph div.greenbar
-{
- background-color: #00f000;
- height: 1.3em;
- magin: 0px;
- padding: 0px;
-}
-
-div.percentgraph div.na
-{
- background-color: #eaeaea;
- height: 1.3em;
- magin: 0px;
- padding: 0px;
-}
-
-div.percentgraph span.text
-{
- display: block;
- position: absolute;
- text-align: center;
- width: 100px;
-}
-
-div.separator {
- height: 10px;
-}
-
-table tr td, table tr th {
- font-size: 68%;
-}
-
-td.value table tr td {
- font-size: 11px;
-}
-
-table.percentgraph {
- border: 0px;
- font-size: 130%;
- margin: 0px;
- margin-left: auto;
- margin-right: 0px;
- padding: 0px;
-}
-
-table.percentgraph tr.percentgraph {
- border: 0px;
- margin: 0px;
- padding: 0px;
-}
-
-table.percentgraph td.percentgraph {
- border: 0px;
- margin: 0px;
- padding: 0px;
- padding-left: 4px;
-}
-
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-
-table.report td {
- border: #d0d0d0 1px solid;
-}
-
-table.report td.heading {
- background: #dcecff;
- font-weight: bold;
- text-align: center;
-}
-
-table.report td.heading:hover {
- background: #c0ffc0;
- cursor: pointer;
-}
-
-table.report td.value {
- text-align: right;
-}
+@import url("help.css");
+@import url("source-viewer.css");
+@import url("tooltip.css");
+
+.hidden {
+ display: none;
+}
+
+a.dfn {
+ border-bottom: 1px dotted #00aa00;
+ cursor: help;
+}
+
+a.dfn:active, a.dfn:link, a.dfn:visited {
+ color: #000000;
+ text-decoration: none;
+}
+
+a.dfn:hover {
+ color: #0000ff;
+ text-decoration: none;
+}
+
+body {
+ font-family: verdana, arial, helvetica;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-bottom: 0.5em;
+}
+
+h5 {
+ margin-top: 0.5em;
+}
+
+div.footer {
+ font-size: 68%;
+ margin-top: 1.5em;
+}
+
+div.percentgraph
+{
+ background-color: #f02020;
+ border: #808080 1px solid;
+ height: 1.3em;
+ margin: 0px;
+ padding: 0px;
+ width: 100px;
+}
+
+div.percentgraph div.greenbar
+{
+ background-color: #00f000;
+ height: 1.3em;
+ margin: 0px;
+ padding: 0px;
+}
+
+div.percentgraph div.na
+{
+ background-color: #eaeaea;
+ height: 1.3em;
+ margin: 0px;
+ padding: 0px;
+}
+
+div.percentgraph span.text
+{
+ display: block;
+ position: absolute;
+ text-align: center;
+ width: 100px;
+}
+
+div.separator {
+ height: 10px;
+}
+
+table tr td, table tr th {
+ font-size: 68%;
+}
+
+td.value table tr td {
+ font-size: 11px;
+}
+
+table.percentgraph {
+ border: 0px;
+ font-size: 130%;
+ margin: 0px;
+ margin-left: auto;
+ margin-right: 0px;
+ padding: 0px;
+}
+
+table.percentgraph tr.percentgraph {
+ border: 0px;
+ margin: 0px;
+ padding: 0px;
+}
+
+table.percentgraph td.percentgraph {
+ border: 0px;
+ margin: 0px;
+ padding: 0px;
+ padding-left: 4px;
+}
+
+table.report {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+table.report td {
+ border: #d0d0d0 1px solid;
+}
+
+table.report td.heading {
+ background: #dcecff;
+ font-weight: bold;
+ text-align: center;
+}
+
+table.report td.heading:hover {
+ background: #c0ffc0;
+ cursor: pointer;
+}
+
+table.report td.value {
+ text-align: right;
+}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/sortabletable.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/sortabletable.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/sortabletable.css
Tue May 21 03:37:39 2019
@@ -1,50 +1,50 @@
-.sort-table {
- font: Icon;
- border: 1px Solid ThreeDShadow;
- background: Window;
- color: WindowText;
-}
-
-.sort-table thead {
- background: ButtonFace;
-}
-
-.sort-table td {
- padding: 2px 5px;
-}
-
-.sort-table thead td {
- border: 1px solid;
- border-color: ButtonHighlight ButtonShadow
- ButtonShadow ButtonHighlight;
- cursor: default;
-}
-
-.sort-table thead td:active {
- border-color: ButtonShadow ButtonHighlight
- ButtonHighlight ButtonShadow;
- padding: 3px 4px 1px 6px;
-}
-
-.sort-table thead td[_sortType=None]:active {
- border-color: ButtonHighlight ButtonShadow
- ButtonShadow ButtonHighlight;
- padding: 2px 5px;
-}
-
-.sort-arrow {
- width: 11px;
- height: 11px;
- background-position: center center;
- background-repeat: no-repeat;
- margin: 0 2px;
-}
-
-.sort-arrow.descending {
- background-image: url("../images/downsimple.png");
-
-}
-
-.sort-arrow.ascending {
- background-image: url("../images/upsimple.png");
+.sort-table {
+ font: Icon;
+ border: 1px Solid ThreeDShadow;
+ background: Window;
+ color: WindowText;
+}
+
+.sort-table thead {
+ background: ButtonFace;
+}
+
+.sort-table td {
+ padding: 2px 5px;
+}
+
+.sort-table thead td {
+ border: 1px solid;
+ border-color: ButtonHighlight ButtonShadow
+ ButtonShadow ButtonHighlight;
+ cursor: default;
+}
+
+.sort-table thead td:active {
+ border-color: ButtonShadow ButtonHighlight
+ ButtonHighlight ButtonShadow;
+ padding: 3px 4px 1px 6px;
+}
+
+.sort-table thead td[_sortType=None]:active {
+ border-color: ButtonHighlight ButtonShadow
+ ButtonShadow ButtonHighlight;
+ padding: 2px 5px;
+}
+
+.sort-arrow {
+ width: 11px;
+ height: 11px;
+ background-position: center center;
+ background-repeat: no-repeat;
+ margin: 0 2px;
+}
+
+.sort-arrow.descending {
+ background-image: url("../images/downsimple.png");
+
+}
+
+.sort-arrow.ascending {
+ background-image: url("../images/upsimple.png");
}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/source-viewer.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/source-viewer.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/source-viewer.css
Tue May 21 03:37:39 2019
@@ -1,74 +1,73 @@
-pre.src {
- background: #ffffff;
- margin-top: 0px;
- margin-bottom: 0px;
-}
-
-table.src {
- border: #dcdcdc 1px solid;
- font-size: 16px;
-}
-
-td.numLine {
- background: #f0f0f0;
- border-right: #dcdcdc 1px solid;
- padding-right: 3px;
- text-align: right;
-}
-
-td.numLineCover {
- background: #80ff80;
- border-right: #dcdcdc 1px solid;
- padding-right: 3px;
- text-align: right;
-}
-
-td.nbHits {
- background: #f0f0f0;
- border-right: #dcdcdc 1px solid;
- padding-right: 3px;
- text-align: right;
-}
-
-td.nbHitsCovered {
- background: #80ff80;
- border-right: #dcdcdc 1px solid;
- padding-right: 3px;
- text-align: right;
-}
-
-td.nbHitsUncovered {
- background: #ff9090;
- border-right: #dcdcdc 1px solid;
- font-weight: bold;
- padding-right: 3px;
- text-align: right;
-}
-
-td.src {
- width: 100%;
-}
-
-span.comment {
- color: #b22222;
- font-style: italic;
-}
-
-span.keyword {
- color: #2020bf;
- font-weight: bold;
-}
-
-span.srcUncovered {
- background: #ff9090;
- font-weight: bold;
-}
-
-span.string {
- color: #2a00ff;
-}
-
-span.text_italic {
- font-size: 12px;
- font-style: italic;
-}
+pre.src {
+ background: #ffffff;
+ margin-top: 0px;
+ margin-bottom: 0px;
+}
+
+table.src {
+ border: #dcdcdc 1px solid;
+ font-size: 16px;
+}
+
+td.numLine {
+ background: #f0f0f0;
+ border-right: #dcdcdc 1px solid;
+ padding-right: 3px;
+ text-align: right;
+}
+
+td.numLineCover {
+ background: #80ff80;
+ border-right: #dcdcdc 1px solid;
+ padding-right: 3px;
+ text-align: right;
+}
+
+td.nbHits {
+ background: #f0f0f0;
+ border-right: #dcdcdc 1px solid;
+ padding-right: 3px;
+ text-align: right;
+}
+
+td.nbHitsCovered {
+ background: #80ff80;
+ border-right: #dcdcdc 1px solid;
+ padding-right: 3px;
+ text-align: right;
+}
+
+td.nbHitsUncovered {
+ background: #ff9090;
+ border-right: #dcdcdc 1px solid;
+ font-weight: bold;
+ padding-right: 3px;
+ text-align: right;
+}
+
+td.src {
+ width: 100%;
+}
+
+span.comment {
+ color: #b22222;
+ font-style: italic;
+}
+
+span.keyword {
+ color: #2020bf;
+ font-weight: bold;
+}
+
+span.srcUncovered {
+ background: #ff9090;
+}
+
+span.string {
+ color: #2a00ff;
+}
+
+span.text_italic {
+ font-size: 12px;
+ font-style: italic;
+}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/tooltip.css
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/tooltip.css
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/css/tooltip.css
Tue May 21 03:37:39 2019
@@ -1,49 +1,49 @@
-a.hastooltip {
- border-bottom: 1px dotted #00aa00;
- color: #000000;
- cursor: help;
- font-style: normal;
- position: relative; /* This is the key */
- text-decoration: none;
- z-index: 24; /* What does this do? */
-}
-
-a.hastooltip:active {
- color: #000000;
- text-decoration: none;
-}
-
-a.hastooltip:link {
- color: #000000;
- text-decoration: none;
-}
-
-a.hastooltip:hover {
- background-color: #a0b8ff;
- color: #000000;
- text-decoration: none;
- z-index: 25;
-}
-
-a.hastooltip:visited {
- color: #000000;
- text-decoration: none;
-}
-
-a.hastooltip span {
- display: none;
-}
-
-a.hastooltip:hover span {
- background-color: #eeeeee;
- border: 1px solid #000000;
- color: #000000;
- display: block;
- padding: 5px;
- left: -15.2em;
- position: absolute;
- text-align: center;
- text-decoration: none;
- top: 2em;
- width: 20em;
-}
+a.hastooltip {
+ border-bottom: 1px dotted #00aa00;
+ color: #000000;
+ cursor: help;
+ font-style: normal;
+ position: relative; /* This is the key */
+ text-decoration: none;
+ z-index: 24; /* What does this do? */
+}
+
+a.hastooltip:active {
+ color: #000000;
+ text-decoration: none;
+}
+
+a.hastooltip:link {
+ color: #000000;
+ text-decoration: none;
+}
+
+a.hastooltip:hover {
+ background-color: #a0b8ff;
+ color: #000000;
+ text-decoration: none;
+ z-index: 25;
+}
+
+a.hastooltip:visited {
+ color: #000000;
+ text-decoration: none;
+}
+
+a.hastooltip span {
+ display: none;
+}
+
+a.hastooltip:hover span {
+ background-color: #eeeeee;
+ border: 1px solid #000000;
+ color: #000000;
+ display: block;
+ padding: 5px;
+ left: -15.2em;
+ position: absolute;
+ text-align: center;
+ text-decoration: none;
+ top: 2em;
+ width: 20em;
+}
\ No newline at end of file
Modified:
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/frame-packages.html
==============================================================================
---
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/frame-packages.html
(original)
+++
websites/production/turbine/content/fulcrum/fulcrum-mimetype/cobertura/frame-packages.html
Tue May 21 03:37:39 2019
@@ -20,4 +20,4 @@
</tr>
</table>
</body>
-</html>
+</html>
\ No newline at end of file