oogp2p.file.commands
Class GetFileListingCommand

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.Command
          extended byoogp2p.file.commands.GetFileListingCommand

public class GetFileListingCommand
extends Command

GetFileListingCommand.java Command to get file listing. Created: Tue Apr 1 20:52:07 2003

Version:
Author:
OOGs

Field Summary
static java.lang.String DEFAULT_FILE_DIR
           
private  java.io.File myFiles
           
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
  GetFileListingCommand()
           
protected GetFileListingCommand(Nettable n)
           
 
Method Summary
 void execute()
           
 boolean isType(Nettable n)
           
 InfoReceived makeType(Nettable n)
           
 void setDirectory(java.lang.String dir)
           
 
Methods inherited from class oogp2p.Command
getUsername, recvInfo, sendInfo, sendInfo
 
Methods inherited from class oogp2p.InfoReceived
getNettableReceiver, getNettableSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILE_DIR

public static java.lang.String DEFAULT_FILE_DIR

myFiles

private java.io.File myFiles
Constructor Detail

GetFileListingCommand

public GetFileListingCommand()

GetFileListingCommand

protected GetFileListingCommand(Nettable n)
Method Detail

isType

public boolean isType(Nettable n)
Specified by:
isType in class Command

makeType

public InfoReceived makeType(Nettable n)
Specified by:
makeType in class Command

setDirectory

public void setDirectory(java.lang.String dir)

execute

public void execute()
Specified by:
execute in class Command