Class EntryEncryptorProvider<E>

java.lang.Object
org.miaixz.bus.shade.safety.provider.WrappedEncryptorProvider
org.miaixz.bus.shade.safety.provider.EntryEncryptorProvider<E>
All Implemented Interfaces:
Complex<E>, EncryptorProvider
Direct Known Subclasses:
BootEncryptorProvider, DirEncryptorProvider, JarEncryptorProvider, ZipEncryptorProvider

public abstract class EntryEncryptorProvider<E> extends WrappedEncryptorProvider implements EncryptorProvider, Complex<E>
记录可过滤的加密器
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

  • Constructor Details

    • EntryEncryptorProvider

      protected EntryEncryptorProvider(EncryptorProvider encryptorProvider)
    • EntryEncryptorProvider

      protected EntryEncryptorProvider(EncryptorProvider encryptorProvider, Complex<E> filter)
  • Method Details

    • on

      public boolean on(E entry)
      Description copied from interface: Complex
      记录是否需要加/解密
      Specified by:
      on in interface Complex<E>
      Parameters:
      entry - 记录
      Returns:
      true: 需要 false:不需要