public class MagnetURI extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MAGGOT
http://sponge.i2p/files/maggotspec.txt
|
static String |
MAGNET
BEP 9
|
static String |
MAGNET_FULL |
static String |
MAGNET_FULL_V2
https://blog.libtorrent.org/2020/09/bittorrent-v2/ TODO, dup param parsing, as a dual v1/v2
link will contain two xt params
|
| Constructor and Description |
|---|
MagnetURI(I2PSnarkUtil util,
String url) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getInfoHash() |
String |
getName() |
String |
getTrackerURL() |
List<String> |
getTrackerURLs() |
public static final String MAGGOT
public static final String MAGNET
public static final String MAGNET_FULL
public static final String MAGNET_FULL_V2
public MagnetURI(I2PSnarkUtil util, String url) throws IllegalArgumentException
url - non-nullIllegalArgumentException