Examples of ArchivePath


Examples of org.jboss.shrinkwrap.api.ArchivePath

        return ArchiveHelper.isEarArchive(archive) && isTopLevelNode(node) && node.getAsset() instanceof ArchiveAsset;
    }

    public static boolean isTopLevelNode(Node node)
    {
        final ArchivePath parent = node.getPath().getParent();
        return parent == null || "/".equals(parent.get());
    }
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.