com.alee.utils.file
Class FileDescription

java.lang.Object
  extended by com.alee.utils.file.FileDescription

public class FileDescription
extends java.lang.Object

This class represents single file description fields.

Author:
Mikle Garin

Constructor Summary
FileDescription()
          Constructs empty file decription.
FileDescription(java.lang.String name, java.lang.String size, java.lang.String description, java.lang.String date)
          Constructs file description with the specified values.
 
Method Summary
 java.lang.String getDate()
          Returns modification date.
 java.lang.String getDescription()
          Returns file description.
 java.lang.String getName()
          Returns file name.
 java.lang.String getSize()
          Returns file size.
 void setDate(java.lang.String date)
          Sets modification date.
 void setDescription(java.lang.String description)
          Sets file description.
 void setName(java.lang.String name)
          Sets file name.
 void setSize(java.lang.String size)
          Sets file size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDescription

public FileDescription()
Constructs empty file decription.


FileDescription

public FileDescription(java.lang.String name,
                       java.lang.String size,
                       java.lang.String description,
                       java.lang.String date)
Constructs file description with the specified values.

Parameters:
name - file name
size - file size
description - file description
date - file modification date
Method Detail

getName

public java.lang.String getName()
Returns file name.

Returns:
file name

setName

public void setName(java.lang.String name)
Sets file name.

Parameters:
name - new file name

getSize

public java.lang.String getSize()
Returns file size.

Returns:
file size

setSize

public void setSize(java.lang.String size)
Sets file size.

Parameters:
size - new file size

getDescription

public java.lang.String getDescription()
Returns file description.

Returns:
file description

setDescription

public void setDescription(java.lang.String description)
Sets file description.

Parameters:
description - new file description

getDate

public java.lang.String getDate()
Returns modification date.

Returns:
modification date

setDate

public void setDate(java.lang.String date)
Sets modification date.

Parameters:
date - new modification date