net.mlw.vlh.adapter.file
Class FileInfo
java.lang.Object
net.mlw.vlh.adapter.file.FileInfo
- public class FileInfo
- extends Object
- Version:
- $Revision: 1.3 $ $Date: 2004/08/10 20:41:38 $
- Author:
- Matthew L. Wilson
FileInfo
public FileInfo(File file)
- Default constructor
- Parameters:
file
- to decorate.
getLastModified
public Date getLastModified()
- See Also:
File.lastModified()
getName
public String getName()
- See Also:
File.getName()
getExtention
public String getExtention()
- Gets the extention of the file.
- Returns:
- The extension if one exists.
getLength
public long getLength()
- See Also:
java.io.File#getLength()
getDirectory
public boolean getDirectory()
- See Also:
File.isDirectory()
getReadable
public boolean getReadable()
- See Also:
File.canRead()
getWritable
public boolean getWritable()
- See Also:
File.canWrite()
getAbsolutePath
public String getAbsolutePath()
- See Also:
File.getAbsolutePath()
toString
public String toString()
- See Also:
Object.toString()
Copyright © 2003-2006 mlavilson. All Rights Reserved.