Projet_JAVA_P2P_STRI2A/doc/javadoc/tools/SearchFile.html

312 lines
10 KiB
HTML
Raw Normal View History

2020-04-13 15:43:33 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2020-02-01 09:36:25 +01:00
<!-- NewPage -->
<html lang="fr">
<head>
2020-04-13 15:43:33 +02:00
<!-- Generated by javadoc (1.8.0_181) on Mon Apr 13 15:38:50 CEST 2020 -->
<title>SearchFile</title>
<meta name="date" content="2020-04-13">
2020-02-01 09:36:25 +01:00
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
2020-04-13 15:43:33 +02:00
parent.document.title="SearchFile";
2020-02-01 09:36:25 +01:00
}
}
catch(err) {
}
//-->
2020-04-13 15:43:33 +02:00
var methods = {"i0":10,"i1":10};
2020-02-01 09:36:25 +01:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2020-04-13 15:43:33 +02:00
</script>
2020-02-01 09:36:25 +01:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
2020-04-13 15:43:33 +02:00
<div class="topNav"><a name="navbar.top">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2020-04-13 15:43:33 +02:00
<a name="navbar.top.firstrow">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2020-04-13 15:43:33 +02:00
<li><a href="../overview-summary.html">Overview</a></li>
2020-02-01 09:36:25 +01:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
2020-04-13 15:43:33 +02:00
<li><a href="class-use/SearchFile.html">Use</a></li>
2020-02-01 09:36:25 +01:00
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
2020-04-13 15:43:33 +02:00
<ul class="navList">
<li><a href="../tools/PortRange.html" title="class in tools"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../tools/ServeErrors.html" title="class in tools"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2020-02-01 09:36:25 +01:00
</ul>
2020-04-13 15:43:33 +02:00
<ul class="navList">
<li><a href="../index.html?tools/SearchFile.html" target="_top">Frames</a></li>
<li><a href="SearchFile.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
2020-02-01 09:36:25 +01:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2020-04-13 15:43:33 +02:00
<a name="skip.navbar.top">
2020-02-01 09:36:25 +01:00
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
2020-04-13 15:43:33 +02:00
<div class="subTitle">tools</div>
<h2 title="Class SearchFile" class="title">Class SearchFile</h2>
2020-02-01 09:36:25 +01:00
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
2020-04-13 15:43:33 +02:00
<li>tools.SearchFile</li>
2020-02-01 09:36:25 +01:00
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
2020-04-13 15:43:33 +02:00
<br>
<pre>public class <span class="typeNameLabel">SearchFile</span>
2020-02-01 09:36:25 +01:00
extends java.lang.Object</pre>
2020-04-13 15:43:33 +02:00
<div class="block">Helper to search for files.</div>
2020-02-01 09:36:25 +01:00
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>1.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Louis Royer, Flavien Haas, JS Auge</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
2020-04-13 15:43:33 +02:00
<li class="blockList"><a name="constructor.summary">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2020-04-13 15:43:33 +02:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
2020-02-01 09:36:25 +01:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2020-04-13 15:43:33 +02:00
<th class="colOne" scope="col">Constructor and Description</th>
2020-02-01 09:36:25 +01:00
</tr>
<tr class="altColor">
2020-04-13 15:43:33 +02:00
<td class="colOne"><code><span class="memberNameLink"><a href="../tools/SearchFile.html#SearchFile--">SearchFile</a></span>()</code>&nbsp;</td>
2020-02-01 09:36:25 +01:00
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
2020-04-13 15:43:33 +02:00
<li class="blockList"><a name="method.summary">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<h3>Method Summary</h3>
2020-04-13 15:43:33 +02:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
2020-02-01 09:36:25 +01:00
<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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2020-04-13 15:43:33 +02:00
<th class="colLast" scope="col">Method and Description</th>
2020-02-01 09:36:25 +01:00
</tr>
<tr id="i0" class="altColor">
2020-04-13 15:43:33 +02:00
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../tools/SearchFile.html#searchByExtention-java.lang.String:A-java.lang.String-">searchByExtention</a></span>(java.lang.String[]&nbsp;filesArray,
java.lang.String&nbsp;searchInput)</code>
<div class="block">search correspondance of a String in a the end of String in an array.</div>
2020-02-01 09:36:25 +01:00
</td>
</tr>
<tr id="i1" class="rowColor">
2020-04-13 15:43:33 +02:00
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../tools/SearchFile.html#searchByName-java.lang.String:A-java.lang.String-">searchByName</a></span>(java.lang.String[]&nbsp;filesArray,
java.lang.String&nbsp;searchInput)</code>
<div class="block">search correspondance of a String in a String array.</div>
2020-02-01 09:36:25 +01:00
</td>
</tr>
</table>
<ul class="blockList">
2020-04-13 15:43:33 +02:00
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
2020-04-13 15:43:33 +02:00
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
2020-02-01 09:36:25 +01:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
2020-04-13 15:43:33 +02:00
<li class="blockList"><a name="constructor.detail">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2020-04-13 15:43:33 +02:00
<a name="SearchFile--">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
2020-04-13 15:43:33 +02:00
<h4>SearchFile</h4>
<pre>public&nbsp;SearchFile()</pre>
2020-02-01 09:36:25 +01:00
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
2020-04-13 15:43:33 +02:00
<li class="blockList"><a name="method.detail">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<h3>Method Detail</h3>
2020-04-13 15:43:33 +02:00
<a name="searchByName-java.lang.String:A-java.lang.String-">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
2020-04-13 15:43:33 +02:00
<h4>searchByName</h4>
<pre>public&nbsp;java.lang.String[]&nbsp;searchByName(java.lang.String[]&nbsp;filesArray,
java.lang.String&nbsp;searchInput)</pre>
<div class="block">search correspondance of a String in a String array.</div>
2020-02-01 09:36:25 +01:00
<dl>
2020-04-13 15:43:33 +02:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filesArray</code> - is the array containing all the names of files.</dd>
<dd><code>searchInput</code> - contain the search request.</dd>
2020-02-01 09:36:25 +01:00
</dl>
</li>
</ul>
2020-04-13 15:43:33 +02:00
<a name="searchByExtention-java.lang.String:A-java.lang.String-">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
2020-04-13 15:43:33 +02:00
<h4>searchByExtention</h4>
<pre>public&nbsp;java.lang.String[]&nbsp;searchByExtention(java.lang.String[]&nbsp;filesArray,
java.lang.String&nbsp;searchInput)</pre>
<div class="block">search correspondance of a String in a the end of String in an array.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filesArray</code> - is the array containing all the names of files.</dd>
<dd><code>searchInput</code> - contain the search request.</dd>
</dl>
2020-02-01 09:36:25 +01:00
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2020-04-13 15:43:33 +02:00
<div class="bottomNav"><a name="navbar.bottom">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2020-04-13 15:43:33 +02:00
<a name="navbar.bottom.firstrow">
2020-02-01 09:36:25 +01:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2020-04-13 15:43:33 +02:00
<li><a href="../overview-summary.html">Overview</a></li>
2020-02-01 09:36:25 +01:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
2020-04-13 15:43:33 +02:00
<li><a href="class-use/SearchFile.html">Use</a></li>
2020-02-01 09:36:25 +01:00
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
2020-04-13 15:43:33 +02:00
<ul class="navList">
<li><a href="../tools/PortRange.html" title="class in tools"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../tools/ServeErrors.html" title="class in tools"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?tools/SearchFile.html" target="_top">Frames</a></li>
<li><a href="SearchFile.html" target="_top">No&nbsp;Frames</a></li>
</ul>
2020-02-01 09:36:25 +01:00
<ul class="navList" id="allclasses_navbar_bottom">
2020-04-13 15:43:33 +02:00
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
2020-02-01 09:36:25 +01:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2020-04-13 15:43:33 +02:00
<a name="skip.navbar.bottom">
2020-02-01 09:36:25 +01:00
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>