Package jcifs

Interface SmbTreeHandle

    • Method Detail

      • getConfig

        Configuration getConfig()
        Returns:
        the active configuration
      • isConnected

        boolean isConnected()
        Returns:
        the tree is connected
      • getServerTimeZoneOffset

        long getServerTimeZoneOffset()
                              throws CIFSException
        Returns:
        server timezone offset
        Throws:
        CIFSException
      • getConnectedShare

        String getConnectedShare()
        Returns:
        the share we are connected to
      • isSameTree

        boolean isSameTree​(SmbTreeHandle th)
        Parameters:
        th -
        Returns:
        whether the handles refer to the same tree
      • isSMB2

        boolean isSMB2()
        Returns:
        whether this tree handle uses SMB2+
      • getRemoteHostName

        String getRemoteHostName()
        Returns:
        the remote host name
      • getTreeType

        int getTreeType()
        Returns:
        the tree type