views:

74

answers:

1

Is there a way to detect if a link like the following examples has signal with a Java method ? If you cut and paste them into your browser's url field, you'll see the first one has signal but the 2nd has none, so if I have a Java method like this, how to detect the signals ?

boolean hasSignal(String Link)  // Link = "mms://online.ntdtvcast.com/Stream-Live"
{
 ... ??? ...
}

mms://online.ntdtvcast.com/Stream-Live

mms://mms2.online2.sh.cn/normal2_1/xuanchuan/lasaer.wmv

Frank

A: 

Did you read this? Maybe it will help.

Trick
The link is of type mms, not http, any sample code ?
Frank
Sorry no. Start with implementing URL interface (I guess).
Trick