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

ngmf.util.SimpleDirectoryOutput Maven / Gradle / Ivy

There is a newer version: 0.8.1
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ngmf.util;

import java.io.File;

/**
 *
 * @author od
 */
public class SimpleDirectoryOutput extends OutputStragegy {

    String name = "out";

    public SimpleDirectoryOutput(File base, String simName) {
        super(new File(base, simName));
    }

    @Override
    public File nextOutputFolder() {
        return new File(basedir, name);
    }

    @Override
    public File lastOutputFolder() {
         return new File(basedir, name);
    }

    @Override
    public File firstOutputFolder() {
         return new File(basedir, name);
    }

    @Override
    public File previousOutputFolder() {
         return new File(basedir, name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy