예제 #1
0
 private void copyAll(IInputSource source, IOutputTarget target) throws CoreException {
   IManifest manifest = workbook.getManifest();
   for (IFileEntry entry : manifest.getFileEntries()) {
     if (!entry.isDirectory()) {
       String entryPath = entry.getPath();
       if (entryPath != null
           && !"".equals(entryPath) // $NON-NLS-1$
           && !hasBeenLoaded(entryPath)) {
         copyEntry(source, target, entryPath);
         markLoaded(entryPath);
       }
     }
   }
 }
예제 #2
0
 private void clearEncryptionData() {
   for (IFileEntry entry : manifest.getFileEntries()) {
     entry.deleteEncryptionData();
   }
 }