import be.nikiroo.fanfix.supported.InfoReader;
import be.nikiroo.utils.IOUtils;
import be.nikiroo.utils.Image;
-import be.nikiroo.utils.MarkableFileInputStream;
import be.nikiroo.utils.Progress;
/**
}
@Override
- protected synchronized void invalidateInfo(String luid) {
+ protected synchronized void updateInfo(MetaData meta) {
+ deleteInfo();
+ }
+
+ @Override
+ protected void deleteInfo(String luid) {
stories = null;
sourceCovers = new HashMap<String, Image>();
}
}
}
- invalidateInfo();
+ deleteInfo();
}
@Override
pg.add(1);
}
- invalidateInfo();
+ deleteInfo();
pg.done();
return;
}
super.imprt(other, luid, pg);
- invalidateInfo();
+ deleteInfo();
}
/**
* {@link LocalLibrary#baseDir}.
* <p>
* Will use a cached list when possible (see
- * {@link BasicLibrary#invalidateInfo()}).
+ * {@link BasicLibrary#deleteInfo()}).
*
* @param pg
* the optional {@link Progress}
// not normal!!
throw new IOException(
"Cannot understand the LUID of "
- + infoFile
- + ": "
- + (meta == null ? "[meta is NULL]"
- : meta.getLuid()), e);
+ + infoFile + ": "
+ + meta.getLuid(), e);
}
} catch (IOException e) {
// We should not have not-supported files in the