A B C D E F G H I J L M N P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(SmbFile) - Method in class jcifs.smb.DosFileFilter
- accept(SmbFile) - Method in interface jcifs.smb.SmbFileFilter
- accept(SmbFile, String) - Method in interface jcifs.smb.SmbFilenameFilter
- ACE - Class in jcifs.smb
-
An Access Control Entry (ACE) is an element in a security descriptor such as those associated with files and directories.
- ACE() - Constructor for class jcifs.smb.ACE
- ANONYMOUS - Static variable in class jcifs.smb.NtlmPasswordAuthentication
- ATTR_ARCHIVE - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() or set with setAttributes() is an archived file
- ATTR_DIRECTORY - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() is a directory
- ATTR_HIDDEN - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() or set with setAttributes() will be hidden
- ATTR_READONLY - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() or set with setAttributes() will be read-only
- ATTR_SYSTEM - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() or set with setAttributes() will be a system file
- ATTR_VOLUME - Static variable in class jcifs.smb.SmbFile
-
A file with this bit on as returned by getAttributes() is a volume
- attributes - Variable in class jcifs.smb.DosFileFilter
- available() - Method in class jcifs.smb.SmbFileInputStream
-
This stream class is unbuffered.
B
- B_NODE - Static variable in class jcifs.netbios.NbtAddress
-
A B node only broadcasts name queries.
- Base64 - Class in jcifs.util
- Base64() - Constructor for class jcifs.util.Base64
C
- canRead() - Method in class jcifs.smb.SmbFile
-
Tests to see if the file this
SmbFile
represents can be read. - canWrite() - Method in class jcifs.smb.SmbFile
-
Tests to see if the file this
SmbFile
represents exists and is not marked read-only. - clone() - Method in class jcifs.util.HMACT64
- close() - Method in class jcifs.smb.SmbFileInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class jcifs.smb.SmbFileOutputStream
-
Closes this output stream and releases any system resources associated with it.
- close() - Method in class jcifs.smb.SmbRandomAccessFile
- Config - Class in jcifs
-
This class uses a static
Properties
to act as a cental repository for all jCIFS configuration properties. - connect() - Method in class jcifs.smb.SmbFile
-
It is not necessary to call this method directly.
- copyTo(SmbFile) - Method in class jcifs.smb.SmbFile
-
This method will copy the file or directory represented by this SmbFile and it's sub-contents to the location specified by the dest parameter.
- createNewFile() - Method in class jcifs.smb.SmbFile
-
Create a new file but fail if it already exists.
- createTime() - Method in class jcifs.smb.SmbFile
-
Retrieve the time this
SmbFile
was created. - CREATOR_OWNER - Static variable in class jcifs.smb.SID
D
- decode(String) - Static method in class jcifs.util.Base64
-
Decodes the supplied Base-64 encoded string.
- DEFAULT_OEM_ENCODING - Static variable in class jcifs.Config
- delete() - Method in class jcifs.smb.SmbFile
-
This method will delete the file or directory specified by this
SmbFile
. - DELETE - Static variable in class jcifs.smb.ACE
- dfs - Static variable in class jcifs.smb.SmbFile
- DosFileFilter - Class in jcifs.smb
- DosFileFilter(String, int) - Constructor for class jcifs.smb.DosFileFilter
E
- encode(byte[]) - Static method in class jcifs.util.Base64
-
Base-64 encodes the supplied block of data.
- engineDigest() - Method in class jcifs.util.HMACT64
- engineDigest(byte[], int, int) - Method in class jcifs.util.HMACT64
- engineGetDigestLength() - Method in class jcifs.util.HMACT64
- engineReset() - Method in class jcifs.util.HMACT64
- engineUpdate(byte) - Method in class jcifs.util.HMACT64
- engineUpdate(byte[], int, int) - Method in class jcifs.util.HMACT64
- equals(Object) - Method in class jcifs.netbios.NbtAddress
-
Determines if this address is equal two another.
- equals(Object) - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Compares two NtlmPasswordAuthentication objects for equality.
- equals(Object) - Method in class jcifs.smb.SID
- equals(Object) - Method in class jcifs.smb.SmbFile
-
Tests to see if two
SmbFile
objects are equal. - equals(Object) - Method in class jcifs.UniAddress
-
Compare two addresses for equality.
- EVERYONE - Static variable in class jcifs.smb.SID
- exists() - Method in class jcifs.smb.SmbFile
-
Tests to see if the SMB resource exists.
F
- FILE_APPEND_DATA - Static variable in class jcifs.smb.ACE
- FILE_DELETE - Static variable in class jcifs.smb.ACE
- FILE_EXECUTE - Static variable in class jcifs.smb.ACE
- FILE_NO_SHARE - Static variable in class jcifs.smb.SmbFile
-
When specified as the shareAccess constructor parameter, other SMB clients (including other threads making calls into jCIFS) will not be permitted to access the target file and will receive "The file is being accessed by another process" message.
- FILE_READ_ATTRIBUTES - Static variable in class jcifs.smb.ACE
- FILE_READ_DATA - Static variable in class jcifs.smb.ACE
- FILE_READ_EA - Static variable in class jcifs.smb.ACE
- FILE_SHARE_DELETE - Static variable in class jcifs.smb.SmbFile
-
When specified as the shareAccess constructor parameter, other SMB clients will be permitted to delete the target file while this file is open.
- FILE_SHARE_READ - Static variable in class jcifs.smb.SmbFile
-
When specified as the shareAccess constructor parameter, other SMB clients will be permitted to read from the target file while this file is open.
- FILE_SHARE_WRITE - Static variable in class jcifs.smb.SmbFile
-
When specified as the shareAccess constructor parameter, other SMB clients will be permitted to write to the target file while this file is open.
- FILE_WRITE_ATTRIBUTES - Static variable in class jcifs.smb.ACE
- FILE_WRITE_DATA - Static variable in class jcifs.smb.ACE
- FILE_WRITE_EA - Static variable in class jcifs.smb.ACE
- firstCalledName() - Method in class jcifs.netbios.NbtAddress
- firstCalledName() - Method in class jcifs.UniAddress
-
Guess first called name to try for session establishment.
- FLAGS_CONTAINER_INHERIT - Static variable in class jcifs.smb.ACE
- FLAGS_INHERIT_ONLY - Static variable in class jcifs.smb.ACE
- FLAGS_INHERITED - Static variable in class jcifs.smb.ACE
- FLAGS_NO_PROPAGATE - Static variable in class jcifs.smb.ACE
- FLAGS_OBJECT_INHERIT - Static variable in class jcifs.smb.ACE
G
- GENERIC_ALL - Static variable in class jcifs.smb.ACE
- GENERIC_EXECUTE - Static variable in class jcifs.smb.ACE
- GENERIC_READ - Static variable in class jcifs.smb.ACE
- GENERIC_WRITE - Static variable in class jcifs.smb.ACE
- get(String) - Static method in class jcifs.Config
-
Retrieve a property as an
Object
. - getAccessMask() - Method in class jcifs.smb.ACE
-
Returns the access mask accociated with this ACE.
- getAccountName() - Method in class jcifs.smb.SID
-
Return the sAMAccountName of this SID unless it could not be resolved in which case the numeric RID is returned.
- getAddress() - Method in class jcifs.netbios.NbtAddress
-
Returns the raw IP address of this NbtAddress.
- getAddress() - Method in class jcifs.UniAddress
-
Return the underlying NbtAddress or InetAddress.
- getAllByAddress(String) - Static method in class jcifs.netbios.NbtAddress
-
Retrieve all addresses of a host by it's address.
- getAllByAddress(String, int, String) - Static method in class jcifs.netbios.NbtAddress
-
Retrieve all addresses of a host by it's address.
- getAllByAddress(NbtAddress) - Static method in class jcifs.netbios.NbtAddress
-
Retrieve all addresses of a host by it's address.
- getAllByName(String, boolean) - Static method in class jcifs.UniAddress
- getAllByName(String, int, String, InetAddress) - Static method in class jcifs.netbios.NbtAddress
- getAnsiHash(byte[]) - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Computes the 24 byte ANSI password hash given the 8 byte server challenge.
- getApplyToText() - Method in class jcifs.smb.ACE
-
Returns the 'Apply To' text for inheritance of ACEs on directories such as 'This folder, subfolder and files'.
- getAttributes() - Method in class jcifs.smb.SmbFile
-
Return the attributes of this file.
- getBoolean(String, boolean) - Static method in class jcifs.Config
-
Retrieve a boolean value.
- getByName(String) - Static method in class jcifs.netbios.NbtAddress
-
Determines the address of a host given it's host name.
- getByName(String) - Static method in class jcifs.UniAddress
-
Determines the address of a host given it's host name.
- getByName(String, boolean) - Static method in class jcifs.UniAddress
-
Lookup hostname and return it's UniAddress.
- getByName(String, int, String) - Static method in class jcifs.netbios.NbtAddress
-
Determines the address of a host given it's host name.
- getByName(String, int, String, InetAddress) - Static method in class jcifs.netbios.NbtAddress
- getCanonicalPath() - Method in class jcifs.smb.SmbFile
-
Returns the full URL of this SMB resource with '.' and '..' components factored out.
- getContentLength() - Method in class jcifs.smb.SmbFile
-
This URLConnection method just returns the result of length().
- getDate() - Method in class jcifs.smb.SmbFile
-
This URLConnection method just returns the result of lastModified.
- getDfsPath() - Method in class jcifs.smb.SmbFile
-
If the path of this
SmbFile
falls within a DFS volume, this method will return the referral path to which it maps. - getDiskFreeSpace() - Method in class jcifs.smb.SmbFile
-
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.
- getDomain() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Returns the domain.
- getDomainName() - Method in class jcifs.smb.SID
-
Return the domain name of this SID unless it could not be resolved in which case the numeric representation is returned.
- getDomainSid() - Method in class jcifs.smb.SID
- getFilePointer() - Method in class jcifs.smb.SmbRandomAccessFile
- getFlags() - Method in class jcifs.smb.ACE
-
Returns the flags for this ACE.
- getGroupMemberSids(String, NtlmPasswordAuthentication, int) - Method in class jcifs.smb.SID
- getHostAddress() - Method in class jcifs.netbios.NbtAddress
-
Returns this IP adress as a
String
in the form "%d.%d.%d.%d". - getHostAddress() - Method in class jcifs.UniAddress
-
Return the IP address as text such as "192.168.1.15".
- getHostName() - Method in class jcifs.netbios.NbtAddress
-
The hostname of this address.
- getHostName() - Method in class jcifs.UniAddress
-
Return the hostname of this address such as "MYCOMPUTER".
- getInetAddress() - Method in class jcifs.netbios.NbtAddress
-
To convert this address to an
InetAddress
. - getInetAddress(String, InetAddress) - Static method in class jcifs.Config
-
Retrieve an
InetAddress
. - getInetAddressArray(String, String, InetAddress[]) - Static method in class jcifs.Config
-
Retrieve an array of InetAddress created from a property value containting a delim separated list of hostnames and/or ipaddresses.
- getInputStream() - Method in class jcifs.smb.SmbFile
-
This URLConnection method just returns a new SmbFileInputStream created with this file.
- getInstance() - Static method in class jcifs.util.LogStream
- getInt(String) - Static method in class jcifs.Config
-
Retrieve an
int
. - getInt(String, int) - Static method in class jcifs.Config
-
Retrieve an
int
. - getLastModified() - Method in class jcifs.smb.SmbFile
-
This URLConnection method just returns the result of lastModified.
- getLMv2Response(byte[], byte[], byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
- getLMv2Response(String, String, String, byte[], byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
-
Creates the LMv2 response for the supplied information.
- getLocalHost() - Static method in class jcifs.Config
- getLocalHost() - Static method in class jcifs.netbios.NbtAddress
-
Retrieves the local host address.
- getLocalName() - Static method in class jcifs.netbios.NbtAddress
- getLong(String, long) - Static method in class jcifs.Config
-
Retrieve a
long
. - getMacAddress() - Method in class jcifs.netbios.NbtAddress
-
Retrieves the MAC address of the remote network interface.
- getName() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Return the domain and username in the format: domain\\username.
- getName() - Method in class jcifs.smb.SmbFile
-
Returns the last component of the target URL.
- getNamedPipeInputStream() - Method in class jcifs.smb.SmbNamedPipe
-
Return the
InputStream
used to read information from this pipe instance. - getNamedPipeOutputStream() - Method in class jcifs.smb.SmbNamedPipe
-
Return the
OutputStream
used to write information to this pipe instance. - getNameType() - Method in class jcifs.netbios.NbtAddress
-
Returned the hex code associated with this name(e.g.
- getNetbiosName() - Method in class jcifs.smb.NtlmContext
- getNodeType() - Method in class jcifs.netbios.NbtAddress
-
Checks the node type of this address.
- getNTLM2Response(byte[], byte[], byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
- getNtlmPasswordAuthentication() - Method in class jcifs.smb.NtlmAuthenticator
-
An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the getRequestingURL and getRequestingException methods.
- getNTLMResponse(String, byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
-
Generate the Unicode MD4 hash for the password associated with these credentials.
- getNTLMv2Response(byte[], byte[], byte[], long, byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
- getNtStatus() - Method in exception jcifs.smb.SmbException
- getOutputStream() - Method in class jcifs.smb.SmbFile
-
This URLConnection method just returns a new SmbFileOutputStream created with this file.
- getParent() - Method in class jcifs.smb.SmbFile
-
Everything but the last component of the URL representing this SMB resource is effectivly it's parent.
- getPassword() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Returns the password in plain text or null if the raw password hashes were used to construct this NtlmPasswordAuthentication object which will be the case when NTLM HTTP Authentication is used.
- getPath() - Method in class jcifs.smb.SmbFile
-
Returns the full uncanonicalized URL of this SMB resource.
- getPreNTLMResponse(String, byte[]) - Static method in class jcifs.smb.NtlmPasswordAuthentication
-
Generate the ANSI DES hash for the password associated with these credentials.
- getPrincipal() - Method in class jcifs.smb.SmbFile
-
Returns the NtlmPasswordAuthentication object used as credentials with this file or pipe.
- getProperty(String) - Static method in class jcifs.Config
-
Retrieve a
String
. - getProperty(String, String) - Static method in class jcifs.Config
-
Retrieve a
String
. - getRequestingException() - Method in class jcifs.smb.NtlmAuthenticator
- getRequestingURL() - Method in class jcifs.smb.NtlmAuthenticator
- getRid() - Method in class jcifs.smb.SID
- getRootCause() - Method in exception jcifs.smb.SmbException
- getSecurity() - Method in class jcifs.smb.SmbFile
-
Return an array of Access Control Entry (ACE) objects representing the security descriptor associated with this file or directory.
- getSecurity(boolean) - Method in class jcifs.smb.SmbFile
-
Return an array of Access Control Entry (ACE) objects representing the security descriptor associated with this file or directory.
- getServer() - Method in class jcifs.smb.SmbFile
-
Retrieve the hostname of the server for this SMB resource.
- getServerChallenge() - Method in class jcifs.smb.NtlmContext
- getServerSid(String, NtlmPasswordAuthentication) - Static method in class jcifs.smb.SID
- getShare() - Method in class jcifs.smb.SmbFile
-
Retrieves the share associated with this SMB resource.
- getShareSecurity(boolean) - Method in class jcifs.smb.SmbFile
-
Return an array of Access Control Entry (ACE) objects representing the share permissions on the share exporting this file or directory.
- getSID() - Method in class jcifs.smb.ACE
-
Return the SID associated with this ACE.
- getSigningKey() - Method in class jcifs.smb.NtlmContext
- getSigningKey(byte[]) - Method in class jcifs.smb.NtlmPasswordAuthentication
- getType() - Method in class jcifs.smb.SID
-
Returns the type of this SID indicating the state or type of account.
- getType() - Method in class jcifs.smb.SmbFile
-
Returns type of of object this SmbFile represents.
- getTypeText() - Method in class jcifs.smb.SID
-
Return text represeting the SID type suitable for display to users.
- getUncPath() - Method in class jcifs.smb.SmbFile
-
Retuns the Windows UNC style path with backslashs intead of forward slashes.
- getUnicodeHash(byte[]) - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Computes the 24 byte Unicode password hash given the 8 byte server challenge.
- getUsername() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Returns the username.
- getUserSessionKey(byte[]) - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Returns the effective user session key.
- getWINSAddress() - Static method in class jcifs.netbios.NbtAddress
H
- H_NODE - Static variable in class jcifs.netbios.NbtAddress
-
A Hybrid node tries to resolve a name using the nameserver first.
- hashCode() - Method in class jcifs.netbios.NbtAddress
-
Returns a hashcode for this IP address.
- hashCode() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Return the upcased username hash code.
- hashCode() - Method in class jcifs.smb.SID
- hashCode() - Method in class jcifs.smb.SmbFile
-
Computes a hashCode for this file based on the URL string and IP address if the server.
- hashCode() - Method in class jcifs.UniAddress
-
Return the IP address of this address as a 32 bit integer.
- HMACT64 - Class in jcifs.util
-
This is an implementation of the HMACT64 keyed hashing algorithm.
- HMACT64(byte[]) - Constructor for class jcifs.util.HMACT64
-
Creates an HMACT64 instance which uses the given secret key material.
I
- init(byte[], int, int) - Method in class jcifs.util.RC4
- initSecContext(byte[], int, int) - Method in class jcifs.smb.NtlmContext
- isActive() - Method in class jcifs.netbios.NbtAddress
-
Determines if this address is active.
- isAllow() - Method in class jcifs.smb.ACE
-
Returns true if this ACE is an allow ACE and false if it is a deny ACE.
- isBeingDeleted() - Method in class jcifs.netbios.NbtAddress
-
Determines if this address in the process of being deleted.
- isDirectory() - Method in class jcifs.smb.SmbFile
-
Tests to see if the file this
SmbFile
represents is a directory. - isEstablished() - Method in class jcifs.smb.NtlmContext
- isFile() - Method in class jcifs.smb.SmbFile
-
Tests to see if the file this
SmbFile
represents is not a directory. - isGroupAddress() - Method in class jcifs.netbios.NbtAddress
-
Determines if the address is a group address.
- isHidden() - Method in class jcifs.smb.SmbFile
-
Tests to see if the file this SmbFile represents is marked as hidden.
- isInConflict() - Method in class jcifs.netbios.NbtAddress
-
Determines if this address in conflict with another address.
- isInherited() - Method in class jcifs.smb.ACE
-
Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
- isOpen() - Method in class jcifs.smb.SmbFileOutputStream
- isPermanent() - Method in class jcifs.netbios.NbtAddress
-
Determines if this address is set to be permanent.
- isWINS(InetAddress) - Static method in class jcifs.netbios.NbtAddress
J
- jcifs - package jcifs
- jcifs.netbios - package jcifs.netbios
- jcifs.smb - package jcifs.smb
- jcifs.util - package jcifs.util
L
- lastModified() - Method in class jcifs.smb.SmbFile
-
Retrieve the last time the file represented by this
SmbFile
was modified. - length() - Method in class jcifs.smb.SmbFile
-
Returns the length of this SmbFile in bytes.
- length() - Method in class jcifs.smb.SmbRandomAccessFile
- level - Static variable in class jcifs.util.LogStream
- list() - Method in class jcifs.smb.SmbFile
-
List the contents of this SMB resource.
- list(PrintStream) - Static method in class jcifs.Config
-
List the properties in the
Code
. - list(SmbFilenameFilter) - Method in class jcifs.smb.SmbFile
-
List the contents of this SMB resource.
- listFiles() - Method in class jcifs.smb.SmbFile
-
List the contents of this SMB resource as an array of
SmbFile
objects. - listFiles(String) - Method in class jcifs.smb.SmbFile
-
The CIFS protocol provides for DOS "wildcards" to be used as a performance enhancement.
- listFiles(SmbFileFilter) - Method in class jcifs.smb.SmbFile
-
List the contents of this SMB resource.
- listFiles(SmbFilenameFilter) - Method in class jcifs.smb.SmbFile
-
List the contents of this SMB resource.
- load(InputStream) - Static method in class jcifs.Config
-
Load the
Config
with properties from the streamin
from aProperties
file. - LogStream - Class in jcifs.util
-
0 - nothing 1 - critical [default] 2 - basic info can be logged under load 3 - almost everything N - debugging
- LogStream(PrintStream) - Constructor for class jcifs.util.LogStream
M
- M_NODE - Static variable in class jcifs.netbios.NbtAddress
-
Try Broadcast queries first, then try to resolve the name using the nameserver.
- MASTER_BROWSER_NAME - Static variable in class jcifs.netbios.NbtAddress
-
This is a special name for querying the master browser that serves the list of hosts found in "Network Neighborhood".
- mkdir() - Method in class jcifs.smb.SmbFile
-
Creates a directory with the path specified by this
SmbFile
. - mkdirs() - Method in class jcifs.smb.SmbFile
-
Creates a directory with the path specified by this SmbFile and any parent directories that do not exist.
N
- NbtAddress - Class in jcifs.netbios
-
This class represents a NetBIOS over TCP/IP address.
- nextCalledName() - Method in class jcifs.netbios.NbtAddress
- nextCalledName() - Method in class jcifs.UniAddress
-
Guess next called name to try for session establishment.
- NtlmAuthenticator - Class in jcifs.smb
-
This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials.
- NtlmAuthenticator() - Constructor for class jcifs.smb.NtlmAuthenticator
- NtlmContext - Class in jcifs.smb
-
For initiating NTLM authentication (including NTLMv2).
- NtlmContext(NtlmPasswordAuthentication, boolean) - Constructor for class jcifs.smb.NtlmContext
- NtlmPasswordAuthentication - Class in jcifs.smb
-
This class stores and encrypts NTLM user credentials.
- NtlmPasswordAuthentication(String) - Constructor for class jcifs.smb.NtlmPasswordAuthentication
-
Create an NtlmPasswordAuthentication object from the userinfo component of an SMB URL like "domain;user:pass".
- NtlmPasswordAuthentication(String, String, byte[], byte[], byte[]) - Constructor for class jcifs.smb.NtlmPasswordAuthentication
-
Create an NtlmPasswordAuthentication object with raw password hashes.
- NtlmPasswordAuthentication(String, String, String) - Constructor for class jcifs.smb.NtlmPasswordAuthentication
-
Create an NtlmPasswordAuthentication object from a domain, username, and password.
- nTOWFv1(String) - Static method in class jcifs.smb.NtlmPasswordAuthentication
- nTOWFv2(String, String, String) - Static method in class jcifs.smb.NtlmPasswordAuthentication
P
- P_NODE - Static variable in class jcifs.netbios.NbtAddress
-
A Point-to-Point node, or P node, unicasts queries to a nameserver only.
- pathNamesPossiblyEqual(String, String) - Method in class jcifs.smb.SmbFile
- PIPE_TYPE_CALL - Static variable in class jcifs.smb.SmbNamedPipe
-
Pipe operations should behave like the
CallNamedPipe
Win32 Named Pipe function. - PIPE_TYPE_DCE_TRANSACT - Static variable in class jcifs.smb.SmbNamedPipe
- PIPE_TYPE_RDONLY - Static variable in class jcifs.smb.SmbNamedPipe
-
The pipe should be opened read-only.
- PIPE_TYPE_RDWR - Static variable in class jcifs.smb.SmbNamedPipe
-
The pipe should be opened for both reading and writing.
- PIPE_TYPE_TRANSACT - Static variable in class jcifs.smb.SmbNamedPipe
-
Pipe operations should behave like the
TransactNamedPipe
Win32 Named Pipe function. - PIPE_TYPE_WRONLY - Static variable in class jcifs.smb.SmbNamedPipe
-
The pipe should be opened only for writing.
R
- RC4 - Class in jcifs.util
- RC4() - Constructor for class jcifs.util.RC4
- RC4(byte[]) - Constructor for class jcifs.util.RC4
- read() - Method in class jcifs.smb.SmbFileInputStream
-
Reads a byte of data from this input stream.
- read() - Method in class jcifs.smb.SmbRandomAccessFile
- read(byte[]) - Method in class jcifs.smb.SmbFileInputStream
-
Reads up to b.length bytes of data from this input stream into an array of bytes.
- read(byte[]) - Method in class jcifs.smb.SmbRandomAccessFile
- read(byte[], int, int) - Method in class jcifs.smb.SmbFileInputStream
-
Reads up to len bytes of data from this input stream into an array of bytes.
- read(byte[], int, int) - Method in class jcifs.smb.SmbRandomAccessFile
- READ_CONTROL - Static variable in class jcifs.smb.ACE
- readBoolean() - Method in class jcifs.smb.SmbRandomAccessFile
- readByte() - Method in class jcifs.smb.SmbRandomAccessFile
- readChar() - Method in class jcifs.smb.SmbRandomAccessFile
- readDirect(byte[], int, int) - Method in class jcifs.smb.SmbFileInputStream
- readDouble() - Method in class jcifs.smb.SmbRandomAccessFile
- readFloat() - Method in class jcifs.smb.SmbRandomAccessFile
- readFully(byte[]) - Method in class jcifs.smb.SmbRandomAccessFile
- readFully(byte[], int, int) - Method in class jcifs.smb.SmbRandomAccessFile
- readInt() - Method in class jcifs.smb.SmbRandomAccessFile
- readLine() - Method in class jcifs.smb.SmbRandomAccessFile
- readLong() - Method in class jcifs.smb.SmbRandomAccessFile
- readShort() - Method in class jcifs.smb.SmbRandomAccessFile
- readUnsignedByte() - Method in class jcifs.smb.SmbRandomAccessFile
- readUnsignedShort() - Method in class jcifs.smb.SmbRandomAccessFile
- readUTF() - Method in class jcifs.smb.SmbRandomAccessFile
- registerSmbURLHandler() - Static method in class jcifs.Config
-
This static method registers the SMB URL protocol handler which is required to use SMB URLs with the java.net.URL class.
- renameTo(SmbFile) - Method in class jcifs.smb.SmbFile
-
Changes the name of the file this
SmbFile
represents to the name designated by theSmbFile
argument. - requestNtlmPasswordAuthentication(String, SmbAuthException) - Static method in class jcifs.smb.NtlmAuthenticator
-
Used internally by jCIFS when an SmbAuthException is trapped to retrieve new user credentials.
- resolve(String, NtlmPasswordAuthentication) - Method in class jcifs.smb.SID
-
Manually resolve this SID.
- resolveSids(String, NtlmPasswordAuthentication, SID[]) - Static method in class jcifs.smb.SID
-
Resolve an array of SIDs using a cache and at most one MSRPC request.
- resolveSids(String, NtlmPasswordAuthentication, SID[], int, int) - Static method in class jcifs.smb.SID
S
- seek(long) - Method in class jcifs.smb.SmbRandomAccessFile
- setAttributes(int) - Method in class jcifs.smb.SmbFile
-
Set the attributes of this file.
- setCreateTime(long) - Method in class jcifs.smb.SmbFile
-
Set the create time of the file.
- setDefault(NtlmAuthenticator) - Static method in class jcifs.smb.NtlmAuthenticator
-
Set the default NtlmAuthenticator.
- setInstance(PrintStream) - Static method in class jcifs.util.LogStream
-
This must be called before getInstance is called or it will have no effect.
- setLastModified(long) - Method in class jcifs.smb.SmbFile
-
Set the last modified time of the file.
- setLength(long) - Method in class jcifs.smb.SmbRandomAccessFile
- setLevel(int) - Static method in class jcifs.util.LogStream
- seToIoe(SmbException) - Method in class jcifs.smb.SmbFileInputStream
- setProperties(Properties) - Static method in class jcifs.Config
-
Set the default properties of the static Properties used by Config.
- setProperty(String, String) - Static method in class jcifs.Config
-
Add a property.
- setReadOnly() - Method in class jcifs.smb.SmbFile
-
Make this file read-only.
- setReadWrite() - Method in class jcifs.smb.SmbFile
-
Turn off the read-only attribute of this file.
- SID - Class in jcifs.smb
-
A Windows SID is a numeric identifier used to represent Windows accounts.
- SID(byte[], int) - Constructor for class jcifs.smb.SID
- SID(String) - Constructor for class jcifs.smb.SID
-
Construct a SID from it's textual representation such as S-1-5-21-1496946806-2192648263-3843101252-1029.
- SID(rpc.sid_t, int, String, String, boolean) - Constructor for class jcifs.smb.SID
- SID(SID, int) - Constructor for class jcifs.smb.SID
-
Construct a SID from a domain SID and an RID (relative identifier).
- SID_FLAG_RESOLVE_SIDS - Static variable in class jcifs.smb.SID
- SID_TYPE_ALIAS - Static variable in class jcifs.smb.SID
- SID_TYPE_DELETED - Static variable in class jcifs.smb.SID
- SID_TYPE_DOM_GRP - Static variable in class jcifs.smb.SID
- SID_TYPE_DOMAIN - Static variable in class jcifs.smb.SID
- SID_TYPE_INVALID - Static variable in class jcifs.smb.SID
- SID_TYPE_UNKNOWN - Static variable in class jcifs.smb.SID
- SID_TYPE_USE_NONE - Static variable in class jcifs.smb.SID
- SID_TYPE_USER - Static variable in class jcifs.smb.SID
- SID_TYPE_WKN_GRP - Static variable in class jcifs.smb.SID
- skip(long) - Method in class jcifs.smb.SmbFileInputStream
-
Skip n bytes of data on this stream.
- skipBytes(int) - Method in class jcifs.smb.SmbRandomAccessFile
- SmbAuthException - Exception in jcifs.smb
-
The
SmbAuthException
encapsulates the variety of authentication related error codes returned by an SMB server. - SmbException - Exception in jcifs.smb
-
There are hundreds of error codes that may be returned by a CIFS server.
- SmbException(int, boolean) - Constructor for exception jcifs.smb.SmbException
- SmbFile - Class in jcifs.smb
-
This class represents a resource on an SMB network.
- SmbFile(String) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(String, String) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(String, String, NtlmPasswordAuthentication) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(String, String, NtlmPasswordAuthentication, int) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(String, NtlmPasswordAuthentication) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(String, NtlmPasswordAuthentication, int) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a file on an SMB network.
- SmbFile(URL) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory from a URL object.
- SmbFile(URL, NtlmPasswordAuthentication) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory from a URL object and an NtlmPasswordAuthentication object.
- SmbFile(SmbFile, String) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFile(SmbFile, String, int) - Constructor for class jcifs.smb.SmbFile
-
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
- SmbFileFilter - Interface in jcifs.smb
- SmbFileInputStream - Class in jcifs.smb
-
This InputStream can read bytes from a file on an SMB file server.
- SmbFileInputStream(String) - Constructor for class jcifs.smb.SmbFileInputStream
-
Creates an
InputStream
for reading bytes from a file on an SMB server addressed by theurl
parameter. - SmbFileInputStream(SmbFile) - Constructor for class jcifs.smb.SmbFileInputStream
-
Creates an
InputStream
for reading bytes from a file on an SMB server represented by theSmbFile
parameter. - SmbFilenameFilter - Interface in jcifs.smb
- SmbFileOutputStream - Class in jcifs.smb
-
This
OutputStream
can write bytes to a file on an SMB file server. - SmbFileOutputStream(String) - Constructor for class jcifs.smb.SmbFileOutputStream
-
Creates an
OutputStream
for writing to a file on an SMB server addressed by the URL parameter. - SmbFileOutputStream(String, boolean) - Constructor for class jcifs.smb.SmbFileOutputStream
-
Creates an
OutputStream
for writing bytes to a file on an SMB server addressed by the URL parameter. - SmbFileOutputStream(String, int) - Constructor for class jcifs.smb.SmbFileOutputStream
-
Creates an
OutputStream
for writing bytes to a file on an SMB server addressed by theSmbFile
parameter. - SmbFileOutputStream(SmbFile) - Constructor for class jcifs.smb.SmbFileOutputStream
-
Creates an
OutputStream
for writing bytes to a file on an SMB server represented by theSmbFile
parameter. - SmbFileOutputStream(SmbFile, boolean) - Constructor for class jcifs.smb.SmbFileOutputStream
-
Creates an
OutputStream
for writing bytes to a file on an SMB server addressed by theSmbFile
parameter. - SmbNamedPipe - Class in jcifs.smb
-
This class will allow a Java program to read and write data to Named Pipes and Transact NamedPipes.
- SmbNamedPipe(String, int) - Constructor for class jcifs.smb.SmbNamedPipe
-
Open the Named Pipe resource specified by the url parameter.
- SmbNamedPipe(String, int, NtlmPasswordAuthentication) - Constructor for class jcifs.smb.SmbNamedPipe
- SmbNamedPipe(URL, int, NtlmPasswordAuthentication) - Constructor for class jcifs.smb.SmbNamedPipe
- SmbRandomAccessFile - Class in jcifs.smb
- SmbRandomAccessFile(String, String, int) - Constructor for class jcifs.smb.SmbRandomAccessFile
- SmbRandomAccessFile(SmbFile, String) - Constructor for class jcifs.smb.SmbRandomAccessFile
- SMBSERVER_NAME - Static variable in class jcifs.netbios.NbtAddress
-
A special generic name specified when connecting to a host for which a name is not known.
- socketCount - Static variable in class jcifs.Config
- store(OutputStream, String) - Static method in class jcifs.Config
- SYNCHRONIZE - Static variable in class jcifs.smb.ACE
- SYSTEM - Static variable in class jcifs.smb.SID
T
- toByteArray(rpc.sid_t) - Static method in class jcifs.smb.SID
- toDisplayString() - Method in class jcifs.smb.SID
-
Return a String representing this SID ideal for display to users.
- toString() - Method in class jcifs.netbios.NbtAddress
-
Returns the
String
representaion of this address. - toString() - Method in class jcifs.smb.ACE
-
Return a string represeting this ACE.
- toString() - Method in class jcifs.smb.NtlmContext
- toString() - Method in class jcifs.smb.NtlmPasswordAuthentication
-
Return the domain and username in the format: domain\\username.
- toString() - Method in class jcifs.smb.SID
-
Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029.
- toString() - Method in exception jcifs.smb.SmbException
- toString() - Method in class jcifs.smb.SmbFile
-
Returns the string representation of this SmbFile object.
- toString() - Method in class jcifs.UniAddress
-
Return the a text representation of this address such as MYCOMPUTER/192.168.1.15.
- toURL() - Method in class jcifs.smb.SmbFile
-
Deprecated.Use getURL() instead
- TYPE_COMM - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a communications device. - TYPE_FILESYSTEM - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a regular file or directory. - TYPE_NAMED_PIPE - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a named pipe. - TYPE_PRINTER - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a printer. - TYPE_SERVER - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a server. - TYPE_SHARE - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a share. - TYPE_WORKGROUP - Static variable in class jcifs.smb.SmbFile
-
Returned by
SmbFile.getType()
if the resource this SmbFile represents is a workgroup.
U
- UniAddress - Class in jcifs
-
Under normal conditions it is not necessary to use this class to use jCIFS properly.
- UniAddress(Object) - Constructor for class jcifs.UniAddress
-
Create a UniAddress by wrapping an InetAddress or NbtAddress.
- update(byte[], int, int, byte[], int) - Method in class jcifs.util.RC4
W
- wildcard - Variable in class jcifs.smb.DosFileFilter
- write(byte[]) - Method in class jcifs.smb.SmbFileOutputStream
-
Writes b.length bytes from the specified byte array to this file output stream.
- write(byte[]) - Method in class jcifs.smb.SmbRandomAccessFile
- write(byte[], int, int) - Method in class jcifs.smb.SmbFileOutputStream
-
Writes len bytes from the specified byte array starting at offset off to this file output stream.
- write(byte[], int, int) - Method in class jcifs.smb.SmbRandomAccessFile
- write(int) - Method in class jcifs.smb.SmbFileOutputStream
-
Writes the specified byte to this file output stream.
- write(int) - Method in class jcifs.smb.SmbRandomAccessFile
- WRITE_DAC - Static variable in class jcifs.smb.ACE
- WRITE_OWNER - Static variable in class jcifs.smb.ACE
- writeBoolean(boolean) - Method in class jcifs.smb.SmbRandomAccessFile
- writeByte(int) - Method in class jcifs.smb.SmbRandomAccessFile
- writeBytes(String) - Method in class jcifs.smb.SmbRandomAccessFile
- writeChar(int) - Method in class jcifs.smb.SmbRandomAccessFile
- writeChars(String) - Method in class jcifs.smb.SmbRandomAccessFile
- writeDirect(byte[], int, int, int) - Method in class jcifs.smb.SmbFileOutputStream
-
Just bypasses TransWaitNamedPipe - used by DCERPC bind.
- writeDouble(double) - Method in class jcifs.smb.SmbRandomAccessFile
- writeFloat(float) - Method in class jcifs.smb.SmbRandomAccessFile
- writeInt(int) - Method in class jcifs.smb.SmbRandomAccessFile
- writeLong(long) - Method in class jcifs.smb.SmbRandomAccessFile
- writeShort(int) - Method in class jcifs.smb.SmbRandomAccessFile
- writeUTF(String) - Method in class jcifs.smb.SmbRandomAccessFile
All Classes All Packages