18 package org.turro.file;
21 import java.io.IOException;
22 import org.turro.zip.Zipper;
23 import org.turro.file.action.AddFolderAction;
24 import org.turro.file.action.GalleryAction;
25 import org.turro.file.action.RefreshAction;
26 import org.turro.file.action.ZipAction;
38 if(!
file.getAbsolutePath().contains(
"WEB-INF")) {
45 public void zip() throws IOException {
46 String newZip =
file.getAbsolutePath() +
"/" +
file.getName() +
".zip";
47 new Zipper().goOn(newZip,
file.getAbsolutePath());
54 return file.isDirectory();
List< FileAction > actions
static boolean isMyType(File file)