A B C D E G H I J L M N O P R S T W

A

addMask(int) - Static method in class jcifs.util.Log
 
ADDRESS_CACHE - Static variable in class jcifs.netbios.Log
This mask produces the contents of the netbios address cache.
ALL - Static variable in class jcifs.util.Log
Log all messages.
ALL - Static variable in class jcifs.netbios.Log
 
ALL_HOSTS_NAME - Static variable in class jcifs.netbios.NbtAddress
This is a special name that means all hosts.

B

B_NODE - Static variable in class jcifs.netbios.NbtAddress
Broadcast queries only.

C

canRead() - Method in class jcifs.smb.SmbFile
Tests to see if the file this SmbFile represents is marked read-only.
canWrite() - Method in class jcifs.smb.SmbFile
Tests to see if the file this SmbFile represents is not marked read-only.
checkError() - Method in class jcifs.util.LogWriter
Flush the stream and check error state
clone() - Method in class jcifs.util.MD4
Returns a copy of this MD object.
close() - Method in class jcifs.smb.SmbFileOutputStream
Closes this file output stream and releases any system resources associated with this stream.
close() - Method in class jcifs.smb.SmbFileInputStream
Closes this file input stream and releases any system resources associated with the stream.
close() - Method in class jcifs.util.LogWriter
Close the stream
close() - Method in class jcifs.netbios.NbtSocket
 
Config - class jcifs.util.Config.
This class uses a static PropertiesTree to act as a cental repository of configuration information.
Config() - Constructor for class jcifs.util.Config
 
connect() - Method in class jcifs.smb.SmbURLConnection
Issue the actual socket IO necesary to open a connection with the server hosting the target resource.

D

DEBUGGING - Static variable in class jcifs.util.Log
Use this when your just trying to log information while coding.
decrypt(byte[]) - Method in class jcifs.util.DES
decrypts an array where the length must be a multiple of 8
decrypt(byte[], byte[]) - Method in class jcifs.util.DES
 
delete() - Method in class jcifs.smb.SmbFile
Deletes the file on the SMB server that this SmbFile represents.
DES - class jcifs.util.DES.
This code is derived from the above source JCIFS API Norbert Hranitzky
DES() - Constructor for class jcifs.util.DES
 
DES(byte[]) - Constructor for class jcifs.util.DES
 

E

encrypt(byte[]) - Method in class jcifs.util.DES
encrypts an array where the length must be a multiple of 8
encrypt(byte[], byte[]) - Method in class jcifs.util.DES
 
engineDigest() - Method in class jcifs.util.MD4
Completes the hash computation by performing final operations such as padding.
engineReset() - Method in class jcifs.util.MD4
Resets this object disregarding any temporary data present at the time of the invocation of this call.
engineUpdate(byte) - Method in class jcifs.util.MD4
Continues an MD4 message digest using the input byte.
engineUpdate(byte[], int, int) - Method in class jcifs.util.MD4
MD4 block update operation.
equals(NbtAddress) - Method in class jcifs.netbios.NbtAddress
Determines if this address is equal two another.
equals(Object) - Method in class jcifs.smb.SmbFile
Tests to see if two SmbFile objects are equal by comparing hashCodes.
EXCEPTIONS - Static variable in class jcifs.util.Log
This is the default mask.
exists() - Method in class jcifs.smb.SmbFile
Tests to see if the file this SmbFile represents exists on the server.

G

get(Object) - Method in class jcifs.util.PropertiesTree
Retrieved the property specified by the key parameter, seraching parent nodes if necessary.
get(String) - Static method in class jcifs.util.Config
Retrieve a property from the static PropertiesTree.
getAddress() - Method in class jcifs.netbios.NbtAddress
Returns the raw IP address of this NbtAddress.
getAllByAddress(NbtAddress) - Static method in class jcifs.netbios.NbtAddress
Retrieve all addresses of a host by it's address.
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.
getBoolean(String, boolean) - Static method in class jcifs.util.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, int, String) - Static method in class jcifs.netbios.NbtAddress
Determines the address of a host given it's host name.
getCanonicalPath() - Method in class jcifs.smb.SmbFile
Returns the full URL with '..' and '.' components factored out.
getContentLength() - Method in class jcifs.smb.SmbURLConnection
Return the length in bytes of the resource specified by the URL.
getDate() - Method in class jcifs.smb.SmbURLConnection
Retrieves the last modified time of the file or directory specified by the URL for this connection.
getHexString(byte[], int, int) - Static method in class jcifs.util.Log
 
getHexString(int, int) - Static method in class jcifs.util.Log
This is an alternative to the java.lang.Integer.toHexString method.
getHexString(long, int) - Static method in class jcifs.util.Log
 
getHostAddress() - Method in class jcifs.netbios.NbtAddress
Returns this IP adress as a String in the form "%d.%d.%d.%d".
getHostName() - Method in class jcifs.netbios.NbtAddress
The hostname of this address.
getInetAddress() - Method in class jcifs.netbios.NbtAddress
To convert this address to an InetAddress.
getInetAddress(String, InetAddress) - Static method in class jcifs.util.Config
Retrieve an address from the PropertiesTree and return as InetAddress.
getInputStream() - Method in class jcifs.smb.SmbURLConnection
Create an InputStream from which bytes may be read from the taget specified by the URL of this connection.
getInputStream() - Method in class jcifs.netbios.NbtSocket
 
getInt(String) - Static method in class jcifs.util.Config
Retrieve an int from the PropertiesTree.
getInt(String, int) - Static method in class jcifs.util.Config
 
getLastModified() - Method in class jcifs.smb.SmbURLConnection
Retrieves the last modified time of the file or directory specified by the URL for this connection.
getLocalAddress() - Method in class jcifs.netbios.NbtSocket
 
getLocalHost() - Static method in class jcifs.netbios.NbtAddress
Retrieves the local host address.
getLocalPort() - Method in class jcifs.netbios.NbtSocket
 
getMacAddress() - Method in class jcifs.netbios.NbtAddress
Retrieves the MAC address of the remote network interface.
getName() - Method in class jcifs.smb.SmbFile
Returns the last component of the path.
getNbtAddress() - Method in class jcifs.netbios.NbtSocket
 
getNodeType() - Method in class jcifs.netbios.NbtAddress
Checks the node type of this address.
getOutputStream() - Method in class jcifs.netbios.NbtSocket
 
getParent() - Method in class jcifs.smb.SmbFile
Returns everything but the last component of the path.
getPath() - Method in class jcifs.smb.SmbFile
Returns the full URL.
getPort() - Method in class jcifs.netbios.NbtSocket
 
getProperty(String) - Method in class jcifs.util.PropertiesTree
Retrieve a property from the tree by searching parent nodes if necessary and return the value as a String.
getProperty(String) - Static method in class jcifs.util.Config
Retrieve a property from the static PropertiesTree.
getProperty(String, String) - Method in class jcifs.util.PropertiesTree
Retrieve a property from the tree by searching parent nodes if necessary and return the value as a String.
getProperty(String, String) - Static method in class jcifs.util.Config
Retrieve a property from the static PropertiesTree.

H

H_NODE - Static variable in class jcifs.netbios.NbtAddress
A Hybrid node tries to resolve a name using the nameserver first.
Handler - class jcifs.smb.Handler.
 
Handler() - Constructor for class jcifs.smb.Handler
 
hashCode() - Method in class jcifs.smb.SmbFile
Computes a hashCode for this file based on the URL string.
hashCode() - Method in class jcifs.netbios.NbtAddress
Returns a hashcode for this IP address.
HEX_DUMPS - Static variable in class jcifs.util.Log
This is used by the Log.printHexDump(java.lang.String, byte[]) function provided by this class.

I

init() - Static method in class jcifs.util.Config
This method is actually empty.
isActive() - Method in class jcifs.netbios.NbtAddress
Determines if this address is active.
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.
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 being hidden.
isInConflict() - Method in class jcifs.netbios.NbtAddress
Determines if this address in conflict with another address.
isPermanent() - Method in class jcifs.netbios.NbtAddress
Determines if this address is set to be permanent.
isSet(int) - Static method in class jcifs.util.Log
 

J

jcifs.netbios - package jcifs.netbios
 
jcifs.smb - package jcifs.smb
This package will enable Java applications to remotely access shared directories on SMB file servers(i.e. Microsoft Windows "shares").
jcifs.util - package jcifs.util
 

L

lastModified() - Method in class jcifs.smb.SmbFile
Returns the time the file this SmbFile represents was lastModified.
length() - Method in class jcifs.smb.SmbFile
Returns the length of the file this SmbFile represents.
list() - Method in class jcifs.smb.SmbFile
Returns the names of files and directorys listed under the directory this SmbFile represents.
list(PrintStream) - Method in class jcifs.util.PropertiesTree
List all properties in the traditional output format and truncated to ensure the contents fit within the display.
load(InputStream) - Method in class jcifs.util.PropertiesTree
Load all properties from the provided InputStream.
lock - Variable in class jcifs.util.LogWriter
The object used to synchronize operations on this stream
Log - class jcifs.smb.Log.
Provides logging methods specific to the smb package.
Log - class jcifs.util.Log.
This log utility uses a combination of bit mask control and io stream functionality.
Log - class jcifs.netbios.Log.
Provides logging methods specific to the netbios package.
Log() - Constructor for class jcifs.util.Log
 
LogWriter - class jcifs.util.LogWriter.
This class is basically a PrintWriter that prepends a timestamp before each message is written to the underlying stream.
LogWriter(OutputStream) - Constructor for class jcifs.util.LogWriter
Create a new LogWriter instance that uses the specified output stream as it's underlying stream
LogWriter(Writer) - Constructor for class jcifs.util.LogWriter
Create a new LogWriter instance.

M

M_NODE - Static variable in class jcifs.netbios.NbtAddress
Try Broadcast queries first, then try to resolve the name using the nameserver.
makeSMBKey(byte[], byte[]) - Static method in class jcifs.util.DES
 
mask - Static variable in class jcifs.util.Log
This is the integer mask shared by all Log classes.
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".
MD4 - class jcifs.util.MD4.
Implements the MD4 message digest algorithm in Java.
MD4() - Constructor for class jcifs.util.MD4
 
MESSAGE_DATA - Static variable in class jcifs.smb.Log
 
mkdir() - Method in class jcifs.smb.SmbFile
Creates a directory with the path specified by this SmbFile.

N

NAME_SERVICE_PACKET_DATA - Static variable in class jcifs.netbios.Log
This mask produces limited netbios name service packet information.
NbtAddress - class jcifs.netbios.NbtAddress.
This class represents a netbios over TCP/IP address.
NbtSocket - class jcifs.netbios.NbtSocket.
This class represents a netbios TCP/IP socket.
NbtSocket() - Constructor for class jcifs.netbios.NbtSocket
 
NbtSocket(NbtAddress, int) - Constructor for class jcifs.netbios.NbtSocket
 
NbtSocket(NbtAddress, int, InetAddress, int) - Constructor for class jcifs.netbios.NbtSocket
 
NL - Static variable in class jcifs.util.Log
The systems line separator.
NL_LENGTH - Static variable in class jcifs.util.Log
The systems line separator length.
NONE - Static variable in class jcifs.util.Log
Mask to indicate that no messages should be logged(not even exceptions).
NONE - Static variable in class jcifs.netbios.Log
 

O

openConnection(URL) - Method in class jcifs.smb.Handler
 
out - Static variable in class jcifs.util.Log
The shared output stream shared by all Log classes.

P

P_NODE - Static variable in class jcifs.netbios.NbtAddress
A Point-to-Point node unicasts queries only.
parseURL(URL, String, int, int) - Method in class jcifs.smb.Handler
 
printHexDump(String, byte[]) - Static method in class jcifs.util.Log
Hex dumps are ubiquitous enough to provide a standard and easy-to-use method for logging them.
printHexDump(String, byte[], int, int) - Static method in class jcifs.util.Log
 
println(int, String, char[]) - Static method in class jcifs.util.Log
Print a char[] array.
println(int, String, int) - Static method in class jcifs.util.Log
Print an int.
println(int, String, Object) - Static method in class jcifs.util.Log
Print an Object.
println(int, String, String) - Static method in class jcifs.util.Log
Print a String.
println(String, char[]) - Method in class jcifs.util.LogWriter
Print an array of char to the log.
println(String, int) - Method in class jcifs.util.LogWriter
Print an int to the log stream.
println(String, Object) - Method in class jcifs.util.LogWriter
Print the string representation of an Object to the screen.
println(String, String) - Method in class jcifs.util.LogWriter
Print a String to the log.
printStackTrace(String, Throwable) - Static method in class jcifs.util.Log
Provides standard way to log any Throwable object like an Exception.
printStackTrace(String, Throwable) - Method in class jcifs.util.LogWriter
This is a pervasive enough feature for a logging utility that it is built in.
PropertiesTree - class jcifs.util.PropertiesTree.
This class is backwords compatible with Properties however another dimension is added by using the customary dot '.' as an operator to alternativly represent properties as trees.
PropertiesTree() - Constructor for class jcifs.util.PropertiesTree
Construct an empty properties tree with no values.
put(Object, Object) - Method in class jcifs.util.PropertiesTree
Put a key and value into the tree.

R

read() - Method in class jcifs.smb.SmbFileInputStream
Reads a byte of data from this input stream.
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[], int, int) - Method in class jcifs.smb.SmbFileInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
renameTo(SmbFile) - Method in class jcifs.smb.SmbFile
Changes the name of the file this SmbFile represents to the name designated by the SmbFile argument(Remember SmbFiles are immutible and therefore the path associated with this SmbFile object will not change).
RESERVED2 - Static variable in class jcifs.smb.Log
 
RESERVED3 - Static variable in class jcifs.smb.Log
 
RESERVED8 - Static variable in class jcifs.netbios.Log
reserved for this package

S

save(OutputStream, String) - Method in class jcifs.util.PropertiesTree
Save this properties tree to the specified OutputStream.
save(OutputStream, String, boolean) - Method in class jcifs.util.PropertiesTree
Save this properties tree to the specified OutputStream.
SESSION_SERVICE_PACKET_DATA - Static variable in class jcifs.netbios.Log
 
setDateFormat(String) - Static method in class jcifs.util.Log
This controls what is passed to SimpleDateFormat to control what the timestamp looks like in the log stream.
setDateFormat(String) - Static method in class jcifs.util.LogWriter
Set the date format used to render the timestamp written with each message.
setError() - Method in class jcifs.util.LogWriter
Indicate that an error has occured
setKey(byte[]) - Method in class jcifs.util.DES
 
setMask(int) - Static method in class jcifs.util.Log
Set the mask used to screen all calls to logging methods.
setPrintWriter(OutputStream) - Static method in class jcifs.util.Log
Specify an OutputStream to be used as the underlying stream.
setPrintWriter(Writer) - Static method in class jcifs.util.Log
Set the Writer used as the underlying stream.
setProperty(String, String) - Static method in class jcifs.util.Config
Put a property into the static PropertiesTree.
SmbFile - class jcifs.smb.SmbFile.
This class represents a file or directory on an SMB file server.
SmbFile(SmbFile, String) - Constructor for class jcifs.smb.SmbFile
Constructs an SmbFile representing a file or directory on an SMB server specified by the SmbFile augmented with the named path.
SmbFile(String) - Constructor for class jcifs.smb.SmbFile
Constructs and SmbFile representing a file or directory on an SMB server specified by the URL argument.
SmbFile(String, String) - Constructor for class jcifs.smb.SmbFile
Constructs an SmbFile representing a file or directory on an SMB server specified by the URL argument and the possibly null relative path.
SmbFileInputStream - class jcifs.smb.SmbFileInputStream.
This InputStream can read bytes from a file on an SMB file server.
SmbFileInputStream(SmbFile) - Constructor for class jcifs.smb.SmbFileInputStream
Creates an InputStream for reading bytes from a file on an SMB server represented by the SmbFile parameter.
SmbFileInputStream(String) - Constructor for class jcifs.smb.SmbFileInputStream
Creates an InputStream for reading bytes from a file on an SMB server addressed by the URL parameter.
SmbFileOutputStream - class jcifs.smb.SmbFileOutputStream.
This OutputStream can write bytes to a file on an SMB file server.
SmbFileOutputStream(SmbFile) - Constructor for class jcifs.smb.SmbFileOutputStream
Creates an OutputStream for writing to a file on an SMB server represented by the SmbFile parameter.
SmbFileOutputStream(SmbFile, boolean) - Constructor for class jcifs.smb.SmbFileOutputStream
 
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 to a file on an SMB server addressed by the URL parameter.
SmbURLConnection - class jcifs.smb.SmbURLConnection.
This class represents a communications link between an application and an SMB resource represented by a URL.
spreadIntsToBytes(int[], int, byte[], int, int) - Static method in class jcifs.util.DES
 
squashBytesToInts(byte[], int, int[], int, int) - Static method in class jcifs.util.DES
 

T

TEST1 - Static variable in class jcifs.smb.Log
 
toExternalForm(URL) - Method in class jcifs.smb.Handler
 
toHexChars(int, char[], int, int) - Static method in class jcifs.util.Log
This is the same as Log.getHexString(int val, int size) but provides a more practical form when trying to avoid String concatenation and StringBuffer.
toHexChars(long, char[], int, int) - Static method in class jcifs.util.Log
 
toString() - Method in class jcifs.smb.SmbURLConnection
Return a String representing this object.
toString() - Method in class jcifs.smb.SmbFile
Returns the string representation of this SmbFile object.
toString() - Method in class jcifs.netbios.NbtAddress
Returns the String representaion of this address.
toString() - Method in class jcifs.netbios.NbtSocket
 
toURL() - Method in class jcifs.smb.SmbFile
Returns the URL representation of the file this SmbFile represents.

W

WARNINGS - Static variable in class jcifs.util.Log
This is just a standard convention for warning messages.
write(byte[]) - Method in class jcifs.smb.SmbFileOutputStream
Writes b.length bytes from the specified byte array to this file output stream.
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(int) - Method in class jcifs.smb.SmbFileOutputStream
Writes the specified byte to this file output stream.

A B C D E G H I J L M N O P R S T W