Package jcifs.smb
Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- jcifs.smb.Handler
-
public class Handler extends URLStreamHandler
URL handler for transparent smb:// URL handling
-
-
Constructor Summary
Constructors Constructor Description Handler()Handler(CIFSContext tc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetDefaultPort()URLConnectionopenConnection(URL u)protected voidparseURL(URL u, String spec, int start, int limit)-
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Constructor Detail
-
Handler
public Handler()
-
Handler
public Handler(CIFSContext tc)
- Parameters:
tc-
-
-
Method Detail
-
getDefaultPort
protected int getDefaultPort()
- Overrides:
getDefaultPortin classURLStreamHandler
-
openConnection
public URLConnection openConnection(URL u) throws IOException
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
parseURL
protected void parseURL(URL u, String spec, int start, int limit)
- Overrides:
parseURLin classURLStreamHandler
-
-