1 package org.catacomb.dataview.read; 2 3 4 5 6 public class CustomJarContentReader extends BaseContentReader { 7 8 9 CustomJarReader customJarReader; 10 11 JarImportContext ctxt; 12 13 14 public CustomJarContentReader(byte[] bytes, FUImportContext ctxt) { 15 super(ctxt); 16 17 JarImportContext jctx = new JarImportContext(ctxt); 18 19 customJarReader = new CustomJarReader(bytes, jctx); 20 21 jctx.setJarReader(customJarReader); 22 } 23 24 25 26 public Object getMain() { 27 return customJarReader.getMain(); 28 } 29 30 31 32 public boolean hasRelative(String rp) { 33 return customJarReader.hasRelative(rp); 34 } 35 36 37 public Object getRelative(String rp) { 38 return customJarReader.getRelative(rp); 39 } 40 41 42 43 }