Uses of Class
org.codelibs.jcifs.smb1.SmbException

Packages that use SmbException
Package
Description
 
  • Uses of SmbException in org.codelibs.jcifs.smb1

    Modifier and Type
    Class
    Description
    class 
    Represents a DFS (Distributed File System) referral in SMB1 protocol.
    class 
    The SmbAuthException encapsulates the variety of authentication related error codes returned by an SMB server.
    Methods in org.codelibs.jcifs.smb1 with parameters of type SmbException
    Modifier and Type
    Method
    Description
    protected IOException
    SmbFileInputStream.seToIoe(SmbException se)
    Converts an SmbException to an IOException.
    Modifier and Type
    Method
    Description
    boolean
    DosFileFilter.accept(SmbFile file)
     
    boolean
    SmbFileFilter.accept(SmbFile file)
    Tests whether the specified SMB file should be included in a file list.
    boolean
    SmbFilenameFilter.accept(SmbFile dir, String name)
    Tests whether the specified filename should be included in a file list.
    boolean
    SmbFile.canRead()
    Tests to see if the file this SmbFile represents can be read.
    boolean
    SmbFile.canWrite()
    Tests to see if the file this SmbFile represents exists and is not marked read-only.
    void
    SmbRandomAccessFile.close()
    Closes the file and releases any system resources associated with it.
    void
    SmbTransport.connect()
    Establishes a connection to the SMB server.
    void
    SmbFile.copyTo(SmbFile dest)
    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 this SmbFile was created.
    void
    SmbFile.delete()
    This method will delete the file or directory specified by this SmbFile.
    boolean
    SmbFile.exists()
    Tests to see if the SMB resource exists.
    int
    SmbFile.getAttributes()
    Return the attributes of this file.
    static byte[]
    SmbSession.getChallenge(UniAddress dc)
    Retrieves the NTLM challenge from the specified domain controller.
    static byte[]
    SmbSession.getChallenge(UniAddress dc, int port)
    Retrieves the NTLM challenge from the specified domain controller using the specified port.
    Retrieves an NTLM challenge from a domain controller for the configured domain.
    SmbFile.getDfsPath()
    Returns the DFS path for this file if it resides in a DFS share
    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
    SmbRandomAccessFile.getFilePointer()
    Returns the current position of the file pointer.
    byte[]
    NtlmPasswordAuthentication.getSigningKey(byte[] challenge)
    Returns the signing key for SMB signing.
    int
    SmbFile.getType()
    Returns type of of object this SmbFile represents.
    byte[]
    NtlmContext.initSecContext(byte[] token, int offset, int len)
    Initializes the security context with the given token.
    boolean
    SmbFile.isDirectory()
    Tests to see if the file this SmbFile represents is a directory.
    boolean
    SmbFile.isFile()
    Tests to see if the file this SmbFile 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 this SmbFile was modified.
    long
    SmbFile.length()
    Returns the length of this SmbFile in bytes.
    long
    SmbRandomAccessFile.length()
    Returns the length of the file.
    SmbFile.list()
    List the contents of this SMB resource.
    SmbFile.list(SmbFilenameFilter filter)
    List the contents of this SMB resource.
    SmbFile.listFiles()
    List the contents of this SMB resource as an array of SmbFile objects.
    SmbFile.listFiles(String wildcard)
    The CIFS protocol provides for DOS "wildcards" to be used as a performance enhancement.
    SmbFile.listFiles(SmbFileFilter filter)
    List the contents of this SMB resource.
    SmbFile.listFiles(SmbFilenameFilter filter)
    List the contents of this SMB resource.
    static void
    SmbSession.logon(UniAddress dc, int port, NtlmPasswordAuthentication auth)
    Authenticate arbitrary credentials against the specified domain controller using the specified port.
    static void
    Authenticate arbitrary credentials represented by the NtlmPasswordAuthentication object against the domain controller specified by the UniAddress parameter.
    void
    SmbFile.mkdir()
    Creates a directory with the path specified by this SmbFile.
    void
    SmbFile.mkdirs()
    Creates a directory with the path specified by this SmbFile and any parent directories that do not exist.
    int
    SmbRandomAccessFile.read()
    Reads a single byte from the file at the current file pointer position.
    int
    SmbRandomAccessFile.read(byte[] b)
    Reads bytes from the file into the specified byte array.
    int
    SmbRandomAccessFile.read(byte[] b, int off, int len)
    Reads up to len bytes from the file into the specified byte array.
    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
    SmbFile.renameTo(SmbFile dest)
    Changes the name of the file this SmbFile represents to the name designated by the SmbFile argument.
    void
    SmbRandomAccessFile.seek(long pos)
    Sets the file pointer to the specified position.
    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)
    Sets the length of the file.
    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
    SmbRandomAccessFile.writeUTF(String str)
     
    Constructors in org.codelibs.jcifs.smb1 that throw SmbException
    Modifier
    Constructor
    Description
     
    SID(String textual)
    Construct a SID from it's textual representation such as S-1-5-21-1496946806-2192648263-3843101252-1029.
     
    SigningDigest(byte[] macSigningKey, boolean bypass)
    Constructs a new signing digest with the specified MAC signing key.
     
    Constructs a new signing digest using transport and authentication credentials.
     
    Creates an input stream for reading from the specified SMB URL
     
    Creates an InputStream for reading bytes from a file on an SMB server represented by the SmbFile parameter.
     
    Creates an OutputStream for writing to a file on an SMB server addressed by the URL parameter.
     
    SmbFileOutputStream(String url, boolean append)
    Creates an OutputStream for writing bytes to a file on an SMB server addressed by the URL parameter.
     
    SmbFileOutputStream(String url, int shareAccess)
    Creates an OutputStream for writing bytes to a file on an SMB server addressed by the SmbFile parameter.
     
    Creates an OutputStream for writing bytes to a file on an SMB server represented by the SmbFile parameter.
     
    SmbFileOutputStream(SmbFile file, boolean append)
    Creates an OutputStream for writing bytes to a file on an SMB server addressed by the SmbFile parameter.
     
    SmbRandomAccessFile(String url, String mode, int shareAccess)
    Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags.
     
    Constructs an SmbRandomAccessFile from an existing SmbFile with the specified access mode.