Logo Search packages:      
Sourcecode: jmk version File versions  Download package

edu::neu::ccs::jmk::FileOperator Class Reference

Inheritance diagram for edu::neu::ccs::jmk::FileOperator:

edu::neu::ccs::jmk::Operator

List of all members.


Detailed Description

This operator is used to implement file commands. To be useful, subclasses must implement getName(String) and exec(File, PrintWriter).
Version:
November 1997
Author:
John D. Ramsdell

Definition at line 35 of file FileOperator.java.


Public Member Functions

void exec (String[] args, java.io.PrintWriter out) throws CommandFailedException
void exec (String[] args, PrintWriter out) throws CommandFailedException

Static Public Member Functions

static void main (String[] args)

Package Functions

abstract boolean exec (File arg, PrintWriter out)
String getName ()

Static Package Functions

static String[] dirs (String fileName)
static String[] glob (String[] args) throws CommandFailedException
static String[] glob (String fileName) throws CommandFailedException

Private Member Functions

void exec (String[] args, PrintWriter out, StringBuffer sb)

Static Private Member Functions

static void addStrings (Vector v, String[] s)
static void findDirs (File f, Vector v)

Static Private Attributes

static final char wildCard = '*'

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index