|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.net.URLConnection | +--jcifs.smb.SmbURLConnection
This class represents a communications link between an application and
an SMB resource represented by a URL
. This class is
returned by the java.net.URL openConnection method when an smb URL is
used. See the SmbFile
class for a detailed decription of
the smb URL syntax with examples.
In general this class is deficient. Adding more functionality is
strait forward. If you require more functionality please express your
intrest to the jcifs@samba.org mailing list.
Fields inherited from class java.net.URLConnection |
allowUserInteraction,
connected,
doInput,
doOutput,
ifModifiedSince,
url,
useCaches |
Method Summary | |
void |
connect()
Issue the actual socket IO necesary to open a connection with the server hosting the target resource. |
int |
getContentLength()
Return the length in bytes of the resource specified by the URL. |
long |
getDate()
Retrieves the last modified time of the file or directory specified by the URL for this connection. |
InputStream |
getInputStream()
Create an InputStream from which bytes may be read from
the taget specified by the URL of this connection. |
long |
getLastModified()
Retrieves the last modified time of the file or directory specified by the URL for this connection. |
String |
toString()
Return a String representing this object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public void connect() throws IOException
public int getContentLength()
public long getDate()
public long getLastModified()
public InputStream getInputStream() throws IOException
InputStream
from which bytes may be read from
the taget specified by the URL of this connection.public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |