ip1.ex14
Class JFtpThread.QueueItem

java.lang.Object
  |
  +--ip1.ex14.JFtpThread.QueueItem
Direct Known Subclasses:
JFtp.RootQueueItem, JFtpControl.ControlQueueItem, JFtpData.DataQueueItem
Enclosing class:
JFtpThread

class JFtpThread.QueueItem
extends java.lang.Object

An item of the action queue.


Field Summary
protected  int action
          The item code to perform.
protected  java.lang.Object arg
          Optional argument.
 javax.swing.tree.DefaultMutableTreeNode node
          The queue item's representation as a node.
static int SHUTDOWN
          Shutdown.
 
Constructor Summary
JFtpThread.QueueItem(int action, java.lang.Object arg)
          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

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

JFtpThread.QueueItem

public JFtpThread.QueueItem(int action,
                            java.lang.Object arg)
The constructor.

Method Detail

toString

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

Overrides:
toString in class java.lang.Object

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.