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

net.java.truelicense.maven.plugin.JavaTool Maven / Gradle / Ivy

Go to download

Provides a Maven plugin with goals for the obfuscation of constant string values in Java class and test-class files (byte code).

The newest version!
/*
 * Copyright (C) 2005-2017 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */

package net.java.truelicense.maven.plugin;

import net.java.truelicense.obfuscate.ObfuscatedString;

import javax.annotation.concurrent.Immutable;

/**
 * @author Christian Schlichtherle
 */
@Immutable
public final class JavaTool {

    public String obfuscatedString(String s) {
        return ObfuscatedString.obfuscate(s).replace(".toString()", "");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy