Home | History | Annotate | Download | only in converters
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      2 <!-- NewPage -->
      3 <html lang="pl">
      4 <head>
      5 <!-- Generated by javadoc (1.8.0) on Mon Jul 28 12:08:59 CEST 2014 -->
      6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      7 <title>ParamConverter (JUnitParams 1.0.3-SNAPSHOT API)</title>
      8 <meta name="date" content="2014-07-28">
      9 <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
     10 <script type="text/javascript" src="../../script.js"></script>
     11 </head>
     12 <body>
     13 <script type="text/javascript"><!--
     14     try {
     15         if (location.href.indexOf('is-external=true') == -1) {
     16             parent.document.title="ParamConverter (JUnitParams 1.0.3-SNAPSHOT API)";
     17         }
     18     }
     19     catch(err) {
     20     }
     21 //-->
     22 var methods = {"i0":6};
     23 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
     24 var altColor = "altColor";
     25 var rowColor = "rowColor";
     26 var tableTab = "tableTab";
     27 var activeTableTab = "activeTableTab";
     28 </script>
     29 <noscript>
     30 <div>JavaScript is disabled on your browser.</div>
     31 </noscript>
     32 <!-- ========= START OF TOP NAVBAR ======= -->
     33 <div class="topNav"><a name="navbar.top">
     34 <!--   -->
     35 </a>
     36 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
     37 <a name="navbar.top.firstrow">
     38 <!--   -->
     39 </a>
     40 <ul class="navList" title="Navigation">
     41 <li><a href="../../overview-summary.html">Overview</a></li>
     42 <li><a href="package-summary.html">Package</a></li>
     43 <li class="navBarCell1Rev">Class</li>
     44 <li><a href="class-use/ParamConverter.html">Use</a></li>
     45 <li><a href="package-tree.html">Tree</a></li>
     46 <li><a href="../../deprecated-list.html">Deprecated</a></li>
     47 <li><a href="../../index-all.html">Index</a></li>
     48 <li><a href="../../help-doc.html">Help</a></li>
     49 </ul>
     50 </div>
     51 <div class="subNav">
     52 <ul class="navList">
     53 <li><a href="../../junitparams/converters/ConvertParam.html" title="annotation in junitparams.converters"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
     54 <li>Next&nbsp;Class</li>
     55 </ul>
     56 <ul class="navList">
     57 <li><a href="../../index.html?junitparams/converters/ParamConverter.html" target="_top">Frames</a></li>
     58 <li><a href="ParamConverter.html" target="_top">No&nbsp;Frames</a></li>
     59 </ul>
     60 <ul class="navList" id="allclasses_navbar_top">
     61 <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
     62 </ul>
     63 <div>
     64 <script type="text/javascript"><!--
     65   allClassesLink = document.getElementById("allclasses_navbar_top");
     66   if(window==top) {
     67     allClassesLink.style.display = "block";
     68   }
     69   else {
     70     allClassesLink.style.display = "none";
     71   }
     72   //-->
     73 </script>
     74 </div>
     75 <div>
     76 <ul class="subNavList">
     77 <li>Summary:&nbsp;</li>
     78 <li>Nested&nbsp;|&nbsp;</li>
     79 <li>Field&nbsp;|&nbsp;</li>
     80 <li>Constr&nbsp;|&nbsp;</li>
     81 <li><a href="#method.summary">Method</a></li>
     82 </ul>
     83 <ul class="subNavList">
     84 <li>Detail:&nbsp;</li>
     85 <li>Field&nbsp;|&nbsp;</li>
     86 <li>Constr&nbsp;|&nbsp;</li>
     87 <li><a href="#method.detail">Method</a></li>
     88 </ul>
     89 </div>
     90 <a name="skip.navbar.top">
     91 <!--   -->
     92 </a></div>
     93 <!-- ========= END OF TOP NAVBAR ========= -->
     94 <!-- ======== START OF CLASS DATA ======== -->
     95 <div class="header">
     96 <div class="subTitle">junitparams.converters</div>
     97 <h2 title="Interface ParamConverter" class="title">Interface ParamConverter&lt;T&gt;</h2>
     98 </div>
     99 <div class="contentContainer">
    100 <div class="description">
    101 <ul class="blockList">
    102 <li class="blockList">
    103 <hr>
    104 <br>
    105 <pre>public interface <span class="typeNameLabel">ParamConverter&lt;T&gt;</span></pre>
    106 <div class="block">Implement this interface if you want to convert params from some
    107  representation to the type expected by your test method's parameter.
    108  
    109  &lt;T&gt; is the expected parameter type.</div>
    110 <dl>
    111 <dt><span class="simpleTagLabel">Author:</span></dt>
    112 <dd>Pawel Lipinski</dd>
    113 </dl>
    114 </li>
    115 </ul>
    116 </div>
    117 <div class="summary">
    118 <ul class="blockList">
    119 <li class="blockList">
    120 <!-- ========== METHOD SUMMARY =========== -->
    121 <ul class="blockList">
    122 <li class="blockList"><a name="method.summary">
    123 <!--   -->
    124 </a>
    125 <h3>Method Summary</h3>
    126 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
    127 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
    128 <tr>
    129 <th class="colFirst" scope="col">Modifier and Type</th>
    130 <th class="colLast" scope="col">Method and Description</th>
    131 </tr>
    132 <tr id="i0" class="altColor">
    133 <td class="colFirst"><code><a href="../../junitparams/converters/ParamConverter.html" title="type parameter in ParamConverter">T</a></code></td>
    134 <td class="colLast"><code><span class="memberNameLink"><a href="../../junitparams/converters/ParamConverter.html#convert-java.lang.Object-java.lang.String-">convert</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;param,
    135        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;options)</code>&nbsp;</td>
    136 </tr>
    137 </table>
    138 </li>
    139 </ul>
    140 </li>
    141 </ul>
    142 </div>
    143 <div class="details">
    144 <ul class="blockList">
    145 <li class="blockList">
    146 <!-- ============ METHOD DETAIL ========== -->
    147 <ul class="blockList">
    148 <li class="blockList"><a name="method.detail">
    149 <!--   -->
    150 </a>
    151 <h3>Method Detail</h3>
    152 <a name="convert-java.lang.Object-java.lang.String-">
    153 <!--   -->
    154 </a>
    155 <ul class="blockListLast">
    156 <li class="blockList">
    157 <h4>convert</h4>
    158 <pre><a href="../../junitparams/converters/ParamConverter.html" title="type parameter in ParamConverter">T</a>&nbsp;convert(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;param,
    159           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;options)
    160    throws <a href="../../junitparams/converters/ConversionFailedException.html" title="class in junitparams.converters">ConversionFailedException</a></pre>
    161 <dl>
    162 <dt><span class="throwsLabel">Throws:</span></dt>
    163 <dd><code><a href="../../junitparams/converters/ConversionFailedException.html" title="class in junitparams.converters">ConversionFailedException</a></code></dd>
    164 </dl>
    165 </li>
    166 </ul>
    167 </li>
    168 </ul>
    169 </li>
    170 </ul>
    171 </div>
    172 </div>
    173 <!-- ========= END OF CLASS DATA ========= -->
    174 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    175 <div class="bottomNav"><a name="navbar.bottom">
    176 <!--   -->
    177 </a>
    178 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
    179 <a name="navbar.bottom.firstrow">
    180 <!--   -->
    181 </a>
    182 <ul class="navList" title="Navigation">
    183 <li><a href="../../overview-summary.html">Overview</a></li>
    184 <li><a href="package-summary.html">Package</a></li>
    185 <li class="navBarCell1Rev">Class</li>
    186 <li><a href="class-use/ParamConverter.html">Use</a></li>
    187 <li><a href="package-tree.html">Tree</a></li>
    188 <li><a href="../../deprecated-list.html">Deprecated</a></li>
    189 <li><a href="../../index-all.html">Index</a></li>
    190 <li><a href="../../help-doc.html">Help</a></li>
    191 </ul>
    192 </div>
    193 <div class="subNav">
    194 <ul class="navList">
    195 <li><a href="../../junitparams/converters/ConvertParam.html" title="annotation in junitparams.converters"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
    196 <li>Next&nbsp;Class</li>
    197 </ul>
    198 <ul class="navList">
    199 <li><a href="../../index.html?junitparams/converters/ParamConverter.html" target="_top">Frames</a></li>
    200 <li><a href="ParamConverter.html" target="_top">No&nbsp;Frames</a></li>
    201 </ul>
    202 <ul class="navList" id="allclasses_navbar_bottom">
    203 <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
    204 </ul>
    205 <div>
    206 <script type="text/javascript"><!--
    207   allClassesLink = document.getElementById("allclasses_navbar_bottom");
    208   if(window==top) {
    209     allClassesLink.style.display = "block";
    210   }
    211   else {
    212     allClassesLink.style.display = "none";
    213   }
    214   //-->
    215 </script>
    216 </div>
    217 <div>
    218 <ul class="subNavList">
    219 <li>Summary:&nbsp;</li>
    220 <li>Nested&nbsp;|&nbsp;</li>
    221 <li>Field&nbsp;|&nbsp;</li>
    222 <li>Constr&nbsp;|&nbsp;</li>
    223 <li><a href="#method.summary">Method</a></li>
    224 </ul>
    225 <ul class="subNavList">
    226 <li>Detail:&nbsp;</li>
    227 <li>Field&nbsp;|&nbsp;</li>
    228 <li>Constr&nbsp;|&nbsp;</li>
    229 <li><a href="#method.detail">Method</a></li>
    230 </ul>
    231 </div>
    232 <a name="skip.navbar.bottom">
    233 <!--   -->
    234 </a></div>
    235 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    236 <p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://pragmatists.pl">Pragmatists</a>. All rights reserved.</small></p>
    237 </body>
    238 </html>
    239