import jalview.io.vamsas.Rangetype;
import jalview.project.Jalview2XML;
import jalview.util.MessageManager;
+import jalview.util.jarInputStreamProvider;
import jalview.viewmodel.AlignmentViewport;
+import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
if (vbound.getV_parent() != null
&& dataset != vbound.getV_parent())
{
- throw new Error(MessageManager.getString(
- "error.implementation_error_cannot_map_alignment_sequences"));
- // This occurs because the dataset for the alignment we are
- // trying to
+ throw new Error(
+ "IMPLEMENTATION ERROR: Cannot map an alignment of sequences from different datasets into a single alignment in the vamsas document.");
}
}
}
// and
// mapValuesToString
fromxml.setSkipList(skipList);
- jalview.util.jarInputStreamProvider jprovider = new jalview.util.jarInputStreamProvider()
+ jarInputStreamProvider jprovider = new jarInputStreamProvider()
{
@Override
"Returning client input stream for Jalview from Vamsas Document.");
return new JarInputStream(cappdata.getClientInputStream());
}
+
+ @Override
+ public File getFile()
+ {
+ return null;
+ }
};
if (dojvsync)
{
fromxml.setSkipList(skipList);
fromxml.setObjectMappingTables(mapKeysToString(vobj2jv),
mapValuesToString(jv2vobj));
- jalview.util.jarInputStreamProvider jarstream = new jalview.util.jarInputStreamProvider()
+ jarInputStreamProvider jarstream = new jarInputStreamProvider()
{
@Override
"Returning user input stream for Jalview from Vamsas Document.");
return new JarInputStream(cappdata.getUserInputStream());
}
+
+ @Override
+ public File getFile()
+ {
+ return null;
+ }
};
if (dojvsync)
{