Modifier and Type | Method and Description |
---|---|
static void |
CompressUtil.compressZip(Resource[] sources,
Resource target,
ResourceFilter filter)
compress a source file/directory to a zip file
|
static void |
CompressUtil.compressZip(Resource[] sources,
ZipOutputStream zos,
ResourceFilter filter) |
Modifier and Type | Method and Description |
---|---|
String[] |
Resource.list(ResourceFilter filter) |
Resource[] |
Resource.listResources(ResourceFilter filter)
Returns an array of abstract pathnames denoting the files and
directories in the directory denoted by this abstract pathname that
satisfy the specified filter.
|
Modifier and Type | Class and Description |
---|---|
class |
AndResourceFilter
A FileFilter providing conditional OR logic across a list of file filters.
|
class |
DirectoryResourceFilter
accept only directories
|
class |
ExtensionResourceFilter
Filter fuer die
listFiles Methode des FIle Objekt,
zum filtern von FIles mit einer bestimmten Extension. |
class |
FileResourceFilter
accept only directories
|
class |
LogResourceFilter |
class |
NotResourceFilter
This filter produces a logical NOT of the filters specified.
|
class |
OrResourceFilter
A FileFilter providing conditional OR logic across a list of file filters.
|
Constructor and Description |
---|
AndResourceFilter(ResourceFilter[] filters) |
LogResourceFilter(ResourceFilter filter) |
NotResourceFilter(ResourceFilter filter) |
OrResourceFilter(ResourceFilter[] filters) |
Modifier and Type | Interface and Description |
---|---|
interface |
FileResourceFilter
combine ResourceFilter and FileFilter
|
Modifier and Type | Method and Description |
---|---|
String[] |
FileResource.list(ResourceFilter filter) |
Resource[] |
FileResource.listResources(ResourceFilter filter) |
Modifier and Type | Interface and Description |
---|---|
interface |
ResourceAndResourceNameFilter |
Modifier and Type | Class and Description |
---|---|
class |
FileFilterWrapper |
class |
UDFFilter |
class |
WildCardFilter
Wildcard Filter
|
class |
WildcardPatternFilter |
Modifier and Type | Method and Description |
---|---|
static void |
ResourceUtil._deleteContent(Resource src,
ResourceFilter filter,
boolean deleteDirectories) |
void |
ResourceUtilImpl.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter) |
static void |
ResourceUtil.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter)
copy a file or directory recursive (with his content)
|
static void |
ResourceUtil.deleteContent(Resource src,
ResourceFilter filter) |
static int |
ResourceUtil.directrySize(Resource dir,
ResourceFilter filter) |
static int |
ResourceUtil.getChildCount(Resource res,
ResourceFilter filter) |
static long |
ResourceUtil.getRealSize(Resource res,
ResourceFilter filter)
return the size of the Resource, other than method length of Resource this mthod return the size of all files in a directory
|
static boolean |
ResourceUtil.isEmptyDirectory(Resource res,
ResourceFilter filter)
return Boolean.True when directory is empty, Boolean.FALSE when directory s not empty and null if directory does not exists
|
String[] |
ResourceSupport.list(ResourceFilter filter) |
String[] |
FileWrapper.list(ResourceFilter filter) |
static Resource[] |
ResourceUtil.listResources(Resource[] resources,
ResourceFilter filter)
list childrn of all given resources
|
Resource[] |
ResourceSupport.listResources(ResourceFilter filter) |
Resource[] |
FileWrapper.listResources(ResourceFilter filter) |
static Resource[] |
ResourceUtil.listResources(Resource res,
ResourceFilter filter) |
void |
ResourceUtilImpl.removeChildren(Resource res,
ResourceFilter filter) |
static void |
ResourceUtil.removeChildren(Resource res,
ResourceFilter filter) |
static void |
ResourceUtil.removeChildrenEL(Resource res,
ResourceFilter filter) |
static void |
ResourceUtil.removeEmptyFolders(Resource dir,
ResourceFilter filter)
remove empty folder in given directory
|
Modifier and Type | Class and Description |
---|---|
class |
AndFileFilter
A FileFilter providing conditional AND logic across a list of file filters.
|
Constructor and Description |
---|
AndFileFilter(ResourceFilter[] filters) |
Modifier and Type | Class and Description |
---|---|
class |
LuceneExtensionFileFilter
FilFilter that only allow filter with given extensions
by constructor or directory, if constructor variable recurse is true
|
Modifier and Type | Field and Description |
---|---|
static ResourceFilter |
Directory.DIRECTORY_FILTER |
static ResourceFilter |
Directory.FILE_FILTER |
Modifier and Type | Method and Description |
---|---|
ResourceFilter |
ZipParamSource.getFilter() |
Modifier and Type | Method and Description |
---|---|
static void |
Directory.actionCopy(PageContext pc,
Resource directory,
String strDestination,
String serverPassword,
boolean createPath,
Object acl,
int storage,
ResourceFilter filter,
boolean recurse,
int nameconflict) |
static Object |
Directory.actionList(PageContext pageContext,
Resource directory,
String serverPassword,
int type,
ResourceFilter filter,
ResourceAndResourceNameFilter nameFilter,
int listInfo,
boolean recurse,
String sort)
list all files and directories inside a directory
|
Constructor and Description |
---|
ZipParamSource(Resource source,
String entryPath,
ResourceFilter filter,
String prefix,
boolean recurse) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceUtil.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter)
copy a file or directory recursive (with his content)
|
void |
ResourceUtil.removeChildren(Resource res,
ResourceFilter filter) |
Copyright © 2015 Lucee