
net.java.html.lib.node.NodeJS.WritableStream Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.NodeJS;
public class WritableStream extends net.java.html.lib.node.NodeJS.EventEmitter {
protected WritableStream(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(WritableStream.class);
}
@Override
public WritableStream create(java.lang.Object obj) {
return obj == null ? null : new WritableStream(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static WritableStream $as(java.lang.Object obj) {
return $AS.create(obj);
}
public net.java.html.lib.Objs.Property writable = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "writable");
public java.lang.Boolean writable() { return writable.get(); }
public void end() {
$Typings$.end$61($js(this));
}
public void end(java.lang.String str, java.lang.String encoding, net.java.html.lib.Function cb) {
$Typings$.end$62($js(this), str, encoding, /* FirstTypeNode*/$js(cb));
}
public void end(java.lang.String str) {
$Typings$.end$63($js(this), str);
}
public void end(java.lang.String str, java.lang.String encoding) {
$Typings$.end$64($js(this), str, encoding);
}
public void end(java.lang.String str, net.java.html.lib.Function cb) {
$Typings$.end$65($js(this), str, /* FirstTypeNode*/$js(cb));
}
// skipping MethodKey{name={"kind":"Identifier","text":"end","right":[]}, parameters=[java.lang.String]}
public void end(net.java.html.lib.node.Buffer buffer, net.java.html.lib.Function cb) {
$Typings$.end$67($js(this), /* FirstTypeNode*/$js(buffer), /* FirstTypeNode*/$js(cb));
}
public void end(net.java.html.lib.node.Buffer buffer) {
$Typings$.end$68($js(this), /* FirstTypeNode*/$js(buffer));
}
public java.lang.Boolean write(java.lang.String str, java.lang.String encoding, net.java.html.lib.Function cb) {
return $Typings$.write$69($js(this), str, encoding, /* FirstTypeNode*/$js(cb));
}
public java.lang.Boolean write(java.lang.String str) {
return $Typings$.write$70($js(this), str);
}
public java.lang.Boolean write(java.lang.String str, java.lang.String encoding) {
return $Typings$.write$71($js(this), str, encoding);
}
public java.lang.Boolean write(net.java.html.lib.node.Buffer buffer, net.java.html.lib.Function cb) {
return $Typings$.write$72($js(this), /* UnionType*/$js(buffer), /* FirstTypeNode*/$js(cb));
}
public java.lang.Boolean write(java.lang.String buffer, net.java.html.lib.Function cb) {
return $Typings$.write$72($js(this), /* UnionType*/$js(buffer), /* FirstTypeNode*/$js(cb));
}
public java.lang.Boolean write(net.java.html.lib.node.Buffer buffer) {
return $Typings$.write$73($js(this), /* UnionType*/$js(buffer));
}
// skipping MethodKey{name={"kind":"Identifier","text":"write","right":[]}, parameters=[java.lang.String]}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy