All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mowedgrass.jasyptgradleboot.task.file.property.PropertyLineFormatter.groovy Maven / Gradle / Ivy

The newest version!
package com.github.mowedgrass.jasyptgradleboot.task.file.property
import com.github.mowedgrass.jasyptgradleboot.task.file.property.pattern.ProcessPatternMatches

class PropertyLineFormatter {

    public String format(ProcessPatternMatches matches, String processedValue, String format) {
        matches.preceding + sprintf(format, processedValue) + matches.succeeding
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy