X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;h=86b5904055093c31da5c6dfaf217727a769a030e;hb=095c0cfc66f3c18285c618c278e3be8f22003018;hp=8f3783b95d44a7689a41be2beea290cd8b67e03a;hpb=e858fb8e714fdb9f07c9172869caab47bfc7945e;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/project/Entry.java b/src/net/pterodactylus/jsite/project/Entry.java index 8f3783b..86b5904 100644 --- a/src/net/pterodactylus/jsite/project/Entry.java +++ b/src/net/pterodactylus/jsite/project/Entry.java @@ -47,6 +47,14 @@ public interface Entry { public boolean isDefault(); /** + * Returns whether the content type setting is still the default. + * + * @return true if the content type has not been changed by + * the user, false otherwise + */ + public boolean isDefaultContentType(); + + /** * 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.