Package org.javlo.helper.importation
Class TanukiImportTools
- java.lang.Object
-
- org.javlo.helper.importation.TanukiImportTools
-
public class TanukiImportTools extends Object
-
-
Constructor Summary
Constructors Constructor Description TanukiImportTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createContentFromTanuki(ContentContext ctx, InputStream in, String name, String lang)
static boolean
importZipEntryToDataFolder(GlobalContext gc, ZipEntry entry, InputStream in, String localFolder)
import a zip entry localy.
-
-
-
Method Detail
-
importZipEntryToDataFolder
public static boolean importZipEntryToDataFolder(GlobalContext gc, ZipEntry entry, InputStream in, String localFolder) throws IOException
import a zip entry localy.- Parameters:
gc
-entry
- the zip entry.localFolder
- the local forlder in static folder.- Returns:
- false if file not create.
- Throws:
IOException
-
createContentFromTanuki
public static void createContentFromTanuki(ContentContext ctx, InputStream in, String name, String lang) throws Exception
- Throws:
Exception
-
-