パッケージ jcifs

インタフェース Address

  • 既知のサブインタフェースのリスト:
    NetbiosAddress
    既知の実装クラスのリスト:
    NbtAddress, UniAddress

    public interface Address
    Interface for both netbios and internet addresses
    作成者:
    mbechler
    • メソッドの詳細

      • unwrap

        <T extends Address> T unwrap​(Class<T> type)
        パラメータ:
        type -
        戻り値:
        instance for type, null if the type cannot be unwrapped
      • getHostName

        String getHostName()
        戻り値:
        the resolved host name, or the host address if it could not be resolved
      • getHostAddress

        String getHostAddress()
        Return the IP address as text such as "192.168.1.15".
        戻り値:
        the ip address
      • firstCalledName

        String firstCalledName()
        Guess called name to try for session establishment. These methods are used by the smb package.
        戻り値:
        guessed name
      • nextCalledName

        String nextCalledName​(CIFSContext tc)
        Guess next called name to try for session establishment. These methods are used by the smb package.
        パラメータ:
        tc -
        戻り値:
        guessed name