Uses of Class
jcifs.smb.SmbException
Packages that use SmbException
-
Uses of SmbException in jcifs.smb
Subclasses of SmbException in jcifs.smbModifier and TypeClassDescriptionclass
TheSmbAuthException
encapsulates the variety of authentication related error codes returned by an SMB server.Methods in jcifs.smb with parameters of type SmbExceptionModifier and TypeMethodDescriptionprotected IOException
SmbFileInputStream.seToIoe
(SmbException se) Methods in jcifs.smb that throw SmbExceptionModifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
SmbFile.canRead()
Tests to see if the file thisSmbFile
represents can be read.boolean
SmbFile.canWrite()
Tests to see if the file thisSmbFile
represents exists and is not marked read-only.void
SmbRandomAccessFile.close()
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
SmbFile.createNewFile()
Create a new file but fail if it already exists.long
SmbFile.createTime()
Retrieve the time thisSmbFile
was created.void
SmbFile.delete()
This method will delete the file or directory specified by thisSmbFile
.boolean
SmbFile.exists()
Tests to see if the SMB resource exists.int
SmbFile.getAttributes()
Return the attributes of this file.SmbFile.getDfsPath()
If the path of thisSmbFile
falls within a DFS volume, this method will return the referral path to which it maps.long
SmbFile.getDiskFreeSpace()
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
SmbRandomAccessFile.getFilePointer()
byte[]
NtlmPasswordAuthentication.getSigningKey
(byte[] challenge) int
SmbFile.getType()
Returns type of of object this SmbFile represents.byte[]
NtlmContext.initSecContext
(byte[] token, int offset, int len) boolean
SmbFile.isDirectory()
Tests to see if the file thisSmbFile
represents is a directory.boolean
SmbFile.isFile()
Tests to see if the file thisSmbFile
represents is not a directory.boolean
SmbFile.isHidden()
Tests to see if the file this SmbFile represents is marked as hidden.long
SmbFile.lastModified()
Retrieve the last time the file represented by thisSmbFile
was modified.long
SmbFile.length()
Returns the length of this SmbFile in bytes.long
SmbRandomAccessFile.length()
String[]
SmbFile.list()
List the contents of this SMB resource.String[]
SmbFile.list
(SmbFilenameFilter filter) List the contents of this SMB resource.SmbFile[]
SmbFile.listFiles()
List the contents of this SMB resource as an array ofSmbFile
objects.SmbFile[]
The CIFS protocol provides for DOS "wildcards" to be used as a performance enhancement.SmbFile[]
SmbFile.listFiles
(SmbFileFilter filter) List the contents of this SMB resource.SmbFile[]
SmbFile.listFiles
(SmbFilenameFilter filter) List the contents of this SMB resource.void
SmbFile.mkdir()
Creates a directory with the path specified by thisSmbFile
.void
SmbFile.mkdirs()
Creates a directory with the path specified by this SmbFile and any parent directories that do not exist.int
SmbRandomAccessFile.read()
int
SmbRandomAccessFile.read
(byte[] b) int
SmbRandomAccessFile.read
(byte[] b, int off, int len) final boolean
SmbRandomAccessFile.readBoolean()
final byte
SmbRandomAccessFile.readByte()
final char
SmbRandomAccessFile.readChar()
final double
SmbRandomAccessFile.readDouble()
final float
SmbRandomAccessFile.readFloat()
final void
SmbRandomAccessFile.readFully
(byte[] b) final void
SmbRandomAccessFile.readFully
(byte[] b, int off, int len) final int
SmbRandomAccessFile.readInt()
final String
SmbRandomAccessFile.readLine()
final long
SmbRandomAccessFile.readLong()
final short
SmbRandomAccessFile.readShort()
final int
SmbRandomAccessFile.readUnsignedByte()
final int
SmbRandomAccessFile.readUnsignedShort()
final String
SmbRandomAccessFile.readUTF()
void
Changes the name of the file thisSmbFile
represents to the name designated by theSmbFile
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
SmbFile.setReadOnly()
Make this file read-only.void
SmbFile.setReadWrite()
Turn off the read-only attribute of this file.int
SmbRandomAccessFile.skipBytes
(int n) void
SmbRandomAccessFile.write
(byte[] b) void
SmbRandomAccessFile.write
(byte[] b, int off, int len) void
SmbRandomAccessFile.write
(int b) final void
SmbRandomAccessFile.writeBoolean
(boolean v) final void
SmbRandomAccessFile.writeByte
(int v) final void
SmbRandomAccessFile.writeBytes
(String s) final void
SmbRandomAccessFile.writeChar
(int v) final void
SmbRandomAccessFile.writeChars
(String s) final void
SmbRandomAccessFile.writeDouble
(double v) final void
SmbRandomAccessFile.writeFloat
(float v) final void
SmbRandomAccessFile.writeInt
(int v) final void
SmbRandomAccessFile.writeLong
(long v) final void
SmbRandomAccessFile.writeShort
(int v) final void
Constructors in jcifs.smb that throw SmbExceptionModifierConstructorDescriptionConstruct a SID from it's textual representation such as S-1-5-21-1496946806-2192648263-3843101252-1029.SmbFileInputStream
(String url) Creates anInputStream
for reading bytes from a file on an SMB server addressed by theurl
parameter.SmbFileInputStream
(SmbFile file) Creates anInputStream
for reading bytes from a file on an SMB server represented by theSmbFile
parameter.Creates anOutputStream
for writing to a file on an SMB server addressed by the URL parameter.SmbFileOutputStream
(String url, boolean append) Creates anOutputStream
for writing bytes to a file on an SMB server addressed by the URL parameter.SmbFileOutputStream
(String url, int shareAccess) Creates anOutputStream
for writing bytes to a file on an SMB server addressed by theSmbFile
parameter.SmbFileOutputStream
(SmbFile file) Creates anOutputStream
for writing bytes to a file on an SMB server represented by theSmbFile
parameter.SmbFileOutputStream
(SmbFile file, boolean append) Creates anOutputStream
for writing bytes to a file on an SMB server addressed by theSmbFile
parameter.SmbRandomAccessFile
(String url, String mode, int shareAccess) SmbRandomAccessFile
(SmbFile file, String mode)