public boolean isSiteContent(final ZipEntry entry) throws UnsupportedEncodingException { String[] chain = FolderUtil.getPathChain(entry); if (chain.length != 1 || !chain[0].equals("content.xml")) { return false; } return true; }