Uses of Class
org.codelibs.jcifs.smb.impl.SmbException
Packages that use SmbException
Package
Description
-
Uses of SmbException in org.codelibs.jcifs.smb
Methods in org.codelibs.jcifs.smb that throw SmbExceptionModifier and TypeMethodDescriptionvoidSmbRandomAccess.close()Close the filelongSmbRandomAccess.length()Get the current file lengthintSmbRandomAccess.read()Read a single byte from the current positionintSmbRandomAccess.read(byte[] b) Read into buffer from current positionintSmbRandomAccess.read(byte[] b, int off, int len) Read into buffer from current positionvoidSmbRandomAccess.setLength(long newLength) Expand/truncate file length -
Uses of SmbException in org.codelibs.jcifs.smb.impl
Subclasses of SmbException in org.codelibs.jcifs.smb.implModifier and TypeClassDescriptionclassException containing DFS referral information.classTheSmbAuthExceptionencapsulates the variety of authentication related error codes returned by an SMB server.classException thrown when reaching the end of an SMB file.classException thrown when SMB message signature validation fails.classException thrown when an unsupported SMB operation is attempted.Methods in org.codelibs.jcifs.smb.impl with parameters of type SmbExceptionModifier and TypeMethodDescriptionprotected static IOExceptionSmbFileInputStream.seToIoe(SmbException se) Converts an SmbException to an IOExceptionMethods in org.codelibs.jcifs.smb.impl that throw SmbExceptionModifier and TypeMethodDescriptionbooleanThis returns true if the file's attributes contain any of the attributes specified for this filter.booleanTests whether the specified SMB file should be included in a file list.booleanTests whether the specified filename should be included in a file list.booleanSmbFile.canRead()booleanSmbFile.canWrite()voidSmbRandomAccessFile.close()voidSmbTreeInternal.connectLogon(CIFSContext tf) Deprecated.voidSmbFile.copyTo(SmbResource d) CredentialsInternal.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.Kerb5Authenticator.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.NtlmPasswordAuthenticator.createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) Create an SSP context for authentication.voidSmbFile.createNewFile()longSmbFile.createTime()voidSmbFile.delete()voidNtlmContext.dispose()Disposes of the security context and releases any associated resources.booleanSmbFile.exists()longSmbFile.fileIndex()intSmbFile.getAttributes()byte[]SmbTransportPoolImpl.getChallenge(CIFSContext tf, Address dc) byte[]SmbTransportPoolImpl.getChallenge(CIFSContext tf, Address dc, int port) SmbFile.getDfsPath()If the path of thisSmbFilefalls within a DFS volume, this method will return the referral path to which it maps.longSmbFile.getDiskFreeSpace()byte[]NtlmPasswordAuthenticator.getSigningKey(CIFSContext tc, byte[] chlng) Get the signing key for this authenticationintSmbFile.getType()intSmbNamedPipe.getType()Returns type of of object thisSmbResourcerepresents.voidNtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc, byte[] chlng, byte[] dest, int offset) Deprecated.Calculates the effective user session key.voidNtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc, byte[] chlng, byte[] dest, int offset) Calculates the effective user session key.booleanSmbTransportInternal.hasCapability(int cap) Checks if the transport supports the specified capability.byte[]NtlmContext.initSecContext(byte[] token, int offset, int len) booleanSmbFile.isDirectory()booleanSmbFile.isFile()booleanSmbFile.isHidden()booleanSmbTransportInternal.isSigningEnforced()Checks if message signing is mandatory for this connection.booleanSmbTransportInternal.isSigningOptional()Checks if message signing is supported but not mandatory.booleanSmbTransportInternal.isSMB2()Checks if this transport uses the SMB2 protocol.longSmbFile.lastAccess()longSmbFile.lastModified()longSmbFile.length()longSmbRandomAccessFile.length()String[]SmbFile.list()List the contents of this SMB resource.String[]SmbFile.list(SmbFilenameFilter filter) List the contents of this SMB resource.SmbFile[]SmbFile.listFiles()List the contents of this SMB resource as an array ofSmbResourceobjects.SmbFile[]The CIFS protocol provides for DOS "wildcards" to be used as a performance enhancement.SmbFile[]SmbFile.listFiles(SmbFileFilter filter) List the contents of this SMB resource.SmbFile[]SmbFile.listFiles(SmbFilenameFilter filter) List the contents of this SMB resource.voidSmbTransportPoolImpl.logon(CIFSContext tf, Address dc) voidSmbTransportPoolImpl.logon(CIFSContext tf, Address dc, int port) Deprecated.protected byte[]NtlmContext.makeAuthenticate(byte[] token) Creates a Type 3 (authentication) message in response to a Type 2 (challenge) message.voidSmbFile.mkdir()voidSmbFile.mkdirs()SmbFile.openInputStream()SmbFile.openInputStream(int sharing) SmbFile.openInputStream(int flags, int access, int sharing) SmbFile.openOutputStream()SmbFile.openOutputStream(boolean append) SmbFile.openOutputStream(boolean append, int sharing) SmbFile.openOutputStream(boolean append, int openFlags, int access, int sharing) SmbFile.openRandomAccess(String mode) SmbFile.openRandomAccess(String mode, int sharing) intSmbRandomAccessFile.read()intSmbRandomAccessFile.read(byte[] b) intSmbRandomAccessFile.read(byte[] b, int off, int len) final booleanSmbRandomAccessFile.readBoolean()final byteSmbRandomAccessFile.readByte()final charSmbRandomAccessFile.readChar()final doubleSmbRandomAccessFile.readDouble()final floatSmbRandomAccessFile.readFloat()final voidSmbRandomAccessFile.readFully(byte[] b) final voidSmbRandomAccessFile.readFully(byte[] b, int off, int len) final intSmbRandomAccessFile.readInt()final StringSmbRandomAccessFile.readLine()final longSmbRandomAccessFile.readLong()final shortSmbRandomAccessFile.readShort()final intSmbRandomAccessFile.readUnsignedByte()final intSmbRandomAccessFile.readUnsignedShort()final StringSmbRandomAccessFile.readUTF()voidSmbFile.renameTo(SmbResource d) voidSmbFile.renameTo(SmbResource d, boolean replace) voidSmbFile.setAttributes(int attrs) voidSmbFile.setCreateTime(long time) voidSmbFile.setFileTimes(long createTime, long lastLastModified, long lastLastAccess) voidSmbFile.setLastAccess(long time) voidSmbFile.setLastModified(long time) voidSmbRandomAccessFile.setLength(long newLength) voidSmbFile.setReadOnly()voidSmbFile.setReadWrite()intSmbRandomAccessFile.skipBytes(int n) voidSmbSessionInternal.treeConnectLogon()Connect to the logon sharevoidSmbRandomAccessFile.write(byte[] b) voidSmbRandomAccessFile.write(byte[] b, int off, int len) voidSmbRandomAccessFile.write(int b) final voidSmbRandomAccessFile.writeBoolean(boolean v) final voidSmbRandomAccessFile.writeByte(int v) final voidSmbRandomAccessFile.writeBytes(String s) final voidSmbRandomAccessFile.writeChar(int v) final voidSmbRandomAccessFile.writeChars(String s) final voidSmbRandomAccessFile.writeDouble(double v) final voidSmbRandomAccessFile.writeFloat(float v) final voidSmbRandomAccessFile.writeInt(int v) final voidSmbRandomAccessFile.writeLong(long v) final voidSmbRandomAccessFile.writeShort(int v) final voidConstructors in org.codelibs.jcifs.smb.impl that throw SmbExceptionModifierConstructorDescriptionConstruct a SID from it's textual representation such asS-1-5-21-1496946806-2192648263-3843101252-1029.SmbFileInputStream(String url, CIFSContext tc) Creates an input stream for reading from the specified SMB URLSmbFileInputStream(SmbFile file) Creates anInputStreamfor reading bytes from a file on an SMB server represented by theSmbFileparameter.SmbFileOutputStream(SmbFile file) Creates anOutputStreamfor writing bytes to a file on an SMB server represented by theSmbFileparameter.SmbFileOutputStream(SmbFile file, boolean append) Creates anOutputStreamfor writing bytes to a file on an SMB server addressed by theSmbFileparameter.SmbRandomAccessFile(String url, String mode, int sharing, CIFSContext tc) Instantiate a random access file from URLSmbRandomAccessFile(SmbFile file, String mode) Instantiate a random access file from aSmbFile -
Uses of SmbException in org.codelibs.jcifs.smb.internal.smb1
Constructors in org.codelibs.jcifs.smb.internal.smb1 that throw SmbExceptionModifierConstructorDescriptionSMB1SigningDigest(SmbTransportInternal transport, NtlmPasswordAuthenticator auth) Constructs a signing digest from transport and authentication information -
Uses of SmbException in org.codelibs.jcifs.smb.internal.smb1.com
Constructors in org.codelibs.jcifs.smb.internal.smb1.com that throw SmbExceptionModifierConstructorDescriptionSmbComSessionSetupAndX(CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred) Constructs a session setup AndX request. -
Uses of SmbException in org.codelibs.jcifs.smb.internal.smb2.ioctl
Methods in org.codelibs.jcifs.smb.internal.smb2.ioctl that throw SmbExceptionModifier and TypeMethodDescription<T extends Decodable>
TSmb2IoctlResponse.getOutputData(Class<T> responseType) Gets the output data decoded as the specified response type.