package com.muwire.core;

import java.io.File;
import java.io.IOException;
import java.util.Set;

import net.i2p.data.Destination;

public class DownloadedFile extends SharedFile {

    private final Set<Destination> sources;

    public DownloadedFile(File file, byte[] root, int pieceSize, Set<Destination> sources)
    throws IOException {
        super(file, root, pieceSize);
        this.sources = sources;
    }

    public Set<Destination> getSources() {
        return sources;
    }

}
