Uses of Class
jcifs.CIFSException
-
-
Uses of CIFSException in jcifs
Methods in jcifs that throw CIFSException Modifier and Type Method Description booleanResourceFilter. accept(SmbResource resource)booleanResourceNameFilter. accept(SmbResource parent, String name)List<FileNotifyInformation>SmbWatchHandle. call()booleanSmbResource. canRead()Tests to see if the file thisSmbResourcerepresents can be read.booleanSmbResource. canWrite()Tests to see if the file thisSmbResourcerepresents exists and is not marked read-only.CloseableIterator<SmbResource>SmbResource. children()Fetch all childrenCloseableIterator<SmbResource>SmbResource. children(String wildcard)Fetch children matching pattern, server-side filteringCloseableIterator<SmbResource>SmbResource. children(ResourceFilter filter)CloseableIterator<SmbResource>SmbResource. children(ResourceNameFilter filter)booleanCIFSContext. close()voidCloseableIterator. close()voidEmptyIterator. close()voidSmbFileHandle. close()voidSmbFileHandle. close(long lastWriteTime)voidSmbPipeHandle. close()booleanSmbTransportPool. close()Closes the pool and all connections in itvoidSmbTreeHandle. close()voidSmbWatchHandle. close()voidSmbResource. copyTo(SmbResource dest)This method will copy the file or directory represented by this SmbResource and it's sub-contents to the location specified by the dest parameter.voidSmbResource. createNewFile()Create a new file but fail if it already exists.longSmbResource. createTime()Retrieve the time thisSmbResourcewas created.voidSmbResource. delete()This method will delete the file or directory specified by thisSmbResource.booleanSmbResource. exists()Tests to see if the SMB resource exists.longSmbResource. fileIndex()Get the file indexSmbResourceCIFSContext. get(String url)Get a resourceAddressSmbResourceLocator. getAddress()intSmbResource. getAttributes()Return the attributes of this file.byte[]SmbTransportPool. getChallenge(CIFSContext tc, Address dc)Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadbyte[]SmbTransportPool. getChallenge(CIFSContext tc, Address dc, int port)Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadSmbTransportDfsResolver. getDc(CIFSContext tf, String domain)Get a connection to the domain controller for a given domainlongSmbResource. getDiskFreeSpace()This method returns the free disk space in bytes of the drive this share represents or the drive on which the directory or file resides.SID[]SidResolver. getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags)InputStreamSmbPipeHandle. getInput()Map<SID,List<SID>>SidResolver. getLocalGroupsMap(CIFSContext tc, String authorityServerName, int flags)This specialized method returns a Map of users and local groups for the target server where keys are SIDs representing an account and each value is an ArrayList of SIDs represents the local groups that the account is a member of.StringSmbTreeHandle. getOEMDomainName()OutputStreamSmbPipeHandle. getOutput()SmbPipeResourceCIFSContext. getPipe(String url, int pipeType)Get a pipe resourceSIDSidResolver. getServerSid(CIFSContext tc, String authorityServerName)longSmbTreeHandle. getServerTimeZoneOffset()intSmbResource. getType()Returns type of of object this SmbResource represents.intSmbResourceLocator. getType()Returns type of of object this SmbFile represents.booleanSmbResource. isDirectory()Tests to see if the file thisSmbResourcerepresents is a directory.booleanSmbResource. isFile()Tests to see if the file thisSmbResourcerepresents is not a directory.booleanSmbResource. isHidden()Tests to see if the file this SmbResource represents is marked as hidden.booleanDfsResolver. isTrustedDomain(CIFSContext tf, String domain)booleanSmbResourceLocator. isWorkgroup()longSmbResource. lastAccess()Retrieve the last acces time of the file represented by thisSmbResourcelongSmbResource. lastModified()Retrieve the last time the file represented by thisSmbResourcewas modified.longSmbResource. length()Returns the length of this SmbResource in bytes.voidSmbTransportPool. logon(CIFSContext tc, Address dc)Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadvoidSmbTransportPool. logon(CIFSContext tc, Address dc, int port)Deprecated.functionality is broken and will be removed at some point, use actual Active Directory authentication insteadvoidSmbResource. mkdir()Creates a directory with the path specified by thisSmbResource.voidSmbResource. mkdirs()Creates a directory with the path specified by this SmbResource and any parent directories that do not exist.InputStreamSmbResource. openInputStream()Opens an input stream reading the file (read only, sharable)InputStreamSmbResource. openInputStream(int sharing)Opens an input stream reading the file (read only)InputStreamSmbResource. openInputStream(int flags, int access, int sharing)Opens an input stream reading the file (read only)OutputStreamSmbResource. openOutputStream()Opens an output stream writing to the file (truncating, write only, sharable)OutputStreamSmbResource. openOutputStream(boolean append)Opens an output stream writing to the file (write only, read sharable)OutputStreamSmbResource. openOutputStream(boolean append, int sharing)Opens an output stream writing to the file (write only, exclusive write access)OutputStreamSmbResource. openOutputStream(boolean append, int openFlags, int access, int sharing)Opens an output stream writing to the file (write only, exclusive write access)SmbRandomAccessSmbResource. openRandomAccess(String mode)Opens the file for random accessSmbRandomAccessSmbResource. openRandomAccess(String mode, int sharing)Opens the file for random accessvoidSmbFileHandle. release()voidSmbResource. renameTo(SmbResource dest)Changes the name of the file thisSmbResourcerepresents to the name designated by theSmbResourceargument.voidSmbResource. renameTo(SmbResource dest, boolean replace)Changes the name of the file thisSmbResourcerepresents to the name designated by theSmbResourceargument.DfsReferralDataDfsResolver. resolve(CIFSContext tf, String domain, String root, String path)Resolve the location of a DFS pathSmbResourceSmbResource. resolve(String name)Fetch a child resourcevoidSidResolver. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids)Resolve an array of SIDs using a cache and at most one MSRPC request.voidSidResolver. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids, int off, int len)Resolve part of an array of SIDs using a cache and at most one MSRPC request.voidSmbResource. setAttributes(int attrs)Set the attributes of this file.voidSmbResource. setCreateTime(long time)Set the create time of the file.voidSmbResource. setFileTimes(long createTime, long lastModified, long lastAccess)Set the create, last modified and last access time of the file.voidSmbResource. setLastAccess(long time)Set the last access time of the file.voidSmbResource. setLastModified(long time)Set the last modified time of the file.voidSmbResource. setReadOnly()Make this file read-only.voidSmbResource. setReadWrite()Turn off the read-only attribute of this file.SmbWatchHandleSmbResource. watch(int filter, boolean recursive)Creates a directory watch The server will notify the client when there are changes to the directories contentsList<FileNotifyInformation>SmbWatchHandle. watch()Get the next set of changes Will block until the server returns a set of changes that match the given filter. -
Uses of CIFSException in jcifs.config
Methods in jcifs.config that throw CIFSException Modifier and Type Method Description protected voidBaseConfiguration. initDefaults()Constructors in jcifs.config that throw CIFSException Constructor Description BaseConfiguration()BaseConfiguration(boolean initDefaults)PropertyConfiguration(Properties p) -
Uses of CIFSException in jcifs.context
Methods in jcifs.context that throw CIFSException Modifier and Type Method Description booleanAbstractCIFSContext. close()booleanBaseContext. close()booleanCIFSContextWrapper. close()SmbResourceBaseContext. get(String url)Get a resourceSmbResourceCIFSContextWrapper. get(String url)Get a resourceSmbPipeResourceBaseContext. getPipe(String url, int pipeType)Get a pipe resourceSmbPipeResourceCIFSContextWrapper. getPipe(String url, int pipeType)Get a pipe resourcestatic voidSingletonContext. init(Properties props)Initialize singleton context using custom properties This method can only be called once. -
Uses of CIFSException in jcifs.dcerpc
Subclasses of CIFSException in jcifs.dcerpc Modifier and Type Class Description classDcerpcExceptionMethods in jcifs.dcerpc that throw CIFSException Modifier and Type Method Description abstract byte[]DcerpcHandle. getSessionKey()byte[]DcerpcPipeHandle. getSessionKey() -
Uses of CIFSException in jcifs.dcerpc.ndr
Subclasses of CIFSException in jcifs.dcerpc.ndr Modifier and Type Class Description classNdrException -
Uses of CIFSException in jcifs.internal
Subclasses of CIFSException in jcifs.internal Modifier and Type Class Description classSMBProtocolDecodingException -
Uses of CIFSException in jcifs.internal.smb1.trans2
Methods in jcifs.internal.smb1.trans2 that throw CIFSException Modifier and Type Method Description <T extends FileSystemInformation>
TTrans2QueryFSInformationResponse. getInfo(Class<T> clazz)<T extends FileInformation>
TTrans2QueryPathInformationResponse. getInfo(Class<T> type) -
Uses of CIFSException in jcifs.internal.smb2.info
Methods in jcifs.internal.smb2.info that throw CIFSException Modifier and Type Method Description <T extends Decodable>
TSmb2QueryInfoResponse. getInfo(Class<T> clazz) -
Uses of CIFSException in jcifs.netbios
Subclasses of CIFSException in jcifs.netbios Modifier and Type Class Description classNbtException -
Uses of CIFSException in jcifs.ntlmssp
Constructors in jcifs.ntlmssp that throw CIFSException Constructor Description Type3Message(CIFSContext tc, Type2Message type2, String targetName, byte[] passwordHash, String domain, String user, String workstation, int flags)Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, byte[] passwordHash, String password, String domain, String user, String workstation, int flags, boolean nonAnonymous)Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation, int flags)Creates a Type-3 message in response to the given Type-2 message.Type3Message(CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation, int flags, boolean nonAnonymous)Creates a Type-3 message in response to the given Type-2 message. -
Uses of CIFSException in jcifs.ntlmssp.av
Methods in jcifs.ntlmssp.av that throw CIFSException Modifier and Type Method Description static List<AvPair>AvPairs. decode(byte[] data)Decode a list of AvPairs -
Uses of CIFSException in jcifs.pac
Subclasses of CIFSException in jcifs.pac Modifier and Type Class Description classPACDecodingException -
Uses of CIFSException in jcifs.smb
Subclasses of CIFSException in jcifs.smb Modifier and Type Class Description classDfsReferralclassSmbAuthExceptionTheSmbAuthExceptionencapsulates the variety of authentication related error codes returned by an SMB server.classSmbEndOfFileExceptionclassSmbExceptionThere are hundreds of error codes that may be returned by a CIFS server.classSMBProtocolDowngradeExceptionclassSMBSignatureValidationExceptionclassSmbUnsupportedOperationExceptionMethods in jcifs.smb that throw CIFSException Modifier and Type Method Description protected FileEntryDirFileEntryEnumIteratorBase. advance(boolean last)booleanSmbTreeHandleInternal. areSignaturesActive()byte[]NtlmContext. calculateMIC(byte[] data)byte[]SSPContext. calculateMIC(byte[] data)CloseableIterator<SmbResource>SmbFile. children()CloseableIterator<SmbResource>SmbFile. children(String wildcard)CloseableIterator<SmbResource>SmbFile. children(ResourceFilter filter)CloseableIterator<SmbResource>SmbFile. children(ResourceNameFilter filter)voidDirFileEntryEnumIteratorBase. close()voidNetServerEnumIterator. close()booleanSmbTransportPoolImpl. close()Closes the pool and all connections in itprotected Type3MessageNtlmContext. createType3Message(Type2Message msg2)voidSSPContext. dispose()protected voidDirFileEntryEnumIteratorBase. doClose()protected voidDirFileEntryEnumIterator2. doCloseInternal()protected abstract voidDirFileEntryEnumIteratorBase. doCloseInternal()voidSmbTreeHandleInternal. ensureDFSResolved()protected jcifs.smb.SmbFileHandleImplSmbFileOutputStream. ensureOpen()SmbFileHandleSmbPipeHandleInternal. ensureOpen()protected jcifs.smb.SmbFileHandleImplSmbPipeInputStream. ensureOpen()protected jcifs.smb.SmbFileHandleImplSmbPipeOutputStream. ensureOpen()protected jcifs.smb.SmbTreeHandleImplSmbFileOutputStream. ensureTreeConnected()SmbTreeHandleInternalSmbPipeHandleInternal. ensureTreeConnected()protected jcifs.smb.SmbTreeHandleImplSmbPipeInputStream. ensureTreeConnected()protected jcifs.smb.SmbTreeHandleImplSmbPipeOutputStream. ensureTreeConnected()protected booleanDirFileEntryEnumIterator2. fetchMore()protected abstract booleanDirFileEntryEnumIteratorBase. fetchMore()DfsReferralDataSmbTransportInternal. getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn)SID[]SIDCacheImpl. getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags)SmbPipeInputStreamSmbPipeHandleInternal. getInput()Map<SID,List<SID>>SIDCacheImpl. getLocalGroupsMap(CIFSContext tc, String authorityServerName, int flags)This specialized method returns a Map of users and local groups for the target server where keys are SIDs representing an account and each value is an ArrayList of SIDs represents the local groups that the account is a member of.intSmbTreeHandleInternal. getMaximumBufferSize()SmbPipeOutputStreamSmbPipeHandleInternal. getOutput()intSmbTreeHandleInternal. getReceiveBufferSize()intSmbTreeHandleInternal. getSendBufferSize()SIDSIDCacheImpl. getServerSid(CIFSContext tc, String server)byte[]SmbPipeHandleInternal. getSessionKey()byte[]SmbSessionInternal. getSessionKey()byte[]SSPContext. getSigningKey()SmbTreeHandleSmbFile. getTreeHandle()booleanSmbTreeHandleInternal. hasCapability(int cap)protected voidSmbFileOutputStream. init(jcifs.smb.SmbTreeHandleImpl th)byte[]SSPContext. initSecContext(byte[] token, int off, int len)protected FileEntryDirFileEntryEnumIterator2. open()protected abstract FileEntryDirFileEntryEnumIteratorBase. open()voidSmbFileInputStream. open()Ensures that the file descriptor is openendvoidSmbFileOutputStream. open()Ensures that the file descriptor is openendvoidSmbRandomAccessFile. open()Ensures that the file descriptor is openendbooleanSmbResourceLocatorInternal. overlaps(SmbResourceLocator other)voidSmbSessionInternal. reauthenticate()Initiate reauthenticationvoidCredentialsInternal. refresh()voidJAASAuthenticator. refresh()voidKerb5Authenticator. refresh()voidNtlmPasswordAuthenticator. refresh()SmbResourceSmbFile. resolve(String name)voidSIDCacheImpl. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids)Resolve an array of SIDs using a cache and at most one MSRPC request.voidSIDCacheImpl. resolveSids(CIFSContext tc, String authorityServerName, SID[] sids, int offset, int length)<T extends CommonServerMessageBlockResponse>
TSmbTreeInternal. send(Request<T> request, RequestParam... params)voidNtlmContext. verifyMIC(byte[] data, byte[] mic)voidSSPContext. verifyMIC(byte[] data, byte[] mic)SmbWatchHandleSmbFile. watch(int filter, boolean recursive)protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, int createDisposition, int createOptions, int fileAttributes, int desiredAccess, int shareAccess, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, int createDisposition, int desiredAccess, int shareAccess, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)protected <T extends ServerMessageBlock2Response>
TSmbFile. withOpen(jcifs.smb.SmbTreeHandleImpl th, ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others)Constructors in jcifs.smb that throw CIFSException Constructor Description DirFileEntryEnumIterator2(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes)DirFileEntryEnumIteratorBase(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes)NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter) -
Uses of CIFSException in jcifs.spnego
Subclasses of CIFSException in jcifs.spnego Modifier and Type Class Description classSpnegoException -
Uses of CIFSException in jcifs.util.transport
Subclasses of CIFSException in jcifs.util.transport Modifier and Type Class Description classConnectionTimeoutExceptionclassRequestTimeoutExceptionclassTransportException
-