* 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.io.File;
import java.util.List;
import net.pterodactylus.jsite.core.Core;
public String getName();
/**
+ * Returns the parent of this project file.
+ *
+ * @return The parent of this project file, or <code>null</code> if this
+ * project file does not have a parent
+ */
+ public ProjectFile getParent();
+
+ /**
* Returns all parent files of this file. This file is the last file in the
* returned list.
*
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 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,