litesoft
Diff Revisions
958
vs
959
for /trunk/Java/ScarPlus/src/com/esotericsoftware/filesystem/ZipFactory.java
|
@@ -5,23 +5,19 @@ |
5 |
5 |
|
import java.util.*; |
6 |
6 |
|
import java.util.zip.*; |
7 |
7 |
|
|
8 |
|
- |
public interface ZipFactory |
9 |
|
- |
{ |
|
8 |
+ |
public interface ZipFactory { |
10 |
9 |
|
ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ); |
11 |
10 |
|
|
12 |
11 |
|
ZipEntry createZE( String pRelativePath ); |
13 |
12 |
|
|
14 |
|
- |
public ZipFactory FOR_ZIPS = new ZipFactory() |
15 |
|
- |
{ |
|
13 |
+ |
public ZipFactory FOR_ZIPS = new ZipFactory() { |
16 |
14 |
|
@Override |
17 |
|
- |
public ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ) |
18 |
|
- |
{ |
|
15 |
+ |
public ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ) { |
19 |
16 |
|
return new ZipOutputStream( FileUtil.createBufferedFileOutputStream( pFilePath ) ); |
20 |
17 |
|
} |
21 |
18 |
|
|
22 |
19 |
|
@Override |
23 |
|
- |
public ZipEntry createZE( String pRelativePath ) |
24 |
|
- |
{ |
|
20 |
+ |
public ZipEntry createZE( String pRelativePath ) { |
25 |
21 |
|
return new ZipEntry( pRelativePath ); |
26 |
22 |
|
} |
27 |
23 |
|
}; |