ip1.ex14
Class JFtp.RootQueueItem

java.lang.Object
  |
  +--ip1.ex14.JFtpThread.QueueItem
        |
        +--ip1.ex14.JFtp.RootQueueItem
Enclosing class:
JFtp

public class JFtp.RootQueueItem
extends JFtpThread.QueueItem


Field Summary
protected  int action
          The item code to perform.
protected  java.lang.Object arg
          Optional argument.
static int DOWNLOAD
           
 javax.swing.tree.DefaultMutableTreeNode node
          The queue item's representation as a node.
static int SHUTDOWN
          Shutdown.
static int UPLOAD
          Upload a file.
 
Constructor Summary
JFtp.RootQueueItem(int action, JFtpEntry entry)
          The constructor.
 
Method Summary
 JFtpEntry getEntry()
          Object accessor to arg.
 java.io.File getFile()
          File accessor to arg.
 java.lang.String getString()
          String accessor to arg.
 java.net.URL getUrl()
          URL accessor to arg.
 java.util.Vector getVector()
          Vector accessor to arg.
 java.lang.String toString()
          Return string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOWNLOAD

public static final int DOWNLOAD
See Also:
Constant Field Values

UPLOAD

public static final int UPLOAD
Upload a file.

See Also:
Constant Field Values

action

protected int action
The item code to perform.


arg

protected java.lang.Object arg
Optional argument.


SHUTDOWN

public static final int SHUTDOWN
Shutdown.

See Also:
Constant Field Values

node

public javax.swing.tree.DefaultMutableTreeNode node
The queue item's representation as a node.

Constructor Detail

JFtp.RootQueueItem

public JFtp.RootQueueItem(int action,
                          JFtpEntry entry)
The constructor.

Method Detail

toString

public java.lang.String toString()
Return string representation.

Overrides:
toString in class JFtpThread.QueueItem

getEntry

public JFtpEntry getEntry()
Object accessor to arg.


getFile

public java.io.File getFile()
File accessor to arg.


getString

public java.lang.String getString()
String accessor to arg.


getUrl

public java.net.URL getUrl()
URL accessor to arg.


getVector

public java.util.Vector getVector()
Vector accessor to arg.