01: /*
02: * Copyright (C) 2006 Methodhead Software LLC. All rights reserved.
03: *
04: * This file is part of TransferCM.
05: *
06: * TransferCM is free software; you can redistribute it and/or modify it under the
07: * terms of the GNU General Public License as published by the Free Software
08: * Foundation; either version 2 of the License, or (at your option) any later
09: * version.
10: *
11: * TransferCM is distributed in the hope that it will be useful, but WITHOUT ANY
12: * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14: * details.
15: *
16: * You should have received a copy of the GNU General Public License along with
17: * TransferCM; if not, write to the Free Software Foundation, Inc., 51 Franklin St,
18: * Fifth Floor, Boston, MA 02110-1301 USA
19: */
20:
21: package com.methodhead.shim;
22:
23: public class FileInfo {
24:
25: // constructors /////////////////////////////////////////////////////////////
26:
27: // constants ////////////////////////////////////////////////////////////////
28:
29: // classes //////////////////////////////////////////////////////////////////
30:
31: // methods //////////////////////////////////////////////////////////////////
32:
33: // properties ///////////////////////////////////////////////////////////////
34:
35: public String getName() {
36: return name_;
37: }
38:
39: public void setName(String name) {
40: name_ = name;
41: }
42:
43: public String getPath() {
44: return path_;
45: }
46:
47: public void setPath(String path) {
48: path_ = path;
49: }
50:
51: public long getSize() {
52: return size_;
53: }
54:
55: public void setSize(long size) {
56: size_ = size;
57: }
58:
59: public String getIconHint() {
60: return iconHint_;
61: }
62:
63: public void setIconHint(String iconHint) {
64: iconHint_ = iconHint;
65: }
66:
67: // attributes ///////////////////////////////////////////////////////////////
68:
69: private String name_ = "";
70: private String path_ = "";
71: private long size_ = 0;
72: private String iconHint_ = "";
73: }
|