litesoft
@ 959
litesoft / trunk / Java / ScarPlus / src / com / esotericsoftware / filesystem / ZipFactory.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
package com.esotericsoftware.filesystem; import com.esotericsoftware.utils.*; import java.util.*; import java.util.zip.*; public interface ZipFactory { ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ); ZipEntry createZE( String pRelativePath ); public ZipFactory FOR_ZIPS = new ZipFactory() { @Override public ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ) { return new ZipOutputStream( FileUtil.createBufferedFileOutputStream( pFilePath ) ); } @Override public ZipEntry createZE( String pRelativePath ) { return new ZipEntry( pRelativePath ); } }; } |
Commits for litesoft/trunk/Java/ScarPlus/src/com/esotericsoftware/filesystem/ZipFactory.java
Revision | Author | Commited | Message |
---|---|---|---|
959 Diff | GeorgeS | Sat 19 Jul, 2014 15:27:50 +0000 | Scar update |
943 Diff | GeorgeS | Tue 03 Jun, 2014 04:25:50 +0000 | Extracting commonfoundation |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
319 Diff | GeorgeS | Sat 23 Jul, 2011 00:38:50 +0000 | |
315 Diff | GeorgeS | Sun 17 Jul, 2011 15:48:36 +0000 | |
302 | GeorgeS | Fri 08 Jul, 2011 14:08:10 +0000 |