Remove File based methods as this is a Filename class


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140634 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/java/org/apache/commons/io/FilenameUtils.java b/src/java/org/apache/commons/io/FilenameUtils.java
index de6da7d..a8578b3 100644
--- a/src/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/java/org/apache/commons/io/FilenameUtils.java
@@ -63,7 +63,7 @@
  * @author Martin Cooper
  * @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
  * @author Stephen Colebourne
- * @version $Id: FilenameUtils.java,v 1.20 2004/10/30 22:41:57 scolebourne Exp $
+ * @version $Id: FilenameUtils.java,v 1.21 2004/10/30 22:43:21 scolebourne Exp $
  * @since Commons IO 1.1
  */
 public class FilenameUtils {
@@ -105,44 +105,6 @@
     public FilenameUtils() { }
 
     /**
-     * Check if a file exits.
-     *
-     * @param fileName The name of the file to check.
-     * @return true if file exists.
-     */
-    // KILL: Not filename based
-    public static boolean fileExists(String fileName) {
-        File file = new File(fileName);
-        return file.exists();
-    }
-
-
-
-    /**
-     * Deletes a file.
-     *
-     * @param fileName The name of the file to delete.
-     */
-    // KILL: Not filename based
-    public static void fileDelete(String fileName) {
-        File file = new File(fileName);
-        file.delete();
-    }
-
-    /**
-     * Simple way to make a directory. It also creates the parent directories
-     * if necessary.
-     * @param dir directory to create
-     */
-    // KILL: Not filename based
-    public static void mkdir(String dir) {
-        File file = new File(dir);
-        if (!file.exists()) {
-            file.mkdirs();
-        }
-    }
-
-    /**
      * Remove extension from filename.
      * ie
      * <pre>
diff --git a/src/test/org/apache/commons/io/FilenameUtilsTestCase.java b/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
index 86e163e..6f645de 100644
--- a/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
+++ b/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
@@ -30,7 +30,7 @@
  * @author Peter Donald
  * @author Matthew Hawthorne
  * @author Martin Cooper
- * @version $Id: FilenameUtilsTestCase.java,v 1.14 2004/10/30 22:41:56 scolebourne Exp $
+ * @version $Id: FilenameUtilsTestCase.java,v 1.15 2004/10/30 22:43:21 scolebourne Exp $
  * @see FilenameUtils
  */
 public class FilenameUtilsTestCase extends FileBasedTestCase {
@@ -75,14 +75,6 @@
         FileUtils.deleteDirectory(getTestDirectory());
     }
 
-    // mkdir
-
-    public void testMkdir() {
-        File dir = new File(getTestDirectory(), "testdir");
-        FilenameUtils.mkdir(dir.getAbsolutePath());
-        dir.deleteOnExit();
-    }
-
     // removePath
 
     public void testRemovePath() {