KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openi > util > FileItem


1 /*********************************************************************************
2  * The contents of this file are subject to the OpenI Public License Version 1.0
3  * ("License"); You may not use this file except in compliance with the
4  * License. You may obtain a copy of the License at
5  * http://www.openi.org/docs/LICENSE.txt
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is: OpenI Open Source
12  *
13  * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
14  * Portions created by Loyalty Matrix, Inc. are
15  * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
16  *
17  * Contributor(s): ______________________________________.
18  *
19  ********************************************************************************/

20 package org.openi.util;
21
22 public class FileItem {
23     private String JavaDoc path;
24     private String JavaDoc displayName;
25     private String JavaDoc type;
26
27     public String JavaDoc getPath() {
28         return path;
29     }
30
31     public String JavaDoc getDisplayName() {
32         return displayName;
33     }
34
35     public String JavaDoc getType() {
36         return type;
37     }
38
39     public void setPath(String JavaDoc path) {
40         this.path = path;
41     }
42
43     public void setDisplayName(String JavaDoc displayName) {
44         this.displayName = displayName;
45     }
46
47     public void setType(String JavaDoc type) {
48         this.type = type;
49     }
50 }
51
Popular Tags