first commit

This commit is contained in:
MaddoScientisto 2026-03-14 20:04:39 +01:00
commit 4d332ef662
27586 changed files with 3281783 additions and 0 deletions

View file

@ -0,0 +1,29 @@
package javax.activation;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
class DataHandlerDataSource implements DataSource {
DataHandler dataHandler = null;
public DataHandlerDataSource(DataHandler paramDataHandler) {
this.dataHandler = paramDataHandler;
}
public InputStream getInputStream() throws IOException {
return this.dataHandler.getInputStream();
}
public OutputStream getOutputStream() throws IOException {
return this.dataHandler.getOutputStream();
}
public String getContentType() {
return this.dataHandler.getContentType();
}
public String getName() {
return this.dataHandler.getName();
}
}