projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add default content type notion
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
project
/
Entry.java
diff --git
a/src/net/pterodactylus/jsite/project/Entry.java
b/src/net/pterodactylus/jsite/project/Entry.java
index
8f3783b
..
86b5904
100644
(file)
--- 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();
/**
public boolean isDefault();
/**
+ * Returns whether the content type setting is still the default.
+ *
+ * @return <code>true</code> if the content type has not been changed by
+ * the user, <code>false</code> 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.
* 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.