FileDocCategorySizeDatePackage
Handler.javaAPI DocAzureus 3.0.3.41409Mon Feb 07 05:28:38 GMT 2005org.gudy.azureus2.core3.util.protocol.dht

Handler

public class Handler extends URLStreamHandler
author
parg

Fields Summary
Constructors Summary
Methods Summary
public java.net.URLConnectionopenConnection(java.net.URL u)

	
		String	str = u.toString();
		
		str = "http" + str.substring( 3 );
		
		try{
			return( new URL(str).openConnection());
			
		}catch( MalformedURLException e ){
			
			Debug.printStackTrace(e);
			
			return( null );
			
		}catch( IOException  e ){
			
			Debug.printStackTrace(e);
			
			return( null );
		}