Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit.browser
Class BrowserIORequest  view BrowserIORequest download BrowserIORequest.java

java.lang.Object
  extended byorg.gjt.sp.util.WorkRequest
      extended byorg.gjt.sp.jedit.browser.BrowserIORequest
All Implemented Interfaces:
java.lang.Runnable

class BrowserIORequest
extends org.gjt.sp.util.WorkRequest

A browser I/O request.

Version:
$Id: BrowserIORequest.java,v 1.19 2003/08/04 00:23:07 spestov Exp $

Field Summary
private  VFSBrowser browser
           
static int DELETE
          Delete file I/O request.
static int LIST_DIRECTORY
          Directory listing I/O request.
private  java.lang.Object[] loadInfo
           
static int MKDIR
          Make directory I/O request.
private  java.lang.Object node
           
private  java.lang.String path1
           
private  java.lang.String path2
           
static int RENAME
          Rename file I/O request.
private  java.lang.Object session
           
private  int type
           
private  org.gjt.sp.jedit.io.VFS vfs
           
 
Constructor Summary
(package private) BrowserIORequest(int type, VFSBrowser browser, java.lang.Object session, org.gjt.sp.jedit.io.VFS vfs, java.lang.String path1, java.lang.String path2, java.lang.Object node, java.lang.Object[] loadInfo)
          Creates a new browser I/O request.
 
Method Summary
private  void delete()
           
private  void listDirectory()
           
private  void mkdir()
           
private  void rename()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class org.gjt.sp.util.WorkRequest
setAbortable, setProgressMaximum, setProgressValue, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIST_DIRECTORY

public static final int LIST_DIRECTORY
Directory listing I/O request.

See Also:
Constant Field Values

DELETE

public static final int DELETE
Delete file I/O request.

See Also:
Constant Field Values

RENAME

public static final int RENAME
Rename file I/O request.

See Also:
Constant Field Values

MKDIR

public static final int MKDIR
Make directory I/O request.

See Also:
Constant Field Values

type

private int type

browser

private VFSBrowser browser

session

private java.lang.Object session

vfs

private org.gjt.sp.jedit.io.VFS vfs

path1

private java.lang.String path1

path2

private java.lang.String path2

node

private java.lang.Object node

loadInfo

private java.lang.Object[] loadInfo
Constructor Detail

BrowserIORequest

BrowserIORequest(int type,
                 VFSBrowser browser,
                 java.lang.Object session,
                 org.gjt.sp.jedit.io.VFS vfs,
                 java.lang.String path1,
                 java.lang.String path2,
                 java.lang.Object node,
                 java.lang.Object[] loadInfo)
Creates a new browser I/O request.

Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


listDirectory

private void listDirectory()

delete

private void delete()

rename

private void rename()

mkdir

private void mkdir()