Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.net.protocol.file
Class Handler  view Handler download Handler.java

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended bygnu.java.net.protocol.file.Handler

public class Handler
extends java.net.URLStreamHandler

This is the protocol handler for the "file" protocol. It implements the abstract openConnection() method from URLStreamHandler by returning a new FileURLConnection object (from this package). All other methods are inherited


Constructor Summary
Handler()
          A do nothing constructor
 
Method Summary
protected  java.net.URLConnection openConnection(java.net.URL url)
          This method returs a new FileURLConnection for the specified URL
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()
A do nothing constructor

Method Detail

openConnection

protected java.net.URLConnection openConnection(java.net.URL url)
                                         throws java.io.IOException
This method returs a new FileURLConnection for the specified URL