net.sf.tomp.xtcl.command
Class FileCommand

java.lang.Object
  extended by net.sf.tomp.xtcl.command.AbstractCommand
      extended by net.sf.tomp.xtcl.command.VarCommand
          extended by net.sf.tomp.xtcl.command.FileCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
Cd, Fil, Load, Save

public abstract class FileCommand
extends VarCommand

Abstract ancestor of File-related, i.e. Cd, Fil, Load, Save commands.

Author:
tomp

Field Summary
protected  java.lang.String fileName
          filename
 
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand
var
 
Constructor Summary
FileCommand()
           
 
Method Summary
static java.io.File getFile(Context context, java.lang.String fileNameOrRef)
           
 void setFile(java.lang.String fN)
          sets filename
 
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand
setVar
 
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand
done, execute, initParameters, listArray, listList, listMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileName

protected java.lang.String fileName
filename

Constructor Detail

FileCommand

public FileCommand()
Method Detail

setFile

public void setFile(java.lang.String fN)
sets filename

Parameters:
fN - filename

getFile

public static java.io.File getFile(Context context,
                                   java.lang.String fileNameOrRef)


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.