![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.svek.NamedOutputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.svek;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import net.sourceforge.plantuml.security.SFile;
public class NamedOutputStream extends OutputStream {
// ::remove file when __CORE__
private final OutputStream os;
private final BaseFile basefile;
public NamedOutputStream(SFile file) throws FileNotFoundException {
this.os = file.createBufferedOutputStream();
this.basefile = new BaseFile(file);
}
public void close() throws IOException {
os.close();
}
public void flush() throws IOException {
os.flush();
}
public void write(byte[] b) throws IOException {
os.write(b);
}
public void write(byte[] b, int off, int len) throws IOException {
os.write(b, off, len);
}
public void write(int b) throws IOException {
os.write(b);
}
public BaseFile getBasefile() {
return basefile;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy