return file;
}
+ /**
+ * Check if the {@link Story} denoted by this Library UID is present in the
+ * {@link LocalReader} cache.
+ *
+ * @param luid
+ * the Library UID
+ *
+ * @return TRUE if it is
+ */
+ public boolean isCached(String luid) {
+ return lib.getInfo(luid) != null;
+ }
+
@Override
public void start(String type) {
final String typeFinal = type;
}
});
}
+
+ void refresh(String luid) {
+ lib.delete(luid);
+ }
+
+ void delete(String luid) {
+ lib.delete(luid);
+ Instance.getLibrary().delete(luid);
+ }
}