add size
[jSite2.git] / src / net / pterodactylus / jsite / project / ProjectFile.java
index 1a8738a..53a7b5b 100644 (file)
@@ -57,6 +57,15 @@ public interface ProjectFile {
        public String getCompletePath();
 
        /**
+        * Returns the size of the file. If this file is a directory, the returned
+        * value is unspecified.
+        * 
+        * @see File#length()
+        * @return The size of the file
+        */
+       public long getSize();
+
+       /**
         * Returns whether this file is a directory.
         * 
         * @return <code>true</code> if this file is a directory,