All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.h2o.mojos.runtime.readers.MojofileMojoReaderBackend Maven / Gradle / Ivy

There is a newer version: 2.8.7.1
Show newest version
package ai.h2o.mojos.runtime.readers;

import ai.h2o.mojos.runtime.api.backend.ZipFileReaderBackend;
import java.io.File;
import java.io.IOException;

/**
 * The backend serves MOJO content from a ZIP file.
 *
 * @deprecated use {@link ZipFileReaderBackend} instead
 */
@Deprecated
public class MojofileMojoReaderBackend extends MojoReaderBackend {

    public MojofileMojoReaderBackend(String archivename) throws IOException {
        this(archivename, null);
    }

    public MojofileMojoReaderBackend(String archivename, String baseDir) throws IOException {
        this(archivename, baseDir, null);
    }

    public MojofileMojoReaderBackend(String archivename, String baseDir, String pipelineFileName) throws IOException {
        super(ZipFileReaderBackend.open(new File(archivename)), baseDir, "/", pipelineFileName);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy