git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'subtree'
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
Instance.java
diff --git
a/src/be/nikiroo/fanfix/Instance.java
b/src/be/nikiroo/fanfix/Instance.java
index 5c00a0756e0aa2f484e2003135b9123d396257f0..c3c086fc9cd498ac3c61c84eebcf9e9bc831da1a 100644
(file)
--- a/
src/be/nikiroo/fanfix/Instance.java
+++ b/
src/be/nikiroo/fanfix/Instance.java
@@
-284,9
+284,9
@@
public class Instance {
}
/**
}
/**
- * Get the (unique) {@link
Local
Library} for the program.
+ * Get the (unique) {@link
Basic
Library} for the program.
*
*
- * @return the {@link
Local
Library}
+ * @return the {@link
Basic
Library}
*/
public BasicLibrary getLibrary() {
if (lib == null) {
*/
public BasicLibrary getLibrary() {
if (lib == null) {
@@
-296,6
+296,18
@@
public class Instance {
return lib;
}
return lib;
}
+ /**
+ * Change the default {@link BasicLibrary} for this program.
+ * <p>
+ * Be careful.
+ *
+ * @param lib
+ * the new {@link BasicLibrary}
+ */
+ public void setLibrary(BasicLibrary lib) {
+ this.lib = lib;
+ }
+
/**
* Return the directory where to look for default cover pages.
*
/**
* Return the directory where to look for default cover pages.
*