X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;h=9b3c52126b0a878e9ee0b4a5881c59336722e905;hb=95caf3bdb2b7946e4f20a45025f730dd47c5985c;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..9b3c521 100644
--- a/src/net/pterodactylus/jsite/project/Entry.java
+++ b/src/net/pterodactylus/jsite/project/Entry.java
@@ -30,6 +30,15 @@ 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 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.