Subversion Repository Public Repository

litesoft

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( FileUtils.createBufferedFileOutputStream( pFilePath ) );
        }

        @Override
        public ZipEntry createZE( String pRelativePath ) {
            return new ZipEntry( pRelativePath );
        }
    };
}

Commits for litesoft/trunk/Java/ScarPlus/src/com/esotericsoftware/filesystem/ZipFactory.java

Diff revisions: vs.
Revision Author Commited Message
974 Diff Diff GeorgeS picture GeorgeS Mon 25 Aug, 2014 00:35:54 +0000

Updated to support usage specific artifact repositories

959 Diff Diff GeorgeS picture GeorgeS Sat 19 Jul, 2014 15:27:50 +0000

Scar update

943 Diff Diff GeorgeS picture GeorgeS Tue 03 Jun, 2014 04:25:50 +0000

Extracting commonfoundation

939 Diff Diff GeorgeS picture GeorgeS Mon 02 Jun, 2014 21:30:31 +0000

Extracting commonfoundation

319 Diff Diff GeorgeS picture GeorgeS Sat 23 Jul, 2011 00:38:50 +0000
315 Diff Diff GeorgeS picture GeorgeS Sun 17 Jul, 2011 15:48:36 +0000
302 GeorgeS picture GeorgeS Fri 08 Jul, 2011 14:08:10 +0000