
com.harium.suneidesis.chat.output.BaseOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Project to represent knowledge
The newest version!
package com.harium.suneidesis.chat.output;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
public abstract class BaseOutput implements Output {
@Override
public void print(String sentence) {
print(sentence, null);
}
@Override
public void produceFile(String path, String description) throws IOException {
byte[] content = Files.readAllBytes(Paths.get(path));
produceFile(content, description);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy