de.matthiasmann.twl
Class FileTable.Entry

java.lang.Object
  extended by de.matthiasmann.twl.FileTable.Entry
Enclosing class:
FileTable

public static final class FileTable.Entry
extends java.lang.Object


Field Summary
 FileSystemModel fsm
           
 boolean isFolder
           
 java.util.Date lastModified
          last modified date - can be null
 java.lang.String name
           
 java.lang.Object obj
           
 long size
           
 
Constructor Summary
FileTable.Entry(FileSystemModel fsm, java.lang.Object obj, boolean isRoot)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getExtension()
           
 java.lang.String getPath()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fsm

public final FileSystemModel fsm

obj

public final java.lang.Object obj

name

public final java.lang.String name

isFolder

public final boolean isFolder

size

public final long size

lastModified

public final java.util.Date lastModified
last modified date - can be null

Constructor Detail

FileTable.Entry

public FileTable.Entry(FileSystemModel fsm,
                       java.lang.Object obj,
                       boolean isRoot)
Method Detail

getExtension

public java.lang.String getExtension()

getPath

public java.lang.String getPath()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object