org.gudy.azureus2.core3.disk.impl.piecemapper.impl
Class PieceMapperImpl
java.lang.Object
org.gudy.azureus2.core3.disk.impl.piecemapper.impl.PieceMapperImpl
- All Implemented Interfaces:
- DMPieceMapper
public class PieceMapperImpl
- extends Object
- implements DMPieceMapper
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
btFileList
protected final ArrayList<PieceMapperImpl.fileInfo> btFileList
PieceMapperImpl
public PieceMapperImpl(TOTorrent _torrent)
construct
public void construct(LocaleUtilDecoder _locale_decoder,
String _save_name)
throws UnsupportedEncodingException
- Specified by:
construct
in interface DMPieceMapper
- Throws:
UnsupportedEncodingException
getPieceMap
public DMPieceMap getPieceMap()
- Specified by:
getPieceMap
in interface DMPieceMapper
getTotalLength
public long getTotalLength()
- Specified by:
getTotalLength
in interface DMPieceMapper
getPieceLength
public int getPieceLength()
- Specified by:
getPieceLength
in interface DMPieceMapper
getLastPieceLength
public int getLastPieceLength()
- Specified by:
getLastPieceLength
in interface DMPieceMapper
getFiles
public DMPieceMapperFile[] getFiles()
- Specified by:
getFiles
in interface DMPieceMapper