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

christophedetroyer.torrent.TorrentFile Maven / Gradle / Ivy

package christophedetroyer.torrent;

import java.util.List;

public class TorrentFile
{
    private final Long fileLength;
    private final List fileDirs;

    public TorrentFile(Long fileLength, List fileDirs)
    {
        this.fileLength = fileLength;
        this.fileDirs = fileDirs;
    }

    @Override
    public String toString()
    {
        return "TorrentFile{" +
                "fileLength=" + fileLength +
                ", fileDirs=" + fileDirs +
                '}';
    }

    ////////////////////////////////////////////////////////////////////////////
    //// GETTERS AND SETTERS ///////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////
    public Long getFileLength()
    {
        return fileLength;
    }

    public List getFileDirs()
    {
        return fileDirs;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy