org.zeroturnaround.jrebel.gradle.RebelRemoteWriter Maven / Gradle / Ivy
package org.zeroturnaround.jrebel.gradle;
import java.io.IOException;
import java.io.Writer;
import org.zeroturnaround.jrebel.gradle.util.SystemUtils;
public class RebelRemoteWriter {
public RebelRemoteWriter(String remoteId) {
this.remoteId = remoteId;
}
private final String remoteId;
public void writeXml(Writer writer) throws IOException {
writer.write("" +
"\n" +
"\n" +
" " + SystemUtils.ensurePathAndURLSafeName(remoteId) + " \n" +
" "
);
}
}