FileDocCategorySizeDatePackage
DebugFile.javaAPI DocExample5352Mon Jan 09 11:01:58 GMT 2006None

DebugFile

public class DebugFile extends File

Fields Summary
Constructors Summary
public DebugFile(String name)

        super(name);
    
Methods Summary
public booleancanRead()

        p("can read");
        return super.canRead();
    
public booleancanWrite()

        p("can write");
        return super.canWrite();
    
public intcompareTo(java.io.File pathname)

        p("compare to file called: this = " + this + " to = " + pathname);
        p("returning: " + super.compareTo(pathname));
        return super.compareTo(pathname);
    
public intcompareTo(java.lang.Object pathname)

        p("compare to object called on: " + this);
        p("returning: " + super.compareTo(pathname));
        return super.compareTo(pathname);
    
public booleancreateNewFile()

        p("create new file");
        return super.createNewFile();
    
public booleandelete()

        p("delete");
        return super.delete();
    
public voiddeleteOnExit()

        p("delete on exit");
        super.deleteOnExit();
    
public booleanequals(java.lang.Object obj)

        p("equals called on : " + obj);
        p("returning: " + super.equals(obj));
        return super.equals(obj);
    
public booleanexists()

        p("exists called");
        return super.exists();
    
public java.io.FilegetAbsoluteFile()

        p("get abs file: " + this);
        return super.getAbsoluteFile();
    
public java.lang.StringgetAbsolutePath()

        p("get abs path : " + this);
        return super.getAbsolutePath();
    
public java.io.FilegetCanonicalFile()

        p("get canonical file");
        return super.getCanonicalFile();
    
public java.lang.StringgetCanonicalPath()

        p("get canonical path");
        return super.getCanonicalPath();
    
public java.lang.StringgetName()

        p("debug: get name " + super.getName());
        return super.getName();
    
public java.lang.StringgetParent()

        p("get parent");
        return super.getParent();
    
public java.io.FilegetParentFile()

        p("get parent file");
        return super.getParentFile();
    
public java.lang.StringgetPath()

        p("debug: get path");
        return super.getPath();
    
public inthashCode()

        p("get hashcode");
        return super.hashCode();
    
public booleanisAbsolute()

        p("is absolute");
        return super.isAbsolute();
    
public booleanisDirectory()

        p("is directory");
        return super.isDirectory();
    
public booleanisFile()

        p("is file");
        return super.isFile();
    
public booleanisHidden()

        p("is hidden");
        return super.isHidden();
    
public longlastModified()

        p("last modified");
        return super.lastModified();
    
public longlength()

        p("length");
        return super.length();
    
public java.lang.String[]list()

        p("list called");
        return super.list();
    
public java.lang.String[]list(java.io.FilenameFilter filter)

        p("list called");
        return super.list(filter);
    
public java.io.File[]listFiles()

        p("list files called");
        return super.listFiles();
    
public java.io.File[]listFiles(java.io.FileFilter filter)

        p("list files called");
        return super.listFiles(filter);
    
public java.io.File[]listFiles(java.io.FilenameFilter filter)

        p("list files called");
        return super.listFiles(filter);
    
public booleanmkdir()

        p("mkdir");
        return super.mkdir();
    
public booleanmkdirs()

        p("mkdirs");
        return super.mkdirs();
    
public static voidp(java.lang.String str)

        System.out.println(str);
    
public static voidp(java.lang.Object[] objs)

        for(int i=0; i<objs.length; i++) {
            p(":: "+objs[i]);
        }
    
public booleansetLastModified(long time)

        p("set last modified");
        return super.setLastModified(time);
    
public booleansetReadOnly()

        p("set read only");
        return super.setReadOnly();
    
public java.lang.StringtoString()

        //p("to string");
        return super.toString();
    
public java.net.URItoURI()

        p("to URI");
        return super.toURI();
    
public java.net.URLtoURL()

        p("to URL");
        return super.toURL();