1 26 27 package org.objectweb.openccm.descriptor.componentassembly.gui; 28 29 import org.objectweb.openccm.descriptor.componentassembly.beans.*; 30 import org.objectweb.openccm.descriptor.componentassembly.*; 31 32 39 public class FileinarchiveZipper 40 { 41 47 53 59 63 public void 64 zipCall( 65 FileinarchiveBean fileinarchive 66 , org.objectweb.openccm.packaging.ZipFactory zip_factory 67 ) 68 { 69 LinkBean link 71 = (LinkBean) 72 fileinarchive.getLink(); 73 74 if (link == null) 76 { 77 zip_factory 79 .addFileToZip( 80 fileinarchive.getName() 81 ); 82 } 83 else 84 { 85 if (link.getHref().indexOf(":")==-1) 86 { 87 zip_factory.addFileToZip(link.getHref()); 89 } 90 } 91 } 92 } 93 | Popular Tags |