BundleManifest bundleMf = BundleManifest.fromBundle(appBundle);
BundleBlueprintParser bpParser = new BundleBlueprintParser(bundleMf);
List<IFile> files = appBundle.listAllFiles();
Iterator<IFile> it = files.iterator();
while (it.hasNext()) {
IFile file = (IFile) it.next();
String directoryFullPath = file.getName();
String directoryName = "";
String fileName = "";
if (directoryFullPath.lastIndexOf("/") != -1) {
directoryName = directoryFullPath.substring(0, directoryFullPath.lastIndexOf("/"));
fileName = directoryFullPath.substring(directoryFullPath.lastIndexOf("/") + 1);
} else {
if (file.isFile()) {
directoryName="";
fileName = directoryFullPath;
}
}