パッケージ jcifs.internal.dfs
クラス DfsReferralDataImpl
- java.lang.Object
-
- jcifs.internal.dfs.DfsReferralDataImpl
-
- すべての実装されたインタフェース:
DfsReferralData,DfsReferralDataInternal
public class DfsReferralDataImpl extends Object implements DfsReferralDataInternal
- 作成者:
- mbechler
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DfsReferralDataImpl()
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 voidappend(DfsReferralDataInternal dr)DfsReferralDataInternalcombine(DfsReferralData n)booleanequals(Object obj)voidfixupDomain(String dom)Possibly appends the given domain name to the host name if it is currently unqualifiedvoidfixupHost(String fqdn)Replaces the host with the given FQDN if it is currently unqualifiedstatic DfsReferralDataImplfromReferral(Referral ref, String reqPath, long expire, int consumed)StringgetDomain()longgetExpiration()intgetFlags()StringgetKey()StringgetLink()StringgetPath()intgetPathConsumed()StringgetServer()StringgetShare()longgetTtl()inthashCode()voidintermediate()booleanisIntermediate()booleanisResolveHashes()Not exactly sure what that is all about, certainly legacy stuffDfsReferralDataImplnext()voidreplaceCache()Replaces the entry with key in the cache map with this referralvoidsetCacheMap(Map<String,DfsReferralDataInternal> map)voidsetDomain(String domain)voidsetKey(String key)voidsetLink(String link)voidstripPathConsumed(int i)Reduces path consumed by the given valueStringtoString()<T extends DfsReferralData>
Tunwrap(Class<T> type)
-
-
-
メソッドの詳細
-
unwrap
public <T extends DfsReferralData> T unwrap(Class<T> type)
- 定義:
unwrapインタフェース内DfsReferralData- 戻り値:
- the referral adapted to type
- 関連項目:
DfsReferralData.unwrap(java.lang.Class)
-
getExpiration
public long getExpiration()
- 定義:
getExpirationインタフェース内DfsReferralData- 戻り値:
- the expiration time of this entry
-
getPathConsumed
public int getPathConsumed()
- 定義:
getPathConsumedインタフェース内DfsReferralData- 戻り値:
- the number of characters from the unc path that were consumed by this referral
-
getDomain
public String getDomain()
- 定義:
getDomainインタフェース内DfsReferralData- 戻り値:
- the domain this referral is for
- 関連項目:
DfsReferralData.getDomain()
-
setDomain
public void setDomain(String domain)
- パラメータ:
domain- the domain to set
-
getLink
public String getLink()
- 定義:
getLinkインタフェース内DfsReferralData- 戻り値:
- the link
-
setLink
public void setLink(String link)
- 定義:
setLinkインタフェース内DfsReferralDataInternal
-
getKey
public String getKey()
- 定義:
getKeyインタフェース内DfsReferralDataInternal- 戻り値:
- the key
-
setKey
public void setKey(String key)
- 定義:
setKeyインタフェース内DfsReferralDataInternal- パラメータ:
key- the key to set
-
getServer
public String getServer()
- 定義:
getServerインタフェース内DfsReferralData- 戻り値:
- the server this referral points to
-
getShare
public String getShare()
- 定義:
getShareインタフェース内DfsReferralData- 戻り値:
- the share this referral points to
-
getPath
public String getPath()
- 定義:
getPathインタフェース内DfsReferralData- 戻り値:
- the replacement path for this referal
-
getFlags
public int getFlags()
- 戻り値:
- the rflags
-
setCacheMap
public void setCacheMap(Map<String,DfsReferralDataInternal> map)
- 定義:
setCacheMapインタフェース内DfsReferralDataInternal- 関連項目:
DfsReferralDataInternal.setCacheMap(java.util.Map)
-
replaceCache
public void replaceCache()
Replaces the entry with key in the cache map with this referral- 定義:
replaceCacheインタフェース内DfsReferralDataInternal- 関連項目:
DfsReferralDataInternal.replaceCache()
-
next
public DfsReferralDataImpl next()
- 定義:
nextインタフェース内DfsReferralData- 定義:
nextインタフェース内DfsReferralDataInternal- 戻り値:
- pointer to next referral, points to self if there is no further referral
-
append
public void append(DfsReferralDataInternal dr)
- 定義:
appendインタフェース内DfsReferralDataInternal- パラメータ:
dr-
-
stripPathConsumed
public void stripPathConsumed(int i)
Reduces path consumed by the given value
-
fixupDomain
public void fixupDomain(String dom)
インタフェースからコピーされた説明:DfsReferralDataInternalPossibly appends the given domain name to the host name if it is currently unqualified- 定義:
fixupDomainインタフェース内DfsReferralDataInternal
-
fixupHost
public void fixupHost(String fqdn)
インタフェースからコピーされた説明:DfsReferralDataInternalReplaces the host with the given FQDN if it is currently unqualified- 定義:
fixupHostインタフェース内DfsReferralDataInternal
-
isResolveHashes
public boolean isResolveHashes()
インタフェースからコピーされた説明:DfsReferralDataInternalNot exactly sure what that is all about, certainly legacy stuff- 定義:
isResolveHashesインタフェース内DfsReferralDataInternal- 戻り値:
- the resolveHashes
-
intermediate
public void intermediate()
-
isIntermediate
public boolean isIntermediate()
- 定義:
isIntermediateインタフェース内DfsReferralDataInternal- 戻り値:
- the intermediate
-
getTtl
public long getTtl()
- 戻り値:
- the ttl
-
hashCode
public int hashCode()
- オーバーライド:
hashCodeクラス内Object- 関連項目:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- オーバーライド:
equalsクラス内Object- 関連項目:
Object.equals(java.lang.Object)
-
fromReferral
public static DfsReferralDataImpl fromReferral(Referral ref, String reqPath, long expire, int consumed)
- パラメータ:
ref-reqPath-expire-consumed-- 戻り値:
- referral data
-
combine
public DfsReferralDataInternal combine(DfsReferralData n)
- 定義:
combineインタフェース内DfsReferralDataInternal- 戻り値:
- new referral, combining a chain of referrals
- 関連項目:
DfsReferralDataInternal.combine(jcifs.DfsReferralData)
-
-