mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 02:51:27 +01:00
documentation update v1.4.4
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_92) on Tue Sep 06 06:44:57 EDT 2016 -->
|
||||
<!-- Generated by javadoc (1.8.0_92) on Sat Nov 05 07:35:37 EDT 2016 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>FileUtils (Dependency-Check Utils 1.4.3 API)</title>
|
||||
<meta name="date" content="2016-09-06">
|
||||
<title>FileUtils (Dependency-Check Utils 1.4.4 API)</title>
|
||||
<meta name="date" content="2016-11-05">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
@@ -13,13 +13,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="FileUtils (Dependency-Check Utils 1.4.3 API)";
|
||||
parent.document.title="FileUtils (Dependency-Check Utils 1.4.4 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9};
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -135,24 +135,30 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/owasp/dependencycheck/utils/FileUtils.html#createTempDirectory-java.io.File-">createTempDirectory</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> base)</code>
|
||||
<div class="block">Creates a unique temporary directory in the given directory.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/owasp/dependencycheck/utils/FileUtils.html#delete-java.io.File-">delete</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code>
|
||||
<div class="block">Deletes a file.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/owasp/dependencycheck/utils/FileUtils.html#getBitBucket--">getBitBucket</a></span>()</code>
|
||||
<div class="block">Return the bit bucket for the OS.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/owasp/dependencycheck/utils/FileUtils.html#getFileExtension-java.lang.String-">getFileExtension</a></span>(<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> fileName)</code>
|
||||
<div class="block">Returns the (lowercase) file extension for a specified file.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/owasp/dependencycheck/utils/FileUtils.html#getTempFile-java.lang.String-java.lang.String-">getTempFile</a></span>(<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> prefix,
|
||||
<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> extension)</code>
|
||||
@@ -204,7 +210,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
|
||||
<li class="blockList">
|
||||
<h4>delete</h4>
|
||||
<pre>public static boolean delete(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre>
|
||||
<div class="block">Deletes a file. If the File is a directory it will recursively delete the contents.</div>
|
||||
<div class="block">Deletes a file. If the File is a directory it will recursively delete the
|
||||
contents.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>file</code> - the File to delete</dd>
|
||||
@@ -213,6 +220,26 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createTempDirectory-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createTempDirectory</h4>
|
||||
<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> createTempDirectory(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> base)
|
||||
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
||||
<div class="block">Creates a unique temporary directory in the given directory.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>base</code> - the base directory to create a temporary directory within</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the temporary directory</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - thrown when a directory cannot be created within the
|
||||
base directory</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getTempFile-java.lang.String-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -230,7 +257,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>a temporary File</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - thrown if the temporary folder could not be created</dd>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - thrown if the temporary folder could not be
|
||||
created</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -241,7 +269,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
|
||||
<li class="blockList">
|
||||
<h4>getBitBucket</h4>
|
||||
<pre>public static <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> getBitBucket()</pre>
|
||||
<div class="block">Return the bit bucket for the OS. '/dev/null' for Unix and 'NUL' for Windows</div>
|
||||
<div class="block">Return the bit bucket for the OS. '/dev/null' for Unix and 'NUL' for
|
||||
Windows</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>a String containing the bit bucket</dd>
|
||||
|
||||
Reference in New Issue
Block a user