public final class JarRelocator extends Object
| Constructor and Description |
|---|
JarRelocator(File input,
File output,
Collection<Relocation> relocations)
Creates a new instance with the given settings.
|
JarRelocator(File input,
File output,
Map<String,String> relocations)
Creates a new instance with the given settings.
|
public JarRelocator(File input, File output, Collection<Relocation> relocations)
input - the input jar fileoutput - the output jar filerelocations - the relocationspublic void run()
throws IOException
IOException - if an exception is encountered whilst performing i/o
with the input or output fileCopyright © 2019. All rights reserved.