36 lines
804 B
Java
36 lines
804 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.file;
|
|
|
|
import java.io.OutputStream;
|
|
import javax.baja.naming.OrdTarget;
|
|
|
|
public abstract class ExportOp
|
|
extends OrdTarget {
|
|
public static ExportOp make(OrdTarget ordTarget, OutputStream outputStream) throws Exception {
|
|
return new BasicExportOp(ordTarget, outputStream);
|
|
}
|
|
|
|
public abstract OutputStream getOutputStream();
|
|
|
|
protected ExportOp(OrdTarget ordTarget) {
|
|
super(ordTarget);
|
|
}
|
|
|
|
static class BasicExportOp
|
|
extends ExportOp {
|
|
OutputStream out;
|
|
|
|
public OutputStream getOutputStream() {
|
|
return this.out;
|
|
}
|
|
|
|
BasicExportOp(OrdTarget ordTarget, OutputStream outputStream) {
|
|
super(ordTarget);
|
|
this.out = outputStream;
|
|
}
|
|
}
|
|
}
|
|
|