projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add default insert flag
[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
9b3c521
..
8f3783b
100644
(file)
--- 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();
/**
public boolean isVirtual();
/**
+ * Returns whether this entry still has its default settings.
+ *
+ * @return <code>true</code> if this entry has not been changed by the
+ * user, <code>false</code> 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.
* 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.