remove reader ui/tui
[nikiroo-utils.git] / src / be / nikiroo / fanfix / Instance.java
index 5c00a0756e0aa2f484e2003135b9123d396257f0..c3c086fc9cd498ac3c61c84eebcf9e9bc831da1a 100644 (file)
@@ -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.
+        * <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.
         *