Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_TAR |
static int |
FORMAT_TBZ2 |
static int |
FORMAT_TGZ |
static int |
FORMAT_ZIP |
Constructor and Description |
---|
Compress(Resource file,
int format,
boolean caseSensitive)
private Constructor of the class, will be invoked be getInstance
|
Modifier and Type | Method and Description |
---|---|
Resource |
getCompressFile() |
static Compress |
getInstance(Resource zipFile,
int format,
boolean caseSensitive)
return zip instance matching the zipfile, singelton isnatce only 1 zip for one file
|
Resource |
getRamProviderResource(String path) |
void |
synchronize(boolean async) |
public static final int FORMAT_ZIP
public static final int FORMAT_TAR
public static final int FORMAT_TGZ
public static final int FORMAT_TBZ2
public static Compress getInstance(Resource zipFile, int format, boolean caseSensitive)
zipFile
- format
- caseSensitive
- public Resource getRamProviderResource(String path)
public Resource getCompressFile()
public void synchronize(boolean async)
Copyright © 2015 Lucee