Frames | No Frames |
Classes derived from jcifs.smb.SmbException | |
class | |
class | The SmbAuthException encapsulates the variety of
authentication related error codes returned by an SMB server. |
Constructors which throw type jcifs.smb.SmbException | |
Construct a SID from it's textual representation such as
S-1-5-21-1496946806-2192648263-3843101252-1029. | |
SmbFileInputStream.SmbFileInputStream(String url) Creates an java.io.InputStream for reading bytes from a file on
an SMB server addressed by the url parameter. | |
Creates an java.io.InputStream for reading bytes from a file on
an SMB server represented by the SmbFile parameter. | |
SmbFileOutputStream.SmbFileOutputStream(String url) Creates an java.io.OutputStream for writing to a file
on an SMB server addressed by the URL parameter. | |
SmbFileOutputStream.SmbFileOutputStream(String url, boolean append) Creates an java.io.OutputStream for writing bytes to a file on an
SMB server addressed by the URL parameter. | |
SmbFileOutputStream.SmbFileOutputStream(String url, int shareAccess) Creates an java.io.OutputStream for writing bytes to a file
on an SMB server addressed by the SmbFile parameter. | |
Creates an java.io.OutputStream for writing bytes to a file on
an SMB server represented by the SmbFile parameter. | |
Creates an java.io.OutputStream for writing bytes to a file
on an SMB server addressed by the SmbFile parameter. | |
SmbRandomAccessFile.SmbRandomAccessFile(String url, String mode, int shareAccess) | |
Methods with parameter type jcifs.smb.SmbException | |
IOException |
Methods which throw type jcifs.smb.SmbException | |
boolean | |
boolean | |
boolean | |
boolean | Tests to see if the file this SmbFile represents can be
read. |
boolean | Tests to see if the file this SmbFile represents
exists and is not marked read-only. |
void | |
void | |
void | This method will copy the file or directory represented by this
SmbFile and it's sub-contents to the location specified by the
dest parameter. |
void | Create a new file but fail if it already exists. |
long | Retrieve the time this SmbFile was created. |
void | This method will delete the file or directory specified by this
SmbFile . |
boolean | Tests to see if the SMB resource exists. |
int | Return the attributes of this file. |
byte[] | |
byte[] | |
NtlmChallenge | |
String | If the path of this SmbFile falls within a DFS volume,
this method will return the referral path to which it maps. |
long | This method returns the free disk space in bytes of the drive this share
represents or the drive on which the directory or file resides. |
long | |
int | Returns type of of object this SmbFile represents. |
boolean | Tests to see if the file this SmbFile represents is a directory. |
boolean | Tests to see if the file this SmbFile represents is not a directory. |
boolean | Tests to see if the file this SmbFile represents is marked as
hidden. |
long | Retrieve the last time the file represented by this
SmbFile was modified. |
long | Returns the length of this SmbFile in bytes. |
long | |
String[] | List the contents of this SMB resource. |
String[] | List the contents of this SMB resource. |
SmbFile[] | List the contents of this SMB resource as an array of
SmbFile objects. |
SmbFile[] | The CIFS protocol provides for DOS "wildcards" to be used as
a performance enhancement. |
SmbFile[] | List the contents of this SMB resource. |
SmbFile[] | List the contents of this SMB resource. |
void | |
void | Authenticate arbitrary credentials represented by the
NtlmPasswordAuthentication object against the domain controller
specified by the UniAddress parameter. |
void | Creates a directory with the path specified by this
SmbFile . |
void | Creates a directory with the path specified by this SmbFile
and any parent directories that do not exist. |
int | |
int | SmbRandomAccessFile.read(b[] ) |
int | SmbRandomAccessFile.read(b[] , int off, int len) |
boolean | |
byte | |
char | |
double | |
float | |
void | SmbRandomAccessFile.readFully(b[] ) |
void | SmbRandomAccessFile.readFully(b[] , int off, int len) |
int | |
String | |
long | |
short | |
String | |
int | |
int | |
void | Changes the name of the file this SmbFile represents to the name
designated by the SmbFile argument. |
void | SmbRandomAccessFile.seek(long pos) |
void | SmbFile.setAttributes(int attrs) Set the attributes of this file. |
void | SmbFile.setCreateTime(long time) Set the create time of the file. |
void | SmbFile.setLastModified(long time) Set the last modified time of the file. |
void | SmbRandomAccessFile.setLength(long newLength) |
void | Make this file read-only. |
void | Turn off the read-only attribute of this file. |
int | SmbRandomAccessFile.skipBytes(int n) |
void | SmbRandomAccessFile.write(b[] ) |
void | SmbRandomAccessFile.write(b[] , int off, int len) |
void | SmbRandomAccessFile.write(int b) |
void | SmbRandomAccessFile.writeBoolean(boolean v) |
void | SmbRandomAccessFile.writeByte(int v) |
void | SmbRandomAccessFile.writeBytes(String s) |
void | SmbRandomAccessFile.writeChar(int v) |
void | SmbRandomAccessFile.writeChars(String s) |
void | SmbRandomAccessFile.writeDouble(double v) |
void | SmbRandomAccessFile.writeFloat(float v) |
void | SmbRandomAccessFile.writeInt(int v) |
void | SmbRandomAccessFile.writeLong(long v) |
void | SmbRandomAccessFile.writeShort(int v) |
void | SmbRandomAccessFile.writeUTF(String str) |