Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6725 siemargl 1
#region README
2
 
3
	//_____________________________________________________________________________
4
	//
5
	//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
6
	//Adrian Maull, April 2005.
7
	//
8
	//If you have questions or comments, contact me at adrian.maull@sprintpcs.com.  Though
9
	//I will try to respond to coments/questions, I do not guarantee such response.
10
	//
11
	//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
12
	//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
	//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
14
	//PARTICULAR PURPOSE.
15
	//
16
	//_____________________________________________________________________________
17
 
18
 
19
#endregion
20
 
21
using System;
22
 
23
namespace CSharpInfoZip_UnZipSample
24
{
25
	/// 
26
	/// Summary description for ZipFileEntry.
27
	/// 
28
	public class ZipFileEntry
29
	{
30
 
31
		#region Private Vars
32
 
33
		private string m_FileName;
34
		private string m_FilePath;
35
		private bool m_IsFolder;
36
		private ulong m_FileSize;
37
		private int m_FileMonth;
38
		private int m_FileDay;
39
		private int m_FileYear;
40
		private int m_FileHour;
41
		private int m_FileMinute;
42
		private int m_CompressionFactor;
43
		private ulong m_CompressedSize;
44
		private string m_CompressMeth;
45
 
46
		#endregion
47
 
48
		public ZipFileEntry()
49
		{
50
		}
51
 
52
		#region Properties
53
 
54
		public string FileName
55
		{
56
			get {return m_FileName;}
57
			set {m_FileName = value;}
58
		}
59
 
60
		public string FilePath
61
		{
62
			get {return m_FilePath;}
63
			set {m_FilePath = value;}
64
		}
65
 
66
		public bool IsFolder
67
		{
68
			get {return m_IsFolder;}
69
			set {m_IsFolder = value;}
70
		}
71
 
72
		public ulong FileSize
73
		{
74
			get {return m_FileSize;}
75
			set {m_FileSize = value;}
76
		}
77
 
78
		public int FileMonth
79
		{
80
			get {return m_FileMonth;}
81
			set {m_FileMonth = value;}
82
		}
83
 
84
		public int FileDay
85
		{
86
			get {return m_FileDay;}
87
			set {m_FileDay = value;}
88
		}
89
 
90
		public int FileYear
91
		{
92
			get {return m_FileYear;}
93
			set {m_FileYear = value;}
94
		}
95
 
96
		public int FileHour
97
		{
98
			get {return m_FileHour;}
99
			set {m_FileHour = value;}
100
		}
101
 
102
		public int FileMinute
103
		{
104
			get {return m_FileMinute;}
105
			set {m_FileMinute = value;}
106
		}
107
 
108
		public int CompressionFactor
109
		{
110
			get {return m_CompressionFactor;}
111
			set {m_CompressionFactor = value;}
112
		}
113
 
114
		public ulong CompressedSize
115
		{
116
			get {return m_CompressedSize;}
117
			set {m_CompressedSize = value;}
118
		}
119
 
120
		public string CompressionMethShort
121
		{
122
			get {return m_CompressMeth;}
123
			set {m_CompressMeth = value;}
124
		}
125
 
126
		#endregion
127
 
128
	}
129
}