Class OSXFilter
- java.lang.Object
-
- com.levigo.jadice.server.archive.worker.filter.OSXFilter
-
- All Implemented Interfaces:
ArchiveEntryFilter
public class OSXFilter extends Object implements ArchiveEntryFilter
Filters file entries from the folder__MACOSX
that contains the "Resource Bundle Stream"- Since:
- jadice server 5.4.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
RESOURCE_BUNDLE_FOLDER
-
Constructor Summary
Constructors Constructor Description OSXFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(String dir, String name, long size)
Tests if a specified archive entry should be extracted.
-
-
-
Field Detail
-
RESOURCE_BUNDLE_FOLDER
public static final String RESOURCE_BUNDLE_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public boolean accept(String dir, String name, long size)
Description copied from interface:ArchiveEntryFilter
Tests if a specified archive entry should be extracted.- Specified by:
accept
in interfaceArchiveEntryFilter
- 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.
-
-