X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;h=8f3783b95d44a7689a41be2beea290cd8b67e03a;hb=e858fb8e714fdb9f07c9172869caab47bfc7945e;hp=09d9f39f6660fcda5ebbf3549e28d9c222a1e057;hpb=da836c39bccfd126fd4d01fb0a92c326aba9ac35;p=jSite2.git
diff --git a/src/net/pterodactylus/jsite/project/Entry.java b/src/net/pterodactylus/jsite/project/Entry.java
index 09d9f39..8f3783b 100644
--- a/src/net/pterodactylus/jsite/project/Entry.java
+++ b/src/net/pterodactylus/jsite/project/Entry.java
@@ -30,6 +30,23 @@ import java.io.File;
public interface Entry {
/**
+ * Returns whether this entry denotes a virtual file. A virtual file entry
+ * is a file entry that does not have a corresponding file on the disk.
+ *
+ * @return true
if this entry is a virtual file entry,
+ * false
otherwise
+ */
+ public boolean isVirtual();
+
+ /**
+ * Returns whether this entry still has its default settings.
+ *
+ * @return true
if this entry has not been changed by the
+ * user, false
otherwise
+ */
+ public boolean isDefault();
+
+ /**
* Returns the name of the file. The name can contain multiple path
* components, separated by the platformâs {@link File#separatorChar}. It
* will never start with a separator, though.