TorrentSharedFilePackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public class TorrentSharedFilePackage extends CustomPackage

Represents shared file information. Contains detailed info about each file in a torrent distribution.

Learn more

Methods

Method Description
getName() Gets the full name of the file (relative path to the file from the root torrent folder).
getLength() Gets the length of the file in bytes.

getName()

public final String getName()

Gets the full name of the file (relative path to the file from the root torrent folder).

Returns: java.lang.String - The full name of the file (relative path to the file from the root torrent folder).

getLength()

public final long getLength()

Gets the length of the file in bytes.

Returns: long - The length of the file in bytes.