projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add method to return complete path of a project file
[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
984dcbe
..
1a8738a
100644
(file)
--- a/
src/net/pterodactylus/jsite/project/ProjectFile.java
+++ b/
src/net/pterodactylus/jsite/project/ProjectFile.java
@@
-19,6
+19,7
@@
package net.pterodactylus.jsite.project;
package net.pterodactylus.jsite.project;
+import java.io.File;
import java.util.List;
import net.pterodactylus.jsite.core.Core;
import java.util.List;
import net.pterodactylus.jsite.core.Core;
@@
-48,6
+49,14
@@
public interface ProjectFile {
public List<ProjectFile> getParents();
/**
public List<ProjectFile> getParents();
/**
+ * Returns the complete path of this file, without a leading
+ * {@link File#separator}.
+ *
+ * @return The complete path of this file
+ */
+ public String getCompletePath();
+
+ /**
* 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,