1 package org.catacomb.dataview.read; 2 3 import org.catacomb.serial.Deserializer; 4 5 6 7 public class XMLContentReader extends BaseContentReader { 8 9 byte[] bytes; 10 11 public XMLContentReader(byte[] ba, FUImportContext ctxt) { 12 super(ctxt); 13 bytes = ba; 14 } 15 16 17 public Object getMain() { 18 // String sdata = new String(bytes, "US-ASCII"); 19 String sdata = new String(bytes); 20 Object ret = Deserializer.deserialize(sdata, getContext()); 21 return ret; 22 } 23 24 25 26 27 }