projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add size
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
project
/
ProjectFile.java
diff --git
a/src/net/pterodactylus/jsite/project/ProjectFile.java
b/src/net/pterodactylus/jsite/project/ProjectFile.java
index
1a8738a
..
53a7b5b
100644
(file)
--- a/
src/net/pterodactylus/jsite/project/ProjectFile.java
+++ b/
src/net/pterodactylus/jsite/project/ProjectFile.java
@@
-57,6
+57,15
@@
public interface ProjectFile {
public String getCompletePath();
/**
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,
* Returns whether this file is a directory.
*
* @return <code>true</code> if this file is a directory,