public class TorrentFileInfo extends Object implements IMetadataProperty
Represents shared file info.
Modifier and Type | Method and Description |
---|---|
String |
getFormattedValue()
Gets the formatted value.
|
long |
getLength()
Gets the length of the file in bytes.
|
String |
getName()
Gets the full name of the file (relative path to the file from root torrent folder).
|
void |
setName(String value)
Sets the full name of the file (relative path to the file from root torrent folder).
|
String |
toString()
Returns a
System.String that represents this instance. |
public final String getName()
Gets the full name of the file (relative path to the file from root torrent folder).
getName
in interface IMetadataProperty
public final void setName(String value)
Sets the full name of the file (relative path to the file from root torrent folder).
setName
in interface IMetadataProperty
value
- The full name of the file (relative path to the file from root torrent folder).public final long getLength()
Gets the length of the file in bytes.
public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
Copyright © 2018. All rights reserved.