class BreakpointLocalCheck {

    public boolean isOutputStreamSupportResume() {
        final boolean supportSeek = OkDownload.with().outputStreamFactory().supportSeek();
        if (supportSeek) return true;

        if (info.getBlockCount() != 1) return false;
        if (OkDownload.with().processFileStrategy().isPreAllocateLength(task)) return false;

        return true;
    }

    public  BreakpointLocalCheck(@NonNull DownloadTask task, @NonNull BreakpointInfo info,
                                long responseInstanceLength);

}