7676 * @author <a href="mailto:jefft@apache.org">Jeff Turner</a>
7777 * @author Matthew Hawthorne
7878 * @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
79- * @version $Id: FilenameUtils.java,v 1.2 2003/11/27 20:53:04 bayard Exp $
79+ * @version $Id: FilenameUtils.java,v 1.3 2003/12/29 05:59:18 bayard Exp $
8080 */
8181public class FilenameUtils {
8282
@@ -443,7 +443,7 @@ public static String basename(String filename, String suffix) {
443443 * Delete a file. If file is directory delete it and all sub-directories.
444444 * @param file file or directory to delete.
445445 * @throws IOException in case deletion is unsuccessful
446- * @deprecated Use {@link #forceDelete(File)}
446+ * @deprecated Use {@link FileUtils #forceDelete(File)}
447447 */
448448 public static void forceDelete (final String file ) throws IOException {
449449 FileUtils .forceDelete (new File (file ));
@@ -455,7 +455,7 @@ public static void forceDelete(final String file) throws IOException {
455455 * Clean a directory without deleting it.
456456 * @param directory directory to clean
457457 * @throws IOException in case cleaning is unsuccessful
458- * @deprecated Use {@link #cleanDirectory(File)}
458+ * @deprecated Use {@link FileUtils #cleanDirectory(File)}
459459 */
460460 public static void cleanDirectory (final String directory )
461461 throws IOException {
@@ -467,7 +467,7 @@ public static void cleanDirectory(final String directory)
467467 *
468468 * @param directory directory to inspect
469469 * @return size of directory in bytes.
470- * @deprecated Use {@link #sizeOfDirectory(File)}
470+ * @deprecated Use {@link FileUtils #sizeOfDirectory(File)}
471471 */
472472 public static long sizeOfDirectory (final String directory ) {
473473 return FileUtils .sizeOfDirectory (new File (directory ));
@@ -486,7 +486,7 @@ public static long sizeOfDirectory(final String directory) {
486486 * @throws IOException if <code>source</code> does not exist, the file in
487487 * <code>destinationDirectory</code> cannot be written to, or an IO error occurs during copying.
488488 *
489- * @deprecated Use {@link #copyFileToDirectory(File, File)}
489+ * @deprecated Use {@link FileUtils #copyFileToDirectory(File, File)}
490490 */
491491 public static void copyFileToDirectory (
492492 final String source ,
@@ -499,7 +499,7 @@ public static void copyFileToDirectory(
499499 * Recursively delete a directory.
500500 * @param directory directory to delete
501501 * @throws IOException in case deletion is unsuccessful
502- * @deprecated Use {@link #deleteDirectory(File)}
502+ * @deprecated Use {@link FileUtils #deleteDirectory(File)}
503503 */
504504 public static void deleteDirectory (final String directory )
505505 throws IOException {
@@ -511,7 +511,7 @@ public static void deleteDirectory(final String directory)
511511 * Matches the equally named unix command.
512512 * @param filename filename to inspect
513513 * @return The directory portion excluding the ending file separator.
514- * @deprecated Use {@link #getPath(File)}
514+ * @deprecated Use {@link FileUtils #getPath(File)}
515515 * TODO DELETE before 1.0
516516 */
517517 public static String dirname (String filename ) {
@@ -523,7 +523,7 @@ public static String dirname(String filename) {
523523 * Returns the filename portion of a file specification string.
524524 * @param filename filename to inspect
525525 * @return The filename string with extension.
526- * @deprecated Use {@link #removeExtension(File)}
526+ * @deprecated Use {@link FileUtils #removeExtension(File)}
527527 * TODO DELETE before 1.0
528528 */
529529 public static String filename (String filename ) {
@@ -539,7 +539,7 @@ public static String filename(String filename) {
539539 * the dot).
540540 * @param filename filename to inspect
541541 * @return the extension
542- * @deprecated Use {@link #getExtension(File)}
542+ * @deprecated Use {@link FileUtils #getExtension(File)}
543543 * TODO probably duplicate method. See getExtension
544544 */
545545 public static String extension (String filename ) {
0 commit comments