1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc --> 6<title>DecoderFactory (library 3.9.0 API)</title> 7<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 8<script type="text/javascript" src="../../../../../script.js"></script> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 try { 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="DecoderFactory (library 3.9.0 API)"; 15 } 16 } 17 catch(err) { 18 } 19//--> 20var methods = {"i0":6}; 21var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; 22var altColor = "altColor"; 23var rowColor = "rowColor"; 24var tableTab = "tableTab"; 25var activeTableTab = "activeTableTab"; 26</script> 27<noscript> 28<div>JavaScript is disabled on your browser.</div> 29</noscript> 30<!-- ========= START OF TOP NAVBAR ======= --> 31<div class="topNav"><a name="navbar.top"> 32<!-- --> 33</a> 34<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 35<a name="navbar.top.firstrow"> 36<!-- --> 37</a> 38<ul class="navList" title="Navigation"> 39<li><a href="../../../../../overview-summary.html">Overview</a></li> 40<li><a href="package-summary.html">Package</a></li> 41<li class="navBarCell1Rev">Class</li> 42<li><a href="package-tree.html">Tree</a></li> 43<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 44<li><a href="../../../../../index-all.html">Index</a></li> 45<li><a href="../../../../../help-doc.html">Help</a></li> 46</ul> 47</div> 48<div class="subNav"> 49<ul class="navList"> 50<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/CompatDecoderFactory.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Prev Class</span></a></li> 51<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Next Class</span></a></li> 52</ul> 53<ul class="navList"> 54<li><a href="../../../../../index.html?com/davemorrissey/labs/subscaleview/decoder/DecoderFactory.html" target="_top">Frames</a></li> 55<li><a href="DecoderFactory.html" target="_top">No Frames</a></li> 56</ul> 57<ul class="navList" id="allclasses_navbar_top"> 58<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 59</ul> 60<div> 61<script type="text/javascript"><!-- 62 allClassesLink = document.getElementById("allclasses_navbar_top"); 63 if(window==top) { 64 allClassesLink.style.display = "block"; 65 } 66 else { 67 allClassesLink.style.display = "none"; 68 } 69 //--> 70</script> 71</div> 72<div> 73<ul class="subNavList"> 74<li>Summary: </li> 75<li>Nested | </li> 76<li>Field | </li> 77<li>Constr | </li> 78<li><a href="#method.summary">Method</a></li> 79</ul> 80<ul class="subNavList"> 81<li>Detail: </li> 82<li>Field | </li> 83<li>Constr | </li> 84<li><a href="#method.detail">Method</a></li> 85</ul> 86</div> 87<a name="skip.navbar.top"> 88<!-- --> 89</a></div> 90<!-- ========= END OF TOP NAVBAR ========= --> 91<!-- ======== START OF CLASS DATA ======== --> 92<div class="header"> 93<div class="subTitle">com.davemorrissey.labs.subscaleview.decoder</div> 94<h2 title="Interface DecoderFactory" class="title">Interface DecoderFactory<T></h2> 95</div> 96<div class="contentContainer"> 97<div class="description"> 98<ul class="blockList"> 99<li class="blockList"> 100<dl> 101<dt><span class="paramLabel">Type Parameters:</span></dt> 102<dd><code>T</code> - the class of decoder that will be produced.</dd> 103</dl> 104<dl> 105<dt>All Known Implementing Classes:</dt> 106<dd><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/CompatDecoderFactory.html" title="class in com.davemorrissey.labs.subscaleview.decoder">CompatDecoderFactory</a></dd> 107</dl> 108<hr> 109<br> 110<pre>public interface <span class="typeNameLabel">DecoderFactory<T></span></pre> 111<div class="block">Interface for <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder"><code>ImageDecoder</code></a> and <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder"><code>ImageRegionDecoder</code></a> factories.</div> 112</li> 113</ul> 114</div> 115<div class="summary"> 116<ul class="blockList"> 117<li class="blockList"> 118<!-- ========== METHOD SUMMARY =========== --> 119<ul class="blockList"> 120<li class="blockList"><a name="method.summary"> 121<!-- --> 122</a> 123<h3>Method Summary</h3> 124<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 125<caption><span id="t0" class="activeTableTab"><span>All Methods</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> 126<tr> 127<th class="colFirst" scope="col">Modifier and Type</th> 128<th class="colLast" scope="col">Method and Description</th> 129</tr> 130<tr id="i0" class="altColor"> 131<td class="colFirst"><code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/DecoderFactory.html" title="type parameter in DecoderFactory">T</a></code></td> 132<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/DecoderFactory.html#make--">make</a></span>()</code> 133<div class="block">Produce a new instance of a decoder with type <code>T</code>.</div> 134</td> 135</tr> 136</table> 137</li> 138</ul> 139</li> 140</ul> 141</div> 142<div class="details"> 143<ul class="blockList"> 144<li class="blockList"> 145<!-- ============ METHOD DETAIL ========== --> 146<ul class="blockList"> 147<li class="blockList"><a name="method.detail"> 148<!-- --> 149</a> 150<h3>Method Detail</h3> 151<a name="make--"> 152<!-- --> 153</a> 154<ul class="blockListLast"> 155<li class="blockList"> 156<h4>make</h4> 157<pre><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/DecoderFactory.html" title="type parameter in DecoderFactory">T</a> make() 158throws <a href="https://developer.android.com/reference/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a>, 159 <a href="https://developer.android.com/reference/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a>, 160 <a href="https://developer.android.com/reference/java/lang/NoSuchMethodException.html?is-external=true" title="class or interface in java.lang">NoSuchMethodException</a>, 161 <a href="https://developer.android.com/reference/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></pre> 162<div class="block">Produce a new instance of a decoder with type <code>T</code>.</div> 163<dl> 164<dt><span class="returnLabel">Returns:</span></dt> 165<dd>a new instance of your decoder.</dd> 166<dt><span class="throwsLabel">Throws:</span></dt> 167<dd><code><a href="https://developer.android.com/reference/java/lang/IllegalAccessException.html?is-external=true" title="class or interface in java.lang">IllegalAccessException</a></code> - if the factory class cannot be instantiated.</dd> 168<dd><code><a href="https://developer.android.com/reference/java/lang/InstantiationException.html?is-external=true" title="class or interface in java.lang">InstantiationException</a></code> - if the factory class cannot be instantiated.</dd> 169<dd><code><a href="https://developer.android.com/reference/java/lang/NoSuchMethodException.html?is-external=true" title="class or interface in java.lang">NoSuchMethodException</a></code> - if the factory class cannot be instantiated.</dd> 170<dd><code><a href="https://developer.android.com/reference/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect">InvocationTargetException</a></code> - if the factory class cannot be instantiated.</dd> 171</dl> 172</li> 173</ul> 174</li> 175</ul> 176</li> 177</ul> 178</div> 179</div> 180<!-- ========= END OF CLASS DATA ========= --> 181<!-- ======= START OF BOTTOM NAVBAR ====== --> 182<div class="bottomNav"><a name="navbar.bottom"> 183<!-- --> 184</a> 185<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 186<a name="navbar.bottom.firstrow"> 187<!-- --> 188</a> 189<ul class="navList" title="Navigation"> 190<li><a href="../../../../../overview-summary.html">Overview</a></li> 191<li><a href="package-summary.html">Package</a></li> 192<li class="navBarCell1Rev">Class</li> 193<li><a href="package-tree.html">Tree</a></li> 194<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 195<li><a href="../../../../../index-all.html">Index</a></li> 196<li><a href="../../../../../help-doc.html">Help</a></li> 197</ul> 198</div> 199<div class="subNav"> 200<ul class="navList"> 201<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/CompatDecoderFactory.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Prev Class</span></a></li> 202<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Next Class</span></a></li> 203</ul> 204<ul class="navList"> 205<li><a href="../../../../../index.html?com/davemorrissey/labs/subscaleview/decoder/DecoderFactory.html" target="_top">Frames</a></li> 206<li><a href="DecoderFactory.html" target="_top">No Frames</a></li> 207</ul> 208<ul class="navList" id="allclasses_navbar_bottom"> 209<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 210</ul> 211<div> 212<script type="text/javascript"><!-- 213 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 214 if(window==top) { 215 allClassesLink.style.display = "block"; 216 } 217 else { 218 allClassesLink.style.display = "none"; 219 } 220 //--> 221</script> 222</div> 223<div> 224<ul class="subNavList"> 225<li>Summary: </li> 226<li>Nested | </li> 227<li>Field | </li> 228<li>Constr | </li> 229<li><a href="#method.summary">Method</a></li> 230</ul> 231<ul class="subNavList"> 232<li>Detail: </li> 233<li>Field | </li> 234<li>Constr | </li> 235<li><a href="#method.detail">Method</a></li> 236</ul> 237</div> 238<a name="skip.navbar.bottom"> 239<!-- --> 240</a></div> 241<!-- ======== END OF BOTTOM NAVBAR ======= --> 242</body> 243</html> 244