X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=Instance.java;h=c3c086fc9cd498ac3c61c84eebcf9e9bc831da1a;hp=5c00a0756e0aa2f484e2003135b9123d396257f0;hb=9b75402fd752653f27158f1c1775a062672c7b27;hpb=49380ac3c08e165d99b7c6900e6f8b4d0ae89c51 diff --git a/Instance.java b/Instance.java index 5c00a07..c3c086f 100644 --- a/Instance.java +++ b/Instance.java @@ -284,9 +284,9 @@ public class Instance { } /** - * Get the (unique) {@link LocalLibrary} for the program. + * Get the (unique) {@link BasicLibrary} for the program. * - * @return the {@link LocalLibrary} + * @return the {@link BasicLibrary} */ public BasicLibrary getLibrary() { if (lib == null) { @@ -296,6 +296,18 @@ public class Instance { return lib; } + /** + * Change the default {@link BasicLibrary} for this program. + *

+ * 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. *