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=4b8e65d7e8f674f8b6a99529d91fcce20ba25c9e;hb=074a83257de30c3cd7409b0840ab6f27ed0e93b5;hpb=b5e9855b962842b306c17688c1c793dc1378ea62 diff --git a/src/be/nikiroo/fanfix/data/MetaData.java b/src/be/nikiroo/fanfix/data/MetaData.java index 4b8e65d..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