This commit is contained in:
Paulo Gustavo Veiga
2013-02-13 22:51:55 -03:00
parent 28ffead0a0
commit deca7e51b2
3 changed files with 8 additions and 6 deletions

View File

@@ -18,8 +18,10 @@
package com.wisemapping.model;
import com.wisemapping.util.ZipUtils;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.util.Calendar;
public class MindMapHistory {
@@ -71,7 +73,7 @@ public class MindMapHistory {
return xml;
}
public void setXml(byte[] xml) {
this.xml = xml;
public byte[] getUnzipXml() throws IOException {
return ZipUtils.zipToBytes(xml);
}
}