import org.vamsas.objects.core.VamsasDocument;
public class ArchiveReports {
-
+ /**
+ * print an informative summary on a VamsasDocument
+ * @param document - the document itself
+ * @param archive - document source archive for resolving any appData refs
+ * @return
+ */
public static boolean reportDocument(VamsasDocument document, VamsasArchiveReader archive) {
if (document!=null) {
System.out.print("Vamsas Document version '"+document.getVersion()+"'");
return false;
}
+ /**
+ * summarises all the datasets in a vamsas document.
+ * @param roots
+ * @return
+ */
public static boolean rootReport(VAMSAS[] roots) {
if (roots!=null) {
for (int i=0; i<roots.length; i++) {