com.softicar.platform.common.io.writer.ManagedPrintWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.io.writer;
/**
* Default implementation of {@link IManagedPrintWriter}.
*
* @author Oliver Richers
*/
public class ManagedPrintWriter extends ManagedWriter implements IManagedPrintWriter {
private final String lineSeparator;
public ManagedPrintWriter(Appendable appendable, String lineSeparator) {
super(appendable);
this.lineSeparator = lineSeparator;
}
@Override
public String getLineSeparator() {
return lineSeparator;
}
}