java.lang.Object
java.net.URLStreamHandler
org.codelibs.jcifs.smb.impl.Handler
URL handler for transparent smb:// URL handling
-
Constructor Summary
ConstructorsConstructorDescriptionHandler()Default constructor for SMB URL handler.Handler(CIFSContext tc) Constructs an SMB URL handler with the specified CIFS context. -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected voidMethods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()Default constructor for SMB URL handler. -
Handler
Constructs an SMB URL handler with the specified CIFS context.- Parameters:
tc- the CIFS context to use
-
-
Method Details
-
getDefaultPort
protected int getDefaultPort()- Overrides:
getDefaultPortin classURLStreamHandler
-
openConnection
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
parseURL
- Overrides:
parseURLin classURLStreamHandler
-