All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

accept(File, String). Method in class kmy.util.match.FileMatchingFilter
this method determines if string candidate matches this pattern.
addFTPDListener(FTPDListener). Method in class kmy.net.ftpd.FTPDaemon
Registers new FTPDListener that will receive notifications for every new connection and every new command on every connection.
addUser(FTPDUser). Method in class kmy.net.ftpd.FTPDaemon
Add a user into default user directory.
addUser(String, String, String). Method in class kmy.net.ftpd.FTPDaemon
Add a user into default user directory.
APPE(String). Method in class kmy.net.ftpd.FTPDConnection
APPE_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
authentified. Variable in class kmy.net.ftpd.FTPDConnection

B

buildDataConnection(String, String, long). Method in class kmy.net.ftpd.FTPDConnection
Builds data connection using either previous PORT command data or passive mode port.

C

canList(). Method in class kmy.net.ftpd.VirtualFile
Check if this object is a readable directory.
canList(). Method in class kmy.net.ftpd.VirtualObject
Check if this object is a readable directory.
canRead(). Method in class kmy.net.ftpd.VirtualFile
Check if this object is not a folder and can be read.
canRead(). Method in class kmy.net.ftpd.VirtualObject
Check if this object is not a folder and can be read.
canWrite(). Method in class kmy.net.ftpd.VirtualFile
Check if this object is not a folder and can be written.
canWrite(). Method in class kmy.net.ftpd.VirtualObject
Check if this object is not a folder and can be written.
CDUP(String). Method in class kmy.net.ftpd.FTPDConnection
CDUP_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
challenge. Variable in class kmy.net.ftpd.FTPDConnection
createConnection(Socket). Method in class kmy.net.ftpd.FTPDaemon
Creates connection processing thread for the new incoming connection.
CWD(String). Method in class kmy.net.ftpd.FTPDConnection
CWD_HELP. Static variable in class kmy.net.ftpd.FTPDConnection

D

DATA_ASCII. Static variable in class kmy.net.ftpd.FTPDConnection
DATA_BIN. Static variable in class kmy.net.ftpd.FTPDConnection
dataHost. Variable in class kmy.net.ftpd.FTPDConnection
dataMode. Variable in class kmy.net.ftpd.FTPDConnection
dataPort. Variable in class kmy.net.ftpd.FTPDConnection
debug(). Method in class kmy.net.ftpd.FTPDConnection
Convenience method: used to obtain server's debug flag.
DELE(String). Method in class kmy.net.ftpd.FTPDConnection
DELE_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
delete(). Method in class kmy.net.ftpd.VirtualFile
Request to delete this file
delete(). Method in class kmy.net.ftpd.VirtualObject
Request to delete this resource

E

expand(String). Static method in class kmy.util.match.FileMatchingPattern
Expands {} constructs.

F

FileMatchingFilter(String). Constructor for class kmy.util.match.FileMatchingFilter
Constructs new FileMatchingFilter from its string representation
FileMatchingPattern(String). Constructor for class kmy.util.match.FileMatchingPattern
Constructor allows one to create FileMatchingPattern from a String that is normally used to represent it.
formatLsString(boolean, String, String, Object, long, String). Static method in class kmy.net.ftpd.VirtualObject
Convenience function that formats single line of list printout.
FTPDaemon(). Constructor for class kmy.net.ftpd.FTPDaemon
Create new FTP server on the default FTP port 21.
FTPDaemon(int). Constructor for class kmy.net.ftpd.FTPDaemon
Create new FTP server on the specified port and initialize it.
FTPDConnection(FTPDaemon, Socket). Constructor for class kmy.net.ftpd.FTPDConnection
Create new FTP connection for the specified server on the specified socket.
FTPDEvent(FTPDConnection, String). Constructor for class kmy.net.ftpd.FTPDEvent
Create an event
FTPDException(String). Constructor for class kmy.net.ftpd.FTPDException
FTPDUser(). Constructor for class kmy.net.ftpd.FTPDUser
Create new (uninitialized) FTP user object
FTPDUser(String, String, String, boolean). Constructor for class kmy.net.ftpd.FTPDUser
Create new FTP user with given properties

G

getAllowAnonymous(). Method in class kmy.net.ftpd.FTPDaemon
Find out if this server allowes anonymous access.
getAnnotationReader(). Method in class kmy.net.ftpd.VirtualFile
Get annotation for this resource.
getAnnotationReader(). Method in class kmy.net.ftpd.VirtualObject
Returns annotation stream for this resource.
getCommand(). Method in class kmy.net.ftpd.FTPDEvent
Obtain a command that was sent by the client.
getConnection(). Method in class kmy.net.ftpd.FTPDEvent
Obtain a connection where event occured
getDataType(). Method in class kmy.net.ftpd.FTPDConnection
Get the String that represents current data transfer mode.
getFTPThreadGroup(). Method in class kmy.net.ftpd.FTPDaemon
Returns the ThreadGroup for the connections to this server.
getHome(). Method in class kmy.net.ftpd.FTPDUser
Get user's home directory
getMimeType(). Method in class kmy.net.ftpd.VirtualFile
Return MIME-type for the content of this object.
getMimeType(). Method in class kmy.net.ftpd.VirtualObject
Return MIME-type for the content of this object.
getMimeType(String). Static method in class kmy.net.ftpd.VirtualObject
Convenience function that guesses mime type on the grounds of the resource name.
getName(). Method in class kmy.net.ftpd.FTPDUser
Get user name
getPort(). Method in class kmy.net.ftpd.FTPDaemon
Returns port where this server accepts connections
getPrefix(). Method in class kmy.net.ftpd.FTPDUser
Get prefix string - a string to prepend to every path to obtain complete resource path
getServerName(). Method in class kmy.net.ftpd.FTPDaemon
Returns the name of the server which is used in the initial FTP reply.
getUserByName(String). Method in class kmy.net.ftpd.FTPDaemon
Return FTP user by its name in the default user directory.
getUserStrings(). Method in class kmy.net.ftpd.FTPDaemon
For the simplified access to the default user directory (via JavaBean-style property).

H

HELP(String). Method in class kmy.net.ftpd.FTPDConnection
HELP(String, boolean). Method in class kmy.net.ftpd.FTPDConnection
Helper for the HELP command.
HELP_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
HELP_QUIT. Static variable in class kmy.net.ftpd.FTPDConnection
homeSubstitution(String, String). Method in class kmy.net.ftpd.FTPDaemon
Performes csh-slyle "home substitution": a leading string in form ~user is substituted by the home directory of user 'user'.

I

incoming. Variable in class kmy.net.ftpd.FTPDConnection
init(). Method in class kmy.net.ftpd.FTPDaemon
Initialize this server if it was not already initialized.

L

lastModified(). Method in class kmy.net.ftpd.VirtualFile
Return when this object was last modified
lastModified(). Method in class kmy.net.ftpd.VirtualObject
Return when this object was last modified
list(File, Vector). Method in class kmy.util.match.FileMatchingPattern
Produce a list of files that match this pattern.
list(PrintWriter, String, boolean). Method in class kmy.net.ftpd.VirtualFile
produce a list of the subresources in this resource.
list(PrintWriter, String, boolean). Method in class kmy.net.ftpd.VirtualObject
produce a list of the subresources in this resource.
LIST(String). Method in class kmy.net.ftpd.FTPDConnection
LIST(String, boolean). Method in class kmy.net.ftpd.FTPDConnection
Helper method for LIST and NLST commands.
LIST_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
loginTime. Variable in class kmy.net.ftpd.FTPDConnection

M

main(String[]). Static method in class kmy.net.ftpd.FTPDaemon
main that can be used to start and test the server.
makePath(String). Method in class kmy.net.ftpd.FTPDConnection
Creates a path that represents a resource referenced by 'name'.
makeURLStub(String). Method in class kmy.net.ftpd.FTPDaemon
Return an URL stub for this server, for the username specified, for example "ftp://user
MDTM(String). Method in class kmy.net.ftpd.FTPDConnection
MDTM_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
MKD(String). Method in class kmy.net.ftpd.FTPDConnection
MKD_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
mkdir(). Method in class kmy.net.ftpd.VirtualFile
Creates a folder specified by the path (given in the constructor).
mkdir(). Method in class kmy.net.ftpd.VirtualObject
Creates a folder specified by the path (given in the constructor).
multilineAllowed. Variable in class kmy.net.ftpd.FTPDConnection

N

nextChallenge(). Method in class kmy.net.ftpd.FTPDConnection
Produces new challenge that is sent to the client as a part of the request for the password and can be used for authentication.
nextRandom(). Method in class kmy.net.ftpd.FTPDaemon
nextRandom(). Method in class kmy.net.ftpd.FTPDConnection
Returns next long random value.
NLST(String). Method in class kmy.net.ftpd.FTPDConnection
NLST_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
NOOP(String). Method in class kmy.net.ftpd.FTPDConnection
NOOP_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
notifyListeners(FTPDConnection, String). Method in class kmy.net.ftpd.FTPDaemon
Notifies all listeners that command is issued on a connection

O

outcoming. Variable in class kmy.net.ftpd.FTPDConnection

P

PASS(String). Method in class kmy.net.ftpd.FTPDConnection
PASS_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
passive. Variable in class kmy.net.ftpd.FTPDConnection
PASV(String). Method in class kmy.net.ftpd.FTPDConnection
PASV_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
path. Variable in class kmy.net.ftpd.FTPDConnection
PORT(String). Method in class kmy.net.ftpd.FTPDConnection
PORT_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
produceObject(String, FTPDaemon). Method in class kmy.net.ftpd.FTPDUser
Produce a resource object that is referenced by the given path.
produceObject(String, String). Method in class kmy.net.ftpd.FTPDaemon
Produce an object that is represented by the path 'path' for user 'user'.
PWD(String). Method in class kmy.net.ftpd.FTPDConnection
PWD_HELP. Static variable in class kmy.net.ftpd.FTPDConnection

R

random. Variable in class kmy.net.ftpd.FTPDConnection
read(OutputStream, int, long). Method in class kmy.net.ftpd.VirtualFile
Read this object and write it (as it is being read) to out.
read(OutputStream, int, long). Method in class kmy.net.ftpd.VirtualObject
Read this object and write it (as it is being read) to out.
removeFTPDListener(FTPDListener). Method in class kmy.net.ftpd.FTPDaemon
Removes FTPDListener.
removeUser(String). Method in class kmy.net.ftpd.FTPDaemon
Removes a user from the default user directory.
renameName. Variable in class kmy.net.ftpd.FTPDConnection
renameNameFlag. Variable in class kmy.net.ftpd.FTPDConnection
renameTo(VirtualObject). Method in class kmy.net.ftpd.VirtualFile
Rename/move this file
renameTo(VirtualObject). Method in class kmy.net.ftpd.VirtualObject
Rename this resource
REST(String). Method in class kmy.net.ftpd.FTPDConnection
REST_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
restartOffset. Variable in class kmy.net.ftpd.FTPDConnection
RETR(String). Method in class kmy.net.ftpd.FTPDConnection
RETR_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
RMD(String). Method in class kmy.net.ftpd.FTPDConnection
RMD_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
RNFR(String). Method in class kmy.net.ftpd.FTPDConnection
RNFR_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
RNTO(String). Method in class kmy.net.ftpd.FTPDConnection
RNTO_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
run(). Method in class kmy.net.ftpd.FTPDaemon
Runs the server.
run(). Method in class kmy.net.ftpd.FTPDConnection
Processes commands sent by the client.

S

server. Variable in class kmy.net.ftpd.FTPDConnection
setAllowAnonymous(boolean). Method in class kmy.net.ftpd.FTPDaemon
Allow or disallow anonymous access to this server.
setPort(int). Method in class kmy.net.ftpd.FTPDaemon
Sets the port where this server shuold accept connections.
setPrefix(String). Method in class kmy.net.ftpd.FTPDUser
Set prefix string - a string to prepend to every path to obtain complete resource path
setUserStrings(String[]). Method in class kmy.net.ftpd.FTPDaemon
Setter for the userStrings property.
SITE_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
SITE_HELP(String). Method in class kmy.net.ftpd.FTPDConnection
SITE_HELP_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
SITE_MIME. Static variable in class kmy.net.ftpd.FTPDConnection
SITE_MIME(String). Method in class kmy.net.ftpd.FTPDConnection
size(). Method in class kmy.net.ftpd.VirtualFile
Return the size of this object in bytes
size(). Method in class kmy.net.ftpd.VirtualObject
Return the size of this object in bytes
SIZE(String). Method in class kmy.net.ftpd.FTPDConnection
SIZE_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
socket. Variable in class kmy.net.ftpd.FTPDConnection
start(). Method in class kmy.net.ftpd.FTPDaemon
Start FTP server, initializing it if needed.
stateChanged(FTPDEvent). Method in interface kmy.net.ftpd.FTPDListener
status. Variable in class kmy.net.ftpd.FTPDConnection
STOR(String). Method in class kmy.net.ftpd.FTPDConnection
STOR_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
SYST(String). Method in class kmy.net.ftpd.FTPDConnection
SYST_HELP. Static variable in class kmy.net.ftpd.FTPDConnection

T

TYPE(String). Method in class kmy.net.ftpd.FTPDConnection
TYPE_HELP. Static variable in class kmy.net.ftpd.FTPDConnection

U

user. Variable in class kmy.net.ftpd.FTPDConnection
USER(String). Method in class kmy.net.ftpd.FTPDConnection
USER_HELP. Static variable in class kmy.net.ftpd.FTPDConnection
userHome(String, String, String). Method in class kmy.net.ftpd.FTPDaemon
Authenticate user.

V

verifyPassword(String, String). Method in class kmy.net.ftpd.FTPDUser
Verify password.
verifyReadAccess(String). Method in class kmy.net.ftpd.FTPDUser
Verify if user has read access for the resource represented this path.
verifyWriteAccess(String). Method in class kmy.net.ftpd.FTPDUser
Verify if user has write access for the resource represented this path.
version. Static variable in class kmy.net.ftpd.FTPDConnection
VirtualObject(). Constructor for class kmy.net.ftpd.VirtualObject
Create a virtual resource

W

write(InputStream, int, long). Method in class kmy.net.ftpd.VirtualFile
Write this object reading data from the stream.
write(InputStream, int, long). Method in class kmy.net.ftpd.VirtualObject
Write this object reading data from the stream.