Class PieceMapperImpl.fileInfo
java.lang.Object
com.biglybt.core.disk.impl.piecemapper.impl.PieceMapperImpl.fileInfo
- All Implemented Interfaces:
DMPieceMapperFile
- Enclosing class:
PieceMapperImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DiskManagerFileInfoprivate final StringInterner.FileKeyprivate final TOTorrentFile -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
file
-
torrent_file
-
fk
-
-
Constructor Details
-
fileInfo
- Parameters:
_relative_path- Blank or Relative Path with trailing File.separator
-
-
Method Details
-
getLength
public long getLength()- Specified by:
getLengthin interfaceDMPieceMapperFile
-
getRelativeDataPath
- Specified by:
getRelativeDataPathin interfaceDMPieceMapperFile- Returns:
- Relative file location and file name
-
getTorrentFile
- Specified by:
getTorrentFilein interfaceDMPieceMapperFile
-
getFileInfo
- Specified by:
getFileInfoin interfaceDMPieceMapperFile
-
setFileInfo
- Specified by:
setFileInfoin interfaceDMPieceMapperFile
-