

import java.io.OutputStream;
import java.io.InputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
/* Jdl */
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.time.Instant;//Timestamp in cut-filename

public interface Cutout
{

   public void doStream(String relPathname, int hdunum, Pos pos, Band band, Time time, Pol pol,
        OutputStream outputStream) throws IOException, InterruptedException;


   public CutResult doFile(String relPathname, int hdunum, Pos pos, Band band, Time time, Pol pol,
         boolean countNullValues, FitsCard[] extraCards)
         throws IOException, InterruptedException;
;

}

