Interface ArchiveEntryFilter
-
- All Known Implementing Classes:
AntPatternArchiveEntryFilter
,OSXFilter
public interface ArchiveEntryFilter
Instances of classes that implement this interface are used to filter archives in order to decide if archive entries shall be extracted or not.- Since:
- jadice server 5.4.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(String dir, String name, long size)
Tests if a specified archive entry should be extracted.
-
-
-
Method Detail
-
accept
boolean accept(String dir, String name, long size)
Tests if a specified archive entry should be extracted.- Parameters:
dir
- the directory in which the archive entry was found.name
- the name of the archive entry.size
- the size of the unpacked file (according to the archive metadata)- Returns:
true
iff the archive entry should be extracted.
-
-