FileDocCategorySizeDatePackage
Handler.javaAPI DocExample1728Sun Jul 13 23:42:00 BST 1997exploringjava.protocolhandlers.crypt

Handler

public class Handler extends URLStreamHandler

Fields Summary
Constructors Summary
Methods Summary
protected java.net.URLConnectionopenConnection(java.net.URL url)

		String crypType = url.getProtocol().substring(6);
		return new CryptURLConnection( url, crypType );
	
protected voidparseURL(java.net.URL url, java.lang.String spec, int start, int limit)

		int slash = spec.indexOf('/");
		String crypType = spec.substring(start, slash-1);
		super.parseURL(url, spec, slash, limit);
		setURL( url, "crypt:"+crypType, 
			url.getHost(), url.getPort(), url.getFile(), url.getRef() );