パッケージ jcifs.config
クラス DelegatingConfiguration
- java.lang.Object
-
- jcifs.config.DelegatingConfiguration
-
- すべての実装されたインタフェース:
Configuration
public class DelegatingConfiguration extends Object implements Configuration
- 作成者:
- mbechler
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DelegatingConfiguration(Configuration delegate)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 推奨されていないメソッド 修飾子とタイプ メソッド 説明 longgetAttributeCacheTimeout()Property jcifs.smb.client.attrExpirationPeriod (int, 5000)intgetBatchLimit(String cmd)InetAddressgetBroadcastAddress()Property jcifs.netbios.baddr (string, default 255.255.255.255)intgetBufferCacheSize()Property jcifs.smb.maxBuffers (int, default 16)intgetCapabilities()Property jcifs.smb.client.capabilities (int)intgetConnTimeout()Property jcifs.smb.client.connTimeout (int, default 35000)StringgetDefaultDomain()Property jcifs.smb.client.domainStringgetDefaultPassword()Property jcifs.smb.client.passwordStringgetDefaultUsername()Property jcifs.smb.client.usernamelonggetDfsTtl()Property jcifs.smb.client.dfs.ttl (int, default 300)intgetFlags2()Property jcifs.smb.client.flags2 (int)intgetLanManCompatibility()Lanman compatibility level 0 or 1 LM and NTLM 2 NTLM only 3-5 NTLMv2 only Property jcifs.smb.lmCompatibility (int, default 3)intgetListCount()Property jcifs.smb.client.listCount (int, default 200)intgetListSize()Property jcifs.smb.client.listSize (int, default 65535)StringgetLmHostsFileName()Property jcifs.netbios.lmhosts (string)InetAddressgetLocalAddr()Property jcifs.smb.client.laddr (string)intgetLocalPort()Property jcifs.smb.client.lport (int)TimeZonegetLocalTimezone()StringgetLogonShare()Property jcifs.smb.client.logonSharebyte[]getMachineId()Machine identifier ClientGuid, ... are derived from this value.intgetMaximumBufferSize()DialectVersiongetMaximumVersion()Maximum protocol version Property jcifs.smb.client.maxVersion (string, default SMB210)intgetMaxMpxCount()Property jcifs.smb.client.maxMpxCount (int, default 10)intgetMaxRequestRetries()Property jcifs.smb.client.maxRequestRetries (int, default 2)DialectVersiongetMinimumVersion()Minimum protocol version Property jcifs.smb.client.minVersion (string, default SMB1)StringgetNativeLanman()Property jcifs.smb.client.nativeLanMan (string, default jCIFS)StringgetNativeOs()Property jcifs.smb.client.nativeOs (string, default os.name)intgetNetbiosCachePolicy()Property jcifs.netbios.cachePolicy in minutes (int, default 600)StringgetNetbiosHostname()Property jcifs.netbios.hostname (string)InetAddressgetNetbiosLocalAddress()Property jcifs.netbios.laddr (string)intgetNetbiosLocalPort()Property jcifs.netbios.lport (int)intgetNetbiosRcvBufSize()Property jcifs.netbios.rcv_buf_size (int, default 576)intgetNetbiosRetryCount()Property jcifs.netbios.retryCount (int, default 2)intgetNetbiosRetryTimeout()Property jcifs.netbios.retryTimeout (int, default 3000)StringgetNetbiosScope()Property jcifs.netbios.scope (string)intgetNetbiosSndBufSize()Property jcifs.netbios.snd_buf_size (int, default 576)intgetNetbiosSoTimeout()Property jcifs.netbios.soTimeout (int, default 5000)intgetNotifyBufferSize()Property jcifs.smb.client.notify_buf_size (int, default 1024)StringgetOemEncoding()Property jcifs.encoding (string, default Cp850)intgetPid()SecureRandomgetRandom()intgetReceiveBufferSize()Property jcifs.smb.client.rcv_buf_size (int, default 65535)intgetRecieveBufferSize()推奨されていません。use getReceiveBufferSize insteadList<ResolverType>getResolveOrder()Property jcifs.resolveOrder (string, default LMHOSTS,DNS,WINS,BCAST)intgetResponseTimeout()Property jcifs.smb.client.responseTimeout (int, default 30000)intgetSendBufferSize()Property jcifs.smb.client.snd_buf_size (int, default 65535)intgetSessionLimit()Property jcifs.smb.client.ssnLimit (int, 250)intgetSessionTimeout()Property jcifs.smb.client.sessionTimeout (int, default 35000)intgetSoTimeout()Property jcifs.smb.client.soTimeout (int, default 35000)intgetTransactionBufferSize()Property jcifs.smb.client.transaction_buf_size (int, default 65535)intgetVcNumber()InetAddress[]getWinsServers()Property jcifs.netbios.wins (string, comma separated)booleanisAllowCompound(String command)booleanisAllowNTLMFallback()Property jcifs.smb.allowNTLMFallback (boolean, default true)booleanisDfsConvertToFQDN()Enable hack to make kerberos auth work with DFS sending short names This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not correct for your domain.booleanisDfsDisabled()Property jcifs.smb.client.dfs.disabled (boolean, default false)booleanisDfsStrictView()Property jcifs.smb.client.dfs.strictView (boolean, default false)booleanisDisablePlainTextPasswords()Property jcifs.smb.client.disablePlainTextPasswords (boolean, default true)booleanisDisableSpnegoIntegrity()Property jcifs.smb.client.disableSpnegoIntegrity (boolean, false)booleanisEncryptionEnabled()Property jcifs.smb.client.encryptionEnabled (boolean, default false) This is an experimental option allowing to indicate support during protocol negotiation, SMB encryption is not implemented yet.booleanisEnforceSpnegoIntegrity()Property jcifs.smb.client.enforceSpnegoIntegrity (boolean, false)booleanisForceExtendedSecurity()Property jcifs.smb.client.forceExtendedSecurity (boolean, default false)booleanisForceUnicode()Property jcifs.smb.client.forceUnicode (boolean, default false)booleanisIgnoreCopyToException()Property jcifs.smb.client.ignoreCopyToException (boolean, false)booleanisIpcSigningEnforced()Property jcifs.smb.client.ipcSigningEnforced (boolean, default true)booleanisPort139FailoverEnabled()Enable port 139 failover Property jcifs.smb.client.port139.enabled (boolean, default false)booleanisRequireSecureNegotiate()Enforce secure negotiation Property jcifs.smb.client.requireSecureNegotiate (boolean, default true) This does not provide any actual downgrade protection if SMB1 is allowed.booleanisSendNTLMTargetName()Property jcifs.smb.client.SendNTLMTargetName (boolean, true)booleanisSigningEnabled()Property jcifs.smb.client.signingPreferred (boolean, default false)booleanisSigningEnforced()Property jcifs.smb.client.signingEnforced (boolean, default false)booleanisStrictResourceLifecycle()Property jcifs.smb.client.strictResourceLifecycle (bool, default false) If enabled, SmbFile instances starting with their first use will hold a reference to their tree.booleanisTraceResourceUsage()This is solely intended for debuggingbooleanisUseBatching()Property jcifs.smb.client.useBatching (boolean, default true)booleanisUseRawNTLM()Property jcifs.smb.useRawNTLM (boolean, default false)booleanisUseSMB2OnlyNegotiation()Use SMB2 non-backward compatible negotiation style Property jcifs.smb.client.useSMB2Negotiation (boolean, default false)booleanisUseUnicode()Property jcifs.smb.client.useUnicode (boolean, default true)
-
-
-
コンストラクタの詳細
-
DelegatingConfiguration
public DelegatingConfiguration(Configuration delegate)
- パラメータ:
delegate- delegate to pass all non-overridden method calls to
-
-
メソッドの詳細
-
getRandom
public SecureRandom getRandom()
- 定義:
getRandomインタフェース内Configuration- 戻り値:
- random source to use
- 関連項目:
Configuration.getRandom()
-
getMinimumVersion
public DialectVersion getMinimumVersion()
Minimum protocol version Property jcifs.smb.client.minVersion (string, default SMB1)- 定義:
getMinimumVersionインタフェース内Configuration- 戻り値:
- minimum protocol version to use/allow
- 関連項目:
Configuration.getMinimumVersion()
-
getMaximumVersion
public DialectVersion getMaximumVersion()
Maximum protocol version Property jcifs.smb.client.maxVersion (string, default SMB210)- 定義:
getMaximumVersionインタフェース内Configuration- 戻り値:
- maximum protocol version to use/allow
- 関連項目:
Configuration.getMaximumVersion()
-
isUseSMB2OnlyNegotiation
public boolean isUseSMB2OnlyNegotiation()
Use SMB2 non-backward compatible negotiation style Property jcifs.smb.client.useSMB2Negotiation (boolean, default false)- 定義:
isUseSMB2OnlyNegotiationインタフェース内Configuration- 戻り値:
- whether to use non-backward compatible protocol negotiation
- 関連項目:
Configuration.isUseSMB2OnlyNegotiation()
-
isRequireSecureNegotiate
public boolean isRequireSecureNegotiate()
Enforce secure negotiation Property jcifs.smb.client.requireSecureNegotiate (boolean, default true) This does not provide any actual downgrade protection if SMB1 is allowed. It will also break connections with SMB2 servers that do not properly sign error responses.- 定義:
isRequireSecureNegotiateインタフェース内Configuration- 戻り値:
- whether to enforce the use of secure negotiation.
- 関連項目:
Configuration.isRequireSecureNegotiate()
-
isSendNTLMTargetName
public boolean isSendNTLMTargetName()
Property jcifs.smb.client.SendNTLMTargetName (boolean, true)- 定義:
isSendNTLMTargetNameインタフェース内Configuration- 戻り値:
- whether to send an AvTargetName with the NTLM exchange
- 関連項目:
Configuration.isSendNTLMTargetName()
-
isPort139FailoverEnabled
public boolean isPort139FailoverEnabled()
Enable port 139 failover Property jcifs.smb.client.port139.enabled (boolean, default false)- 定義:
isPort139FailoverEnabledインタフェース内Configuration- 戻り値:
- whether to failover to legacy transport on port 139
- 関連項目:
Configuration.isPort139FailoverEnabled()
-
getDfsTtl
public long getDfsTtl()
Property jcifs.smb.client.dfs.ttl (int, default 300)- 定義:
getDfsTtlインタフェース内Configuration- 戻り値:
- title to live, in seconds, for DFS cache entries
- 関連項目:
Configuration.getDfsTtl()
-
isDfsStrictView
public boolean isDfsStrictView()
Property jcifs.smb.client.dfs.strictView (boolean, default false)- 定義:
isDfsStrictViewインタフェース内Configuration- 戻り値:
- whether a authentication failure during DFS resolving will throw an exception
- 関連項目:
Configuration.isDfsStrictView()
-
isDfsDisabled
public boolean isDfsDisabled()
Property jcifs.smb.client.dfs.disabled (boolean, default false)- 定義:
isDfsDisabledインタフェース内Configuration- 戻り値:
- whether DFS lookup is disabled
- 関連項目:
Configuration.isDfsDisabled()
-
isDfsConvertToFQDN
public boolean isDfsConvertToFQDN()
Enable hack to make kerberos auth work with DFS sending short names This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not correct for your domain. Property jcifs.smb.client.dfs.convertToFQDN (boolean, default false)- 定義:
isDfsConvertToFQDNインタフェース内Configuration- 戻り値:
- whether to convert NetBIOS names returned by DFS to FQDNs
- 関連項目:
Configuration.isDfsConvertToFQDN()
-
isForceUnicode
public boolean isForceUnicode()
Property jcifs.smb.client.forceUnicode (boolean, default false)- 定義:
isForceUnicodeインタフェース内Configuration- 戻り値:
- whether to use unicode, even if the server does not announce it
- 関連項目:
Configuration.isForceUnicode()
-
isUseUnicode
public boolean isUseUnicode()
Property jcifs.smb.client.useUnicode (boolean, default true)- 定義:
isUseUnicodeインタフェース内Configuration- 戻り値:
- whether to announce support for unicode
- 関連項目:
Configuration.isUseUnicode()
-
isUseBatching
public boolean isUseBatching()
Property jcifs.smb.client.useBatching (boolean, default true)- 定義:
isUseBatchingインタフェース内Configuration- 戻り値:
- whether to enable support for SMB1 AndX command batching
- 関連項目:
Configuration.isUseBatching()
-
getNativeOs
public String getNativeOs()
Property jcifs.smb.client.nativeOs (string, default os.name)- 定義:
getNativeOsインタフェース内Configuration- 戻り値:
- OS string to report
- 関連項目:
Configuration.getNativeOs()
-
getNativeLanman
public String getNativeLanman()
Property jcifs.smb.client.nativeLanMan (string, default jCIFS)- 定義:
getNativeLanmanインタフェース内Configuration- 戻り値:
- Lanman string to report
- 関連項目:
Configuration.getNativeLanman()
-
getMaximumBufferSize
public int getMaximumBufferSize()
- 定義:
getMaximumBufferSizeインタフェース内Configuration- 戻り値:
- the maximum size of IO buffers, limits the maximum message size
- 関連項目:
Configuration.getMaximumBufferSize()
-
getRecieveBufferSize
@Deprecated public int getRecieveBufferSize()
推奨されていません。use getReceiveBufferSize insteadProperty jcifs.smb.client.rcv_buf_size (int, default 65535)- 定義:
getRecieveBufferSizeインタフェース内Configuration- 戻り値:
- receive buffer size, in bytes
-
getReceiveBufferSize
public int getReceiveBufferSize()
Property jcifs.smb.client.rcv_buf_size (int, default 65535)- 定義:
getReceiveBufferSizeインタフェース内Configuration- 戻り値:
- receive buffer size, in bytes
- 関連項目:
Configuration.getReceiveBufferSize()
-
getSendBufferSize
public int getSendBufferSize()
Property jcifs.smb.client.snd_buf_size (int, default 65535)- 定義:
getSendBufferSizeインタフェース内Configuration- 戻り値:
- send buffer size, in bytes
- 関連項目:
Configuration.getSendBufferSize()
-
getNotifyBufferSize
public int getNotifyBufferSize()
Property jcifs.smb.client.notify_buf_size (int, default 1024)- 定義:
getNotifyBufferSizeインタフェース内Configuration- 戻り値:
- the size of the requested server notify buffer
- 関連項目:
Configuration.getNotifyBufferSize()
-
getSoTimeout
public int getSoTimeout()
Property jcifs.smb.client.soTimeout (int, default 35000)- 定義:
getSoTimeoutインタフェース内Configuration- 戻り値:
- socket timeout, in milliseconds
- 関連項目:
Configuration.getSoTimeout()
-
getResponseTimeout
public int getResponseTimeout()
Property jcifs.smb.client.responseTimeout (int, default 30000)- 定義:
getResponseTimeoutインタフェース内Configuration- 戻り値:
- timeout for SMB responses, in milliseconds
- 関連項目:
Configuration.getResponseTimeout()
-
getConnTimeout
public int getConnTimeout()
Property jcifs.smb.client.connTimeout (int, default 35000)- 定義:
getConnTimeoutインタフェース内Configuration- 戻り値:
- timeout for establishing a socket connection, in milliseconds
- 関連項目:
Configuration.getConnTimeout()
-
getSessionTimeout
public int getSessionTimeout()
Property jcifs.smb.client.sessionTimeout (int, default 35000)- 定義:
getSessionTimeoutインタフェース内Configuration- 戻り値:
- timeout for SMB sessions, in milliseconds
- 関連項目:
Configuration.getSessionTimeout()
-
getLocalPort
public int getLocalPort()
Property jcifs.smb.client.lport (int)- 定義:
getLocalPortインタフェース内Configuration- 戻り値:
- local port to use for outgoing connections
- 関連項目:
Configuration.getLocalPort()
-
getLocalAddr
public InetAddress getLocalAddr()
Property jcifs.smb.client.laddr (string)- 定義:
getLocalAddrインタフェース内Configuration- 戻り値:
- local address to use for outgoing connections
- 関連項目:
Configuration.getLocalAddr()
-
getNetbiosHostname
public String getNetbiosHostname()
Property jcifs.netbios.hostname (string)- 定義:
getNetbiosHostnameインタフェース内Configuration- 戻り値:
- local NETBIOS/short name to announce
- 関連項目:
Configuration.getNetbiosHostname()
-
getLogonShare
public String getLogonShare()
Property jcifs.smb.client.logonShare- 定義:
getLogonShareインタフェース内Configuration- 戻り値:
- share to connect to during authentication, if unset connect to IPC$
- 関連項目:
Configuration.getLogonShare()
-
getDefaultDomain
public String getDefaultDomain()
Property jcifs.smb.client.domain- 定義:
getDefaultDomainインタフェース内Configuration- 戻り値:
- default credentials, domain name
- 関連項目:
Configuration.getDefaultDomain()
-
getDefaultUsername
public String getDefaultUsername()
Property jcifs.smb.client.username- 定義:
getDefaultUsernameインタフェース内Configuration- 戻り値:
- default credentials, user name
- 関連項目:
Configuration.getDefaultUsername()
-
getDefaultPassword
public String getDefaultPassword()
Property jcifs.smb.client.password- 定義:
getDefaultPasswordインタフェース内Configuration- 戻り値:
- default credentials, password
- 関連項目:
Configuration.getDefaultPassword()
-
isDisablePlainTextPasswords
public boolean isDisablePlainTextPasswords()
インタフェースからコピーされた説明:ConfigurationProperty jcifs.smb.client.disablePlainTextPasswords (boolean, default true)- 定義:
isDisablePlainTextPasswordsインタフェース内Configuration- 戻り値:
- whether the usage of plaintext passwords is prohibited, defaults to false
- 関連項目:
Configuration.isDisablePlainTextPasswords()
-
isForceExtendedSecurity
public boolean isForceExtendedSecurity()
Property jcifs.smb.client.forceExtendedSecurity (boolean, default false)- 定義:
isForceExtendedSecurityインタフェース内Configuration- 戻り値:
- whether to force extended security usage
- 関連項目:
Configuration.isForceExtendedSecurity()
-
getLanManCompatibility
public int getLanManCompatibility()
Lanman compatibility level
Property jcifs.smb.lmCompatibility (int, default 3)0 or 1 LM and NTLM 2 NTLM only 3-5 NTLMv2 only - 定義:
getLanManCompatibilityインタフェース内Configuration- 戻り値:
- lanman compatibility level, defaults to 3 i.e. NTLMv2 only
- 関連項目:
Configuration.getLanManCompatibility()
-
isAllowNTLMFallback
public boolean isAllowNTLMFallback()
Property jcifs.smb.allowNTLMFallback (boolean, default true)- 定義:
isAllowNTLMFallbackインタフェース内Configuration- 戻り値:
- whether to allow fallback from kerberos to NTLM
- 関連項目:
Configuration.isAllowNTLMFallback()
-
isUseRawNTLM
public boolean isUseRawNTLM()
Property jcifs.smb.useRawNTLM (boolean, default false)- 定義:
isUseRawNTLMインタフェース内Configuration- 戻り値:
- whether to use raw NTLMSSP tokens instead of SPNEGO wrapped ones
- 関連項目:
Configuration.isUseRawNTLM()
-
isDisableSpnegoIntegrity
public boolean isDisableSpnegoIntegrity()
Property jcifs.smb.client.disableSpnegoIntegrity (boolean, false)- 定義:
isDisableSpnegoIntegrityインタフェース内Configuration- 戻り値:
- whether to disable sending/verifying SPNEGO mechanismListMIC
- 関連項目:
Configuration.isDisableSpnegoIntegrity()
-
isEnforceSpnegoIntegrity
public boolean isEnforceSpnegoIntegrity()
Property jcifs.smb.client.enforceSpnegoIntegrity (boolean, false)- 定義:
isEnforceSpnegoIntegrityインタフェース内Configuration- 戻り値:
- whether to enforce verifying SPNEGO mechanismListMIC
- 関連項目:
Configuration.isEnforceSpnegoIntegrity()
-
getResolveOrder
public List<ResolverType> getResolveOrder()
Property jcifs.resolveOrder (string, default LMHOSTS,DNS,WINS,BCAST)- 定義:
getResolveOrderインタフェース内Configuration- 戻り値:
- order and selection of resolver modules, see
ResolverType - 関連項目:
Configuration.getResolveOrder()
-
getBroadcastAddress
public InetAddress getBroadcastAddress()
Property jcifs.netbios.baddr (string, default 255.255.255.255)- 定義:
getBroadcastAddressインタフェース内Configuration- 戻り値:
- broadcast address to use
- 関連項目:
Configuration.getBroadcastAddress()
-
getWinsServers
public InetAddress[] getWinsServers()
Property jcifs.netbios.wins (string, comma separated)- 定義:
getWinsServersインタフェース内Configuration- 戻り値:
- WINS server to use
- 関連項目:
Configuration.getWinsServers()
-
getNetbiosLocalPort
public int getNetbiosLocalPort()
Property jcifs.netbios.lport (int)- 定義:
getNetbiosLocalPortインタフェース内Configuration- 戻り値:
- local bind port for nebios connections
- 関連項目:
Configuration.getNetbiosLocalPort()
-
getNetbiosLocalAddress
public InetAddress getNetbiosLocalAddress()
Property jcifs.netbios.laddr (string)- 定義:
getNetbiosLocalAddressインタフェース内Configuration- 戻り値:
- local bind address for netbios connections
- 関連項目:
Configuration.getNetbiosLocalAddress()
-
getVcNumber
public int getVcNumber()
- 定義:
getVcNumberインタフェース内Configuration- 戻り値:
- virtual circuit number to use
- 関連項目:
Configuration.getVcNumber()
-
getCapabilities
public int getCapabilities()
Property jcifs.smb.client.capabilities (int)- 定義:
getCapabilitiesインタフェース内Configuration- 戻り値:
- custom capabilities
- 関連項目:
Configuration.getCapabilities()
-
getFlags2
public int getFlags2()
Property jcifs.smb.client.flags2 (int)- 定義:
getFlags2インタフェース内Configuration- 戻り値:
- custom flags2
- 関連項目:
Configuration.getFlags2()
-
getSessionLimit
public int getSessionLimit()
Property jcifs.smb.client.ssnLimit (int, 250)- 定義:
getSessionLimitインタフェース内Configuration- 戻り値:
- maximum number of sessions on a single connection
- 関連項目:
Configuration.getSessionLimit()
-
getOemEncoding
public String getOemEncoding()
Property jcifs.encoding (string, default Cp850)- 定義:
getOemEncodingインタフェース内Configuration- 戻り値:
- OEM encoding to use
- 関連項目:
Configuration.getOemEncoding()
-
getLocalTimezone
public TimeZone getLocalTimezone()
- 定義:
getLocalTimezoneインタフェース内Configuration- 戻り値:
- local timezone
- 関連項目:
Configuration.getLocalTimezone()
-
getPid
public int getPid()
- 定義:
getPidインタフェース内Configuration- 戻り値:
- Process id to send, randomized if unset
- 関連項目:
Configuration.getPid()
-
getMaxMpxCount
public int getMaxMpxCount()
Property jcifs.smb.client.maxMpxCount (int, default 10)- 定義:
getMaxMpxCountインタフェース内Configuration- 戻り値:
- maximum count of concurrent commands to announce
- 関連項目:
Configuration.getMaxMpxCount()
-
isSigningEnabled
public boolean isSigningEnabled()
Property jcifs.smb.client.signingPreferred (boolean, default false)- 定義:
isSigningEnabledインタフェース内Configuration- 戻り値:
- whether to enable SMB signing (for everything), if available
- 関連項目:
Configuration.isSigningEnabled()
-
isSigningEnforced
public boolean isSigningEnforced()
Property jcifs.smb.client.signingEnforced (boolean, default false)- 定義:
isSigningEnforcedインタフェース内Configuration- 戻り値:
- whether to enforce SMB signing (for everything)
- 関連項目:
Configuration.isSigningEnforced()
-
isIpcSigningEnforced
public boolean isIpcSigningEnforced()
Property jcifs.smb.client.ipcSigningEnforced (boolean, default true)- 定義:
isIpcSigningEnforcedインタフェース内Configuration- 戻り値:
- whether to enforce SMB signing for IPC connections
- 関連項目:
Configuration.isIpcSigningEnforced()
-
isEncryptionEnabled
public boolean isEncryptionEnabled()
Property jcifs.smb.client.encryptionEnabled (boolean, default false) This is an experimental option allowing to indicate support during protocol negotiation, SMB encryption is not implemented yet.- 定義:
isEncryptionEnabledインタフェース内Configuration- 戻り値:
- whether SMB encryption is enabled
- 関連項目:
Configuration.isEncryptionEnabled()
-
getLmHostsFileName
public String getLmHostsFileName()
Property jcifs.netbios.lmhosts (string)- 定義:
getLmHostsFileNameインタフェース内Configuration- 戻り値:
- lmhosts file to use
- 関連項目:
Configuration.getLmHostsFileName()
-
getNetbiosScope
public String getNetbiosScope()
Property jcifs.netbios.scope (string)- 定義:
getNetbiosScopeインタフェース内Configuration- 戻り値:
- default netbios scope to set in requests
- 関連項目:
Configuration.getNetbiosScope()
-
getNetbiosSoTimeout
public int getNetbiosSoTimeout()
Property jcifs.netbios.soTimeout (int, default 5000)- 定義:
getNetbiosSoTimeoutインタフェース内Configuration- 戻り値:
- socket timeout for netbios connections, in milliseconds
- 関連項目:
Configuration.getNetbiosSoTimeout()
-
getNetbiosSndBufSize
public int getNetbiosSndBufSize()
Property jcifs.netbios.snd_buf_size (int, default 576)- 定義:
getNetbiosSndBufSizeインタフェース内Configuration- 戻り値:
- netbios send buffer size
- 関連項目:
Configuration.getNetbiosSndBufSize()
-
getNetbiosRetryTimeout
public int getNetbiosRetryTimeout()
Property jcifs.netbios.retryTimeout (int, default 3000)- 定義:
getNetbiosRetryTimeoutインタフェース内Configuration- 戻り値:
- timeout of retry requests, in milliseconds
- 関連項目:
Configuration.getNetbiosRetryTimeout()
-
getNetbiosRetryCount
public int getNetbiosRetryCount()
Property jcifs.netbios.retryCount (int, default 2)- 定義:
getNetbiosRetryCountインタフェース内Configuration- 戻り値:
- maximum number of retries for netbios requests
- 関連項目:
Configuration.getNetbiosRetryCount()
-
getNetbiosRcvBufSize
public int getNetbiosRcvBufSize()
Property jcifs.netbios.rcv_buf_size (int, default 576)- 定義:
getNetbiosRcvBufSizeインタフェース内Configuration- 戻り値:
- netbios recieve buffer size
- 関連項目:
Configuration.getNetbiosRcvBufSize()
-
getNetbiosCachePolicy
public int getNetbiosCachePolicy()
Property jcifs.netbios.cachePolicy in minutes (int, default 600)- 定義:
getNetbiosCachePolicyインタフェース内Configuration- 戻り値:
- netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever
- 関連項目:
Configuration.getNetbiosCachePolicy()
-
getTransactionBufferSize
public int getTransactionBufferSize()
Property jcifs.smb.client.transaction_buf_size (int, default 65535)- 定義:
getTransactionBufferSizeインタフェース内Configuration- 戻り値:
- maximum data size for SMB transactions
- 関連項目:
Configuration.getTransactionBufferSize()
-
getBufferCacheSize
public int getBufferCacheSize()
Property jcifs.smb.maxBuffers (int, default 16)- 定義:
getBufferCacheSizeインタフェース内Configuration- 戻り値:
- number of buffers to keep in cache
- 関連項目:
Configuration.getBufferCacheSize()
-
getListCount
public int getListCount()
Property jcifs.smb.client.listCount (int, default 200)- 定義:
getListCountインタフェース内Configuration- 戻り値:
- maxmimum number of elements to request in a list request
- 関連項目:
Configuration.getListCount()
-
getListSize
public int getListSize()
Property jcifs.smb.client.listSize (int, default 65535)- 定義:
getListSizeインタフェース内Configuration- 戻り値:
- maximum data size for list requests
- 関連項目:
Configuration.getListSize()
-
getAttributeCacheTimeout
public long getAttributeCacheTimeout()
Property jcifs.smb.client.attrExpirationPeriod (int, 5000)- 定義:
getAttributeCacheTimeoutインタフェース内Configuration- 戻り値:
- timeout of file attribute cache
- 関連項目:
Configuration.getAttributeCacheTimeout()
-
isIgnoreCopyToException
public boolean isIgnoreCopyToException()
Property jcifs.smb.client.ignoreCopyToException (boolean, false)- 定義:
isIgnoreCopyToExceptionインタフェース内Configuration- 戻り値:
- whether to ignore exceptions that occur during file copy
- 関連項目:
Configuration.isIgnoreCopyToException()
-
getBatchLimit
public int getBatchLimit(String cmd)
- 定義:
getBatchLimitインタフェース内Configuration- 戻り値:
- the batch limit for the given command
- 関連項目:
Configuration.getBatchLimit(java.lang.String)
-
isAllowCompound
public boolean isAllowCompound(String command)
- 定義:
isAllowCompoundインタフェース内Configuration- 戻り値:
- whether to allow creating compound requests with that command
- 関連項目:
Configuration.isAllowCompound(java.lang.String)
-
isTraceResourceUsage
public boolean isTraceResourceUsage()
This is solely intended for debugging- 定義:
isTraceResourceUsageインタフェース内Configuration- 戻り値:
- whether to track the locations from which resources were created
- 関連項目:
Configuration.isTraceResourceUsage()
-
isStrictResourceLifecycle
public boolean isStrictResourceLifecycle()
Property jcifs.smb.client.strictResourceLifecycle (bool, default false) If enabled, SmbFile instances starting with their first use will hold a reference to their tree. This means that trees/sessions/connections won't be idle-disconnected even if there are no other active references (currently executing code, file descriptors). Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.- 定義:
isStrictResourceLifecycleインタフェース内Configuration- 戻り値:
- whether to use strict resource lifecycle
- 関連項目:
Configuration.isStrictResourceLifecycle()
-
getMaxRequestRetries
public int getMaxRequestRetries()
Property jcifs.smb.client.maxRequestRetries (int, default 2)- 定義:
getMaxRequestRetriesインタフェース内Configuration- 戻り値:
- retry SMB requests on failure up to n times
- 関連項目:
Configuration.getMaxRequestRetries()
-
getMachineId
public byte[] getMachineId()
Machine identifier ClientGuid, ... are derived from this value. Normally this should be randomly assigned for each client instance/configuration.- 定義:
getMachineIdインタフェース内Configuration- 戻り値:
- machine identifier (32 byte)
- 関連項目:
Configuration.getMachineId()
-
-