Examples of ZipFileEntryAsset


Examples of org.jboss.shrinkwrap.impl.base.asset.ZipFileEntryAsset

                    Manifest mf = readManifest(f);
                    if (mf.getMainAttributes().containsKey(new Attributes.Name(SERVICE_COMPONENT))) {
                        String serviceComponents = mf.getMainAttributes().getValue(SERVICE_COMPONENT);
                        for (String component : Strings.splitAndTrimAsList(serviceComponents, ",")) {
                            if (VALID_COMPONENT_PATH_PATTERN.matcher(component).matches()) {
                                archive.add(new ZipFileEntryAsset(new ZipFile(f, ZipFile.OPEN_READ), new ZipEntry(component)), component);
                                components.add(component);
                            }
                        }
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.