パッケージ jcifs.context
クラス BaseContext
- java.lang.Object
-
- java.lang.Thread
-
- jcifs.context.AbstractCIFSContext
-
- jcifs.context.BaseContext
-
- すべての実装されたインタフェース:
Runnable,CIFSContext
- 直系の既知のサブクラス:
SingletonContext
public class BaseContext extends AbstractCIFSContext
- 作成者:
- mbechler
-
-
ネストされたクラスの概要
-
クラスから継承されたネストされたクラス/インタフェース java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
フィールドの概要
-
クラスから継承されたフィールド java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 BaseContext(Configuration config)Construct a context
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanclose()SmbResourceget(String url)Get a resourceBufferCachegetBufferCache()ConfigurationgetConfig()protected CredentialsgetDefaultCredentials()DfsResolvergetDfs()NameServiceClientgetNameServiceClient()SmbPipeResourcegetPipe(String url, int pipeType)Get a pipe resourceSidResolvergetSIDResolver()SmbTransportPoolgetTransportPool()URLStreamHandlergetUrlHandler()-
クラスから継承されたメソッド jcifs.context.AbstractCIFSContext
getCredentials, hasDefaultCredentials, renewCredentials, run, withAnonymousCredentials, withCredentials, withDefaultCredentials, withGuestCrendentials
-
クラスから継承されたメソッド java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
コンストラクタの詳細
-
BaseContext
public BaseContext(Configuration config)
Construct a context- パラメータ:
config- configuration for the context
-
-
メソッドの詳細
-
get
public SmbResource get(String url) throws CIFSException
Get a resource- 戻り値:
- the SMB resource at the specified location
- 例外:
CIFSException- 関連項目:
CIFSContext.get(java.lang.String)
-
getPipe
public SmbPipeResource getPipe(String url, int pipeType) throws CIFSException
Get a pipe resourcepipeType- the type of the pipe- 戻り値:
- the SMB pipe resource at the specified location
- 例外:
CIFSException- 関連項目:
CIFSContext.getPipe(java.lang.String, int)
-
getTransportPool
public SmbTransportPool getTransportPool()
- 戻り値:
- the transport pool
-
getConfig
public Configuration getConfig()
- 戻り値:
- the active configuration
- 関連項目:
CIFSContext.getConfig()
-
getDfs
public DfsResolver getDfs()
- 戻り値:
- the DFS instance for this context
- 関連項目:
CIFSContext.getDfs()
-
getNameServiceClient
public NameServiceClient getNameServiceClient()
- 戻り値:
- the name server client
- 関連項目:
CIFSContext.getNameServiceClient()
-
getBufferCache
public BufferCache getBufferCache()
- 戻り値:
- the buffer cache
- 関連項目:
CIFSContext.getBufferCache()
-
getUrlHandler
public URLStreamHandler getUrlHandler()
- 戻り値:
- an URL handler using this context
- 関連項目:
CIFSContext.getUrlHandler()
-
getSIDResolver
public SidResolver getSIDResolver()
- 戻り値:
- the SID resolver for this context
- 関連項目:
CIFSContext.getSIDResolver()
-
getDefaultCredentials
protected Credentials getDefaultCredentials()
- 定義:
getDefaultCredentialsクラス内AbstractCIFSContext- 戻り値:
- 関連項目:
AbstractCIFSContext.getDefaultCredentials()
-
close
public boolean close() throws CIFSException- 定義:
closeインタフェース内CIFSContext- オーバーライド:
closeクラス内AbstractCIFSContext- 戻り値:
- whether any connection was still in use
- 例外:
CIFSException- 関連項目:
CIFSContext.close()
-
-