パッケージ jcifs

インタフェース SmbTreeHandle

  • すべてのスーパーインタフェース:
    AutoCloseable
    既知のサブインタフェースのリスト:
    SmbTreeHandleInternal

    public interface SmbTreeHandle
    extends AutoCloseable
    Handle to a connected SMB tree
    作成者:
    mbechler
    • メソッドの詳細

      • getConfig

        Configuration getConfig()
        戻り値:
        the active configuration
      • isConnected

        boolean isConnected()
        戻り値:
        the tree is connected
      • getServerTimeZoneOffset

        long getServerTimeZoneOffset()
                              throws CIFSException
        戻り値:
        server timezone offset
        例外:
        CIFSException
      • getConnectedShare

        String getConnectedShare()
        戻り値:
        the share we are connected to
      • isSameTree

        boolean isSameTree​(SmbTreeHandle th)
        パラメータ:
        th -
        戻り値:
        whether the handles refer to the same tree
      • isSMB2

        boolean isSMB2()
        戻り値:
        whether this tree handle uses SMB2+
      • getRemoteHostName

        String getRemoteHostName()
        戻り値:
        the remote host name
      • getTreeType

        int getTreeType()
        戻り値:
        the tree type