| Package | Description |
|---|---|
| jcifs | |
| jcifs.internal.smb1 | |
| jcifs.internal.smb1.com | |
| jcifs.internal.smb2.ioctl | |
| jcifs.smb |
| Modifier and Type | Method and Description |
|---|---|
void |
SmbRandomAccess.close()
Close the file
|
long |
SmbRandomAccess.length()
Get the current file length
|
int |
SmbRandomAccess.read()
Read a single byte from the current position
|
int |
SmbRandomAccess.read(byte[] b)
Read into buffer from current position
|
int |
SmbRandomAccess.read(byte[] b,
int off,
int len)
Read into buffer from current position
|
void |
SmbRandomAccess.setLength(long newLength)
Expand/truncate file length
|
| Constructor and Description |
|---|
SMB1SigningDigest(SmbTransportInternal transport,
NtlmPasswordAuthenticator auth) |
| Constructor and Description |
|---|
SmbComSessionSetupAndX(CIFSContext tc,
SmbComNegotiateResponse negotiated,
ServerMessageBlock andx,
Object cred) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Decodable> |
Smb2IoctlResponse.getOutputData(Class<T> responseType) |
| Modifier and Type | Class and Description |
|---|---|
class |
DfsReferral |
class |
SmbAuthException
The
SmbAuthException encapsulates the variety of
authentication related error codes returned by an SMB server. |
class |
SmbEndOfFileException |
class |
SMBSignatureValidationException |
class |
SmbUnsupportedOperationException |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DosFileFilter.accept(SmbFile file)
This returns true if the file's attributes contain any of the attributes
specified for this filter.
|
boolean |
SmbFileFilter.accept(SmbFile file) |
boolean |
SmbFilenameFilter.accept(SmbFile dir,
String name) |
boolean |
SmbFile.canRead() |
boolean |
SmbFile.canWrite() |
void |
SmbRandomAccessFile.close() |
void |
SmbTreeInternal.connectLogon(CIFSContext tf)
Deprecated.
|
void |
SmbFile.copyTo(SmbResource d) |
SSPContext |
NtlmPasswordAuthenticator.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
SSPContext |
Kerb5Authenticator.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
SSPContext |
CredentialsInternal.createContext(CIFSContext tc,
String targetDomain,
String host,
byte[] initialToken,
boolean doSigning) |
void |
SmbFile.createNewFile() |
long |
SmbFile.createTime() |
void |
SmbFile.delete() |
void |
NtlmContext.dispose() |
boolean |
SmbFile.exists() |
long |
SmbFile.fileIndex() |
int |
SmbFile.getAttributes() |
byte[] |
SmbTransportPoolImpl.getChallenge(CIFSContext tf,
Address dc) |
byte[] |
SmbTransportPoolImpl.getChallenge(CIFSContext tf,
Address dc,
int port) |
String |
SmbFile.getDfsPath()
If the path of this
SmbFile falls within a DFS volume,
this method will return the referral path to which it maps. |
long |
SmbFile.getDiskFreeSpace() |
byte[] |
NtlmPasswordAuthenticator.getSigningKey(CIFSContext tc,
byte[] chlng) |
int |
SmbNamedPipe.getType()
Returns type of of object this SmbResource represents.
|
int |
SmbFile.getType() |
void |
NtlmPasswordAuthenticator.getUserSessionKey(CIFSContext tc,
byte[] chlng,
byte[] dest,
int offset)
Calculates the effective user session key.
|
void |
NtlmPasswordAuthentication.getUserSessionKey(CIFSContext tc,
byte[] chlng,
byte[] dest,
int offset)
Deprecated.
Calculates the effective user session key.
|
boolean |
SmbTransportInternal.hasCapability(int cap) |
byte[] |
NtlmContext.initSecContext(byte[] token,
int offset,
int len) |
boolean |
SmbFile.isDirectory() |
boolean |
SmbFile.isFile() |
boolean |
SmbFile.isHidden() |
boolean |
SmbTransportInternal.isSigningEnforced() |
boolean |
SmbTransportInternal.isSigningOptional() |
boolean |
SmbTransportInternal.isSMB2() |
long |
SmbFile.lastAccess() |
long |
SmbFile.lastModified() |
long |
SmbFile.length() |
long |
SmbRandomAccessFile.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 of
SmbResource objects. |
SmbFile[] |
SmbFile.listFiles(SmbFileFilter filter)
List the contents of this SMB resource.
|
SmbFile[] |
SmbFile.listFiles(SmbFilenameFilter filter)
List the contents of this SMB resource.
|
SmbFile[] |
SmbFile.listFiles(String wildcard)
The CIFS protocol provides for DOS "wildcards" to be used as
a performance enhancement.
|
void |
SmbTransportPoolImpl.logon(CIFSContext tf,
Address dc) |
void |
SmbTransportPoolImpl.logon(CIFSContext tf,
Address dc,
int port)
Deprecated.
|
void |
SmbFile.mkdir() |
void |
SmbFile.mkdirs() |
SmbFileInputStream |
SmbFile.openInputStream() |
SmbFileInputStream |
SmbFile.openInputStream(int sharing) |
SmbFileInputStream |
SmbFile.openInputStream(int flags,
int access,
int sharing) |
SmbFileOutputStream |
SmbFile.openOutputStream() |
SmbFileOutputStream |
SmbFile.openOutputStream(boolean append) |
SmbFileOutputStream |
SmbFile.openOutputStream(boolean append,
int sharing) |
SmbFileOutputStream |
SmbFile.openOutputStream(boolean append,
int openFlags,
int access,
int sharing) |
SmbRandomAccessFile |
SmbFile.openRandomAccess(String mode) |
SmbRandomAccessFile |
SmbFile.openRandomAccess(String mode,
int sharing) |
int |
SmbRandomAccessFile.read() |
int |
SmbRandomAccessFile.read(byte[] b) |
int |
SmbRandomAccessFile.read(byte[] b,
int off,
int len) |
boolean |
SmbRandomAccessFile.readBoolean() |
byte |
SmbRandomAccessFile.readByte() |
char |
SmbRandomAccessFile.readChar() |
double |
SmbRandomAccessFile.readDouble() |
float |
SmbRandomAccessFile.readFloat() |
void |
SmbRandomAccessFile.readFully(byte[] b) |
void |
SmbRandomAccessFile.readFully(byte[] b,
int off,
int len) |
int |
SmbRandomAccessFile.readInt() |
String |
SmbRandomAccessFile.readLine() |
long |
SmbRandomAccessFile.readLong() |
short |
SmbRandomAccessFile.readShort() |
int |
SmbRandomAccessFile.readUnsignedByte() |
int |
SmbRandomAccessFile.readUnsignedShort() |
String |
SmbRandomAccessFile.readUTF() |
void |
SmbFile.renameTo(SmbResource d) |
void |
SmbFile.renameTo(SmbResource d,
boolean replace) |
void |
SmbFile.setAttributes(int attrs) |
void |
SmbFile.setCreateTime(long time) |
void |
SmbFile.setFileTimes(long createTime,
long lastLastModified,
long lastLastAccess) |
void |
SmbFile.setLastAccess(long time) |
void |
SmbFile.setLastModified(long time) |
void |
SmbRandomAccessFile.setLength(long newLength) |
void |
SmbFile.setReadOnly() |
void |
SmbFile.setReadWrite() |
int |
SmbRandomAccessFile.skipBytes(int n) |
void |
SmbSessionInternal.treeConnectLogon()
Connect to the logon share
|
void |
SmbRandomAccessFile.write(byte[] b) |
void |
SmbRandomAccessFile.write(byte[] b,
int off,
int len) |
void |
SmbRandomAccessFile.write(int b) |
void |
SmbRandomAccessFile.writeBoolean(boolean v) |
void |
SmbRandomAccessFile.writeByte(int v) |
void |
SmbRandomAccessFile.writeBytes(String s) |
void |
SmbRandomAccessFile.writeChar(int v) |
void |
SmbRandomAccessFile.writeChars(String s) |
void |
SmbRandomAccessFile.writeDouble(double v) |
void |
SmbRandomAccessFile.writeFloat(float v) |
void |
SmbRandomAccessFile.writeInt(int v) |
void |
SmbRandomAccessFile.writeLong(long v) |
void |
SmbRandomAccessFile.writeShort(int v) |
void |
SmbRandomAccessFile.writeUTF(String str) |
| Constructor and Description |
|---|
SID(String textual)
Construct a SID from it's textual representation such as
S-1-5-21-1496946806-2192648263-3843101252-1029.
|
SmbFileInputStream(SmbFile file)
Creates an
InputStream for reading bytes from a file on
an SMB server represented by the SmbFile parameter. |
SmbFileInputStream(String url,
CIFSContext tc) |
SmbFileOutputStream(SmbFile file)
Creates an
OutputStream for writing bytes to a file on
an SMB server represented by the SmbFile parameter. |
SmbFileOutputStream(SmbFile file,
boolean append)
Creates an
OutputStream for writing bytes to a file
on an SMB server addressed by the SmbFile parameter. |
SmbRandomAccessFile(SmbFile file,
String mode)
Instantiate a random access file from a
SmbFile |
SmbRandomAccessFile(String url,
String mode,
int sharing,
CIFSContext tc)
Instantiate a random access file from URL
|
Copyright © 2021. All rights reserved.