X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FProjectFile.java;h=984dcbecf63c1e56e09698646552f645393116b8;hb=a78255dcb78274055e6c92c52a74aed0cbc23736;hp=3e170fd105b6629091872a8c7659f979f3c6a37c;hpb=7276c333ce81adf14eb9887eeb46fa4924737f37;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/project/ProjectFile.java b/src/net/pterodactylus/jsite/project/ProjectFile.java index 3e170fd..984dcbe 100644 --- a/src/net/pterodactylus/jsite/project/ProjectFile.java +++ b/src/net/pterodactylus/jsite/project/ProjectFile.java @@ -16,6 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + package net.pterodactylus.jsite.project; import java.util.List; @@ -26,14 +27,14 @@ import net.pterodactylus.jsite.core.Core; * Abstraction for a that exists on the machine {@link Core} is being run on. * This abstraction layer exists to make it possible to run jSite as a daemon * and only connect to it via network. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public interface ProjectFile { /** * Returns the name of the file. - * + * * @return The name of the file */ public String getName(); @@ -41,14 +42,14 @@ public interface ProjectFile { /** * Returns all parent files of this file. This file is the last file in the * returned list. - * + * * @return A list of all parents of this file and this file itself */ public List getParents(); /** * Returns whether this file is a directory. - * + * * @return true if this file is a directory, * false otherwise */ @@ -56,7 +57,7 @@ public interface ProjectFile { /** * Returns whether this file is a file (as opposed to being a directory). - * + * * @return true if this file is a file, false * otherwise */ @@ -64,14 +65,14 @@ public interface ProjectFile { /** * Returns whether this file is hidden. - * + * * @return true if this file is hidden */ public boolean isHidden(); /** * If this file is a directory, returns all files in this directory. - * + * * @see #isDirectory() * @return All files in this directory if this file is a directory, or * null if this file is not a directory