Class 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
    • Constructor Detail

      • OSXFilter

        public OSXFilter()
    • 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 interface ArchiveEntryFilter
        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.