82
82
/**
83
83
* <p>This class provides basic facilities for manipulating files and file paths.</p>
84
84
*
85
- * <h3 >Path-related methods</h3 >
85
+ * <b >Path-related methods</b >
86
86
*
87
87
* <p>Methods exist to retrieve the components of a typical file path. For example
88
88
* <code>/www/hosted/mysite/index.html</code>, can be broken into:
95
95
* <p>There are also methods to {@link #catPath concatenate two paths}, {@link #resolveFile resolve a path relative to a
96
96
* File} and {@link #normalize} a path.</p>
97
97
98
- * <h3 >File-related methods</h3 >
98
+ * <b >File-related methods</b >
99
99
*
100
100
* <p>There are methods to create a {@link #toFile File from a URL}, copy a {@link #copyFileToDirectory File to a
101
101
* directory}, copy a {@link #copyFile File to another File}, copy a {@link #copyURLToFile URL's contents to a File}, as
112
112
* @author <a href="mailto:[email protected] ">Christoph.Reck</a>
113
113
* @author <a href="mailto:[email protected] ">Peter Donald</a>
114
114
* @author <a href="mailto:[email protected] ">Jeff Turner</a>
115
- * @version $Id$
115
+ *
116
116
*/
117
117
public class FileUtils
118
118
{
@@ -988,6 +988,7 @@ public static void copyFileToDirectoryIfModified( final File source, final File
988
988
* @param sourceBase The basedir used for the directory scan
989
989
* @param dirs The getIncludedDirs from the dirscanner
990
990
* @param destination The base dir of the output structure
991
+ * @throws IOException io issue
991
992
*/
992
993
public static void mkDirs ( final File sourceBase , String [] dirs , final File destination )
993
994
throws IOException
@@ -1696,7 +1697,7 @@ public static long sizeOfDirectory( final File directory )
1696
1697
* @param includes the includes pattern, comma separated
1697
1698
* @param excludes the excludes pattern, comma separated
1698
1699
* @return a list of File objects
1699
- * @throws IOException
1700
+ * @throws IOException io issue
1700
1701
* @see #getFileNames(File, String, String, boolean)
1701
1702
*/
1702
1703
public static List <File > getFiles ( File directory , String includes , String excludes )
@@ -1713,7 +1714,7 @@ public static List<File> getFiles( File directory, String includes, String exclu
1713
1714
* @param excludes the excludes pattern, comma separated
1714
1715
* @param includeBasedir true to include the base dir in each file
1715
1716
* @return a list of File objects
1716
- * @throws IOException
1717
+ * @throws IOException io issue
1717
1718
* @see #getFileNames(File, String, String, boolean)
1718
1719
*/
1719
1720
public static List <File > getFiles ( File directory , String includes , String excludes , boolean includeBasedir )
@@ -1739,7 +1740,7 @@ public static List<File> getFiles( File directory, String includes, String exclu
1739
1740
* @param excludes the excludes pattern, comma separated
1740
1741
* @param includeBasedir true to include the base dir in each String of file
1741
1742
* @return a list of files as String
1742
- * @throws IOException
1743
+ * @throws IOException io issue
1743
1744
*/
1744
1745
public static List <String > getFileNames ( File directory , String includes , String excludes , boolean includeBasedir )
1745
1746
throws IOException
@@ -1756,7 +1757,7 @@ public static List<String> getFileNames( File directory, String includes, String
1756
1757
* @param includeBasedir true to include the base dir in each String of file
1757
1758
* @param isCaseSensitive true if case sensitive
1758
1759
* @return a list of files as String
1759
- * @throws IOException
1760
+ * @throws IOException io issue
1760
1761
*/
1761
1762
public static List <String > getFileNames ( File directory , String includes , String excludes , boolean includeBasedir ,
1762
1763
boolean isCaseSensitive )
@@ -1773,7 +1774,7 @@ public static List<String> getFileNames( File directory, String includes, String
1773
1774
* @param excludes the excludes pattern, comma separated
1774
1775
* @param includeBasedir true to include the base dir in each String of file
1775
1776
* @return a list of directories as String
1776
- * @throws IOException
1777
+ * @throws IOException io issue
1777
1778
*/
1778
1779
public static List <String > getDirectoryNames ( File directory , String includes , String excludes ,
1779
1780
boolean includeBasedir )
@@ -1791,7 +1792,7 @@ public static List<String> getDirectoryNames( File directory, String includes, S
1791
1792
* @param includeBasedir true to include the base dir in each String of file
1792
1793
* @param isCaseSensitive true if case sensitive
1793
1794
* @return a list of directories as String
1794
- * @throws IOException
1795
+ * @throws IOException io issue
1795
1796
*/
1796
1797
public static List <String > getDirectoryNames ( File directory , String includes , String excludes ,
1797
1798
boolean includeBasedir , boolean isCaseSensitive )
@@ -1811,7 +1812,7 @@ public static List<String> getDirectoryNames( File directory, String includes, S
1811
1812
* @param getFiles true if get files
1812
1813
* @param getDirectories true if get directories
1813
1814
* @return a list of files as String
1814
- * @throws IOException
1815
+ * @throws IOException io issue
1815
1816
*/
1816
1817
public static List <String > getFileAndDirectoryNames ( File directory , String includes , String excludes ,
1817
1818
boolean includeBasedir , boolean isCaseSensitive ,
0 commit comments