com.jgoodies.jdiskreport.domain
Class FileInfo

java.lang.Object
  extended by com.jgoodies.jdiskreport.domain.FileInfo
All Implemented Interfaces:
Serializable

public final class FileInfo
extends Object
implements Serializable

Describes files, not directories.

Version:
$Revision: 1.4 $
Author:
Karsten Lentzsch
See Also:
File, Serialized Form

Constructor Summary
FileInfo(String name, long size, long lastModified)
          Constructs a FileInfo with the given name, size, and modification date.
 
Method Summary
 long getLastModified()
           
 String getName()
           
 long getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInfo

public FileInfo(String name,
                long size,
                long lastModified)
Constructs a FileInfo with the given name, size, and modification date.

Method Detail

getName

public String getName()

getSize

public long getSize()

getLastModified

public long getLastModified()


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.