X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fdata%2FMetaData.java;h=2e34ef98ad27bda10ff34a009fa3d3d314aaf6b2;hp=cbaf84e3c75def8646332cb7975a650dfe703013;hb=074a83257de30c3cd7409b0840ab6f27ed0e93b5;hpb=3f9f9d63efef45f1b94bf37ece957cead9c29518 diff --git a/src/be/nikiroo/fanfix/data/MetaData.java b/src/be/nikiroo/fanfix/data/MetaData.java index cbaf84e..2e34ef9 100644 --- a/src/be/nikiroo/fanfix/data/MetaData.java +++ b/src/be/nikiroo/fanfix/data/MetaData.java @@ -1,16 +1,26 @@ package be.nikiroo.fanfix.data; +import java.io.Serializable; import java.util.ArrayList; import java.util.List; import be.nikiroo.utils.Image; +import be.nikiroo.utils.StringUtils; /** * The meta data associated to a {@link Story} object. + *
+ * Note that some earlier version of the program did not save the resume as an + * external file; for those stories, the resume is not fetched until the story + * is. + *
+ * The cover is never fetched until the story is.
*
* @author niki
*/
-public class MetaData implements Cloneable, Comparable
+ * This can be NULL if we don't have a resume for this {@link Story}.
+ *
+ * Note that some earlier version of the program did not save the resume as
+ * an external file; for those stories, the resume is not fetched until the
+ * story is.
*
* @return the resume
*/
@@ -117,6 +139,10 @@ public class MetaData implements Cloneable, Comparable
+ * Note that some earlier version of the program did not save the resume as
+ * an external file; for those stories, the resume is not fetched until the
+ * story is.
*
* @param resume
* the resume to set
@@ -127,6 +153,8 @@ public class MetaData implements Cloneable, Comparable
+ * The cover is not fetched until the story is.
*
* @return the cover
*/
@@ -136,6 +164,8 @@ public class MetaData implements Cloneable, Comparable
+ * The cover is not fetched until the story is.
*
* @param cover
* the cover to set
@@ -384,12 +414,14 @@ public class MetaData implements Cloneable, Comparable