Interface NamingConventionFactory

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    DefaultNamingConventionFactory

    public interface NamingConventionFactory
    extends java.io.Serializable
    Factory for creating convention for naming files.
    • Method Detail

      • create

        NamingConvention create​(java.lang.String cfgPrefix,
                                java.util.Map<java.lang.String,​java.lang.Object> cfg,
                                java.time.Duration rollTimePeriod,
                                java.lang.String prefix,
                                java.lang.String suffix)
        Create NamingConvention that is used with FileFormat.
        Parameters:
        cfgPrefix - configuration prefix
        cfg - configuration
        rollTimePeriod - time rolling interval
        prefix - prefix of all names generated
        suffix - suffix of filenames
        Returns:
        naming convention with given settings