X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;h=8f3783b95d44a7689a41be2beea290cd8b67e03a;hb=e858fb8e714fdb9f07c9172869caab47bfc7945e;hp=9b3c52126b0a878e9ee0b4a5881c59336722e905;hpb=a8908775cd1d18f2d6a01125d1c5bdad0a61f7a3;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/project/Entry.java b/src/net/pterodactylus/jsite/project/Entry.java index 9b3c521..8f3783b 100644 --- a/src/net/pterodactylus/jsite/project/Entry.java +++ b/src/net/pterodactylus/jsite/project/Entry.java @@ -39,6 +39,14 @@ public interface Entry { 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.