KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > engines > filemanager > FileEntry


1 package org.jahia.engines.filemanager;
2
3 import java.util.Date JavaDoc;
4
5 /**
6  * Created by IntelliJ IDEA. User: toto Date: Jul 6, 2003 Time: 1:35:34 PM To change this
7  * template use Options | File Templates.
8  */

9 public class FileEntry {
10
11     private String JavaDoc name;
12     private String JavaDoc contentType;
13     private long size;
14     private String JavaDoc owner;
15     private Date JavaDoc lastModified;
16     private boolean selectable;
17
18     public FileEntry (String JavaDoc name, String JavaDoc contentType, long size, String JavaDoc owner,
19                       Date JavaDoc lastModified, boolean selectable) {
20         this.name = name;
21         this.contentType = contentType;
22         this.size = size;
23         this.owner = owner;
24         this.lastModified = lastModified;
25         this.selectable = selectable;
26     }
27
28     public String JavaDoc getName () {
29         return name;
30     }
31
32     public String JavaDoc getContentType () {
33         return contentType;
34     }
35
36     public long getSize () {
37         return size;
38     }
39
40     public String JavaDoc getOwner () {
41         return owner;
42     }
43
44     public boolean isSelectable () {
45         return selectable;
46     }
47
48     public Date JavaDoc getLastModified () {
49         return lastModified;
50     }
51 }
52
Popular Tags