videoItem.java
4.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package com.example.dataextraction;
import android.os.Parcel;
import android.os.Parcelable;
public class videoItem implements Parcelable {
String album, artist, bookmark, category, description, language
, latitude, longitude, resolution, tags, path, date_added
,display_Name, MIME_type,title;
public videoItem(){}
public videoItem(Parcel in) {
this.album = in.readString();
this.artist = in.readString();
this.bookmark = in.readString();
this.category = in.readString();
this.description = in.readString();
this.latitude = in.readString();
this.longitude = in.readString();
this.resolution = in.readString();
this.tags = in.readString();
this.path = in.readString();
this.date_added = in.readString();
this.display_Name = in.readString();
this.MIME_type = in.readString();
}
public String getAlbum() {
return album;
}
public String getArtist() {
return artist;
}
public String getBookmark() {
return bookmark;
}
public String getCategory() {
return category;
}
public String getDescription() {
return description;
}
public String getLanguage(){
return language;
}
public String getLongitude(){
return longitude;
}
public String getResolution() {
return resolution;
}
public String getPath() {
return path;
}
public String getTags() {
return tags;
}
public String getLatitude() {
return latitude;
}
public String getDate_added() {
return date_added;
}
public String getDisplay_Name() {
return display_Name;
}
public String getMIME_type() {
return MIME_type;
}
public String getTitle() {
return title;
}
public void setAlbum(String album) {
this.album = album;
}
public void setArtist(String artist) {
this.artist = artist;
}
public void setBookmark(String bookmark) {
this.bookmark = bookmark;
}
public void setCategory(String category) {
this.category = category;
}
public void setDescription(String description) {
this.description = description;
}
public void setLanguage(String language) {
this.language = language;
}
public void setDate_added(String date_added) {
this.date_added = date_added;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public void setDisplay_Name(String display_Name) {
this.display_Name = display_Name;
}
public void setMIME_type(String MIME_type) {
this.MIME_type = MIME_type;
}
public void setPath(String path) {
this.path = path;
}
public void setResolution(String resolution) {
this.resolution = resolution;
}
public void setTags(String tags) {
this.tags = tags;
}
public void setTitle(String title) {
this.title = title;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.album);
dest.writeString(this.artist);
dest.writeString(this.bookmark);
dest.writeString(this.category);
dest.writeString(this.description);
dest.writeString(this.language);
dest.writeString(this.latitude);
dest.writeString(this.longitude);
dest.writeString(this.resolution);
dest.writeString(this.tags);
dest.writeString(this.path);
dest.writeString(this.date_added);
dest.writeString(this.display_Name);
dest.writeString(this.MIME_type);
}
@SuppressWarnings("rawtypes")
public static final Creator CREATOR = new Creator() {
@Override
public videoItem createFromParcel(Parcel in) {
return new videoItem(in);
}
@Override
public videoItem[] newArray(int size) {
// TODO Auto-generated method stub
return new videoItem[size];
}
};
}