001: /*
002: * MyGWT Widget Library
003: * Copyright(c) 2007, MyGWT.
004: * licensing@mygwt.net
005: *
006: * http://mygwt.net/license
007: */
008: package net.mygwt.samples.resources.client;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import java.util.Vector;
013:
014: public class TestData {
015:
016: public static String DUMMY_TEXT_SHORT = "<div style='padding:4 8px'>Lorem Ipsum is simply dummy text of the "
017: + "printing and typesetting industry. Lorem Ipsum has been the industry's standard "
018: + "dummy text ever since the 1500s.</div>";
019:
020: public static String DUMMY_TEXT_LONG = "<div class=text style='padding:2 8px'><p>Lorem ipsum dolor sit amet, consectetuer "
021: + "adipiscing elit. Suspendisse velit metus, ultricies nec, aliquam quis, porttitor "
022: + "a, felis. Donec est. Pellentesque urna dolor, bibendum nec, commodo a, laoreet sed, "
023: + "turpis. Morbi tristique orci ac felis. Suspendisse nec tellus. Donec vitae quam "
024: + "sed nibh luctus auctor. Suspendisse rhoncus lacus non magna. Proin consectetuer "
025: + "arcu ac metus. Integer tristique erat id leo. Sed interdum dictum quam. Integer "
026: + "eros. Vivamus eget elit. Quisque eget urna. Mauris venenatis molestie enim. "
027: + "Aenean justo nisi, sodales vitae, pellentesque scelerisque, gravida vitae, diam. "
028: + "<p>Curabitur pellentesque nulla et tellus. Fusce suscipit. Phasellus diam dolor, "
029: + "ullamcorper a, placerat ac, elementum sit amet, arcu. In commodo. Duis vitae "
030: + "justo vel quam nonummy imperdiet. Nam hendrerit convallis nisl. Praesent eu arcu. "
031: + "Morbi justo. Proin semper venenatis nulla. Pellentesque habitant morbi tristique "
032: + "senectus et netus et malesuada fames ac turpis egestas. Vivamus feugiat odio vitae "
033: + "tortor. Mauris augue enim, volutpat vitae, aliquet eu, feugiat congue, nisl. Maecenas "
034: + "ac orci. Donec malesuada. Proin nunc. Sed vitae urna. Nam ut mi. Nullam tempus vulputate ipsum. "
035: + "Integer lacinia nonummy mauris. Nullam rhoncus accumsan nibh.</p><p>Fusce mattis. Donec "
036: + "feugiat, lectus sit amet aliquet feugiat, nisi ante aliquam lacus, id facilisis metus nisl et "
037: + "eros. Vestibulum tempor. Proin augue dui, commodo ut, aliquet non, tristique a, nulla. "
038: + "Fusce dolor enim, bibendum at, placerat vel, ultricies vitae, libero. Praesent eu sem suscipit "
039: + "dolor cursus gravida. Quisque tortor mauris, aliquam at, placerat at, iaculis non, ante. In "
040: + "hendrerit, enim sed facilisis blandit, turpis erat lobortis velit, quis dapibus mauris "
041: + "sapien ut nisl. Aliquam non leo eget elit ultrices ullamcorper. Aliquam porta, purus in "
042: + "euismod vulputate, tellus pede imperdiet elit, vulputate viverra ipsum purus ac dolor. "
043: + "Vivamus tempor lorem quis lorem. Maecenas et felis. Integer accumsan convallis est. Etiam ut "
044: + "augue quis augue congue hendrerit. Vestibulum ante ipsum primis in faucibus orci luctus et "
045: + "ultrices posuere cubilia Curae; Cras sem.</p><p>In hac habitasse platea dictumst. Donec facilisis rhoncus purus. "
046: + "Suspendisse vulputate, nunc et mattis scelerisque, enim nisi imperdiet lectus, sed aliquet sapien nisl "
047: + "feugiat tortor. Cras sit amet nisi. Vivamus dignissim. Integer a ligula. Morbi euismod. Aenean malesuada. "
048: + "Pellentesque ut nisi eu purus egestas aliquam. Phasellus dolor augue, tempor a, rhoncus ac, accumsan ut, urna. "
049: + "Aenean aliquet semper elit. Sed porta eros ac orci. Proin mollis dui iaculis felis. Suspendisse tortor nisi, "
050: + "scelerisque at, adipiscing sagittis, vehicula et, sem. Etiam vulputate. Nullam vestibulum eros sed sapien. "
051: + "<p>Duis molestie tempor arcu. Nam eu nunc. Vivamus at neque eu mi lobortis euismod. Sed erat pede, luctus a, "
052: + "gravida quis, varius quis, ipsum. Proin vel massa. Cras auctor risus non nunc semper semper. Lorem ipsum dolor "
053: + "sit amet, consectetuer adipiscing elit. Sed vel arcu. Sed consectetuer. Duis libero eros, imperdiet sed, "
054: + "condimentum a, pretium nec, diam. Cum sociis natoque penatibus et magnis dis parturient montes, "
055: + "nascetur ridiculus mus. Nunc egestas, urna nec interdum interdum, risus justo malesuada quam, vitae "
056: + "consequat urna turpis at metus. Sed id neque eget diam euismod aliquet. Nam sed tortor. Praesent hendrerit "
057: + "scelerisque dolor. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus semper, odio id "
058: + "rutrum volutpat, mauris ante tempus metus, bibendum porta dolor ligula pretium tortor.</div>";
059:
060: public static Folder getTreeModel() {
061: Folder[] folders = new Folder[] {
062: new Folder(
063: "Beethoven",
064: new Folder[] {
065:
066: new Folder(
067: "Quartets",
068: new Music[] {
069: new Music(
070: "Six String Quartets",
071: "Beethoven",
072: "Quartets"),
073: new Music(
074: "Three String Quartets",
075: "Beethoven",
076: "Quartets"),
077: new Music(
078: "Grosse Fugue for String Quartets",
079: "Beethoven",
080: "Quartets"), }),
081: new Folder(
082: "Sonatas",
083: new Music[] {
084: new Music(
085: "Sonata in A Minor",
086: "Beethoven",
087: "Sonatas"),
088: new Music(
089: "Sonata in F Major",
090: "Beethoven",
091: "Sonatas"), }),
092:
093: new Folder("Concertos", new Music[] {
094: new Music("No. 1 - C",
095: "Beethoven",
096: "Concertos"),
097: new Music(
098: "No. 2 - B-Flat Major",
099: "Beethoven",
100: "Concertos"),
101: new Music("No. 3 - C Minor",
102: "Beethoven",
103: "Concertos"),
104: new Music("No. 4 - G Major",
105: "Beethoven",
106: "Concertos"),
107: new Music(
108: "No. 5 - E-Flat Major",
109: "Beethoven",
110: "Concertos"), }),
111:
112: new Folder("Symphonies", new Music[] {
113: new Music("No. 1 - C Major",
114: "Beethoven",
115: "Symphonies"),
116: new Music("No. 2 - D Major",
117: "Beethoven",
118: "Symphonies"),
119: new Music(
120: "No. 3 - E-Flat Major",
121: "Beethoven",
122: "Symphonies"),
123: new Music(
124: "No. 4 - B-Flat Major",
125: "Beethoven",
126: "Symphonies"),
127: new Music("No. 5 - C Minor",
128: "Beethoven",
129: "Symphonies"),
130: new Music("No. 6 - F Major",
131: "Beethoven",
132: "Symphonies"),
133: new Music("No. 7 - A Major",
134: "Beethoven",
135: "Symphonies"),
136: new Music("No. 8 - F Major",
137: "Beethoven",
138: "Symphonies"),
139: new Music("No. 9 - D Minor",
140: "Beethoven",
141: "Symphonies"), }), }),
142: new Folder(
143: "Brahms",
144: new Folder[] {
145: new Folder(
146: "Concertos",
147: new Music[] {
148: new Music(
149: "Violin Concerto",
150: "Brahms",
151: "Concertos"),
152: new Music(
153: "Double Concerto - A Minor",
154: "Brahms",
155: "Concertos"),
156: new Music(
157: "Piano Concerto No. 1 - D Minor",
158: "Brahms",
159: "Concertos"),
160: new Music(
161: "Piano Concerto No. 2 - B-Flat Major",
162: "Brahms",
163: "Concertos"), }),
164: new Folder(
165: "Quartets",
166: new Music[] {
167: new Music(
168: "Piano Quartet No. 1 - G Minor",
169: "Brahms",
170: "Quartets"),
171: new Music(
172: "Piano Quartet No. 2 - A Major",
173: "Brahms",
174: "Quartets"),
175: new Music(
176: "Piano Quartet No. 3 - C Minor",
177: "Brahms",
178: "Quartets"),
179: new Music(
180: "String Quartet No. 3 - B-Flat Minor",
181: "Brahms",
182: "Quartets"), }),
183: new Folder(
184: "Sonatas",
185: new Music[] {
186: new Music(
187: "Two Sonatas for Clarinet - F Minor",
188: "Brahms",
189: "Sonatas"),
190: new Music(
191: "Two Sonatas for Clarinet - E-Flat Major",
192: "Brahms",
193: "Sonatas"), }),
194: new Folder(
195: "Symphonies",
196: new Music[] {
197: new Music(
198: "No. 1 - C Minor",
199: "Brahms",
200: "Symphonies"),
201: new Music(
202: "No. 2 - D Minor",
203: "Brahms",
204: "Symphonies"),
205: new Music(
206: "No. 3 - F Major",
207: "Brahms",
208: "Symphonies"),
209: new Music(
210: "No. 4 - E Minor",
211: "Brahms",
212: "Symphonies"), }), }),
213: new Folder("Mozart", new Folder[] { new Folder(
214: "Concertos", new Music[] {
215: new Music("Piano Concerto No. 12",
216: "Mozart", "Concertos"),
217: new Music("Piano Concerto No. 17",
218: "Mozart", "Concertos"),
219: new Music("Clarinet Concerto",
220: "Mozart", "Concertos"),
221: new Music("Violin Concerto No. 5",
222: "Mozart", "Concertos"),
223: new Music("Violin Concerto No. 4",
224: "Mozart", "Concertos"), }), }), };
225:
226: Folder root = new Folder("root");
227: for (int i = 0; i < folders.length; i++) {
228: root.add((Folder) folders[i]);
229: }
230:
231: return root;
232: }
233:
234: public static Folder getStocks() {
235: Folder stocks = new Folder("Stocks");
236:
237: stocks.add(new Stock("Apple Inc.", "AAPL", 125.64, 123.43));
238: stocks
239: .add(new Stock("Cisco Systems, Inc.", "CSCO", 25.84,
240: 26.3));
241: stocks.add(new Stock("Google Inc.", "GOOG", 516.2, 512.6));
242: stocks
243: .add(new Stock("Intel Corporation", "INTC", 21.36,
244: 21.53));
245: stocks.add(new Stock("Level 3 Communications, Inc.", "LVLT",
246: 5.55, 5.54));
247: stocks.add(new Stock("Microsoft Corporation", "MSFT", 29.56,
248: 29.72));
249: stocks.add(new Stock("Nokia Corporation (ADR)", "NOK", 27.83,
250: 27.93));
251: stocks
252: .add(new Stock("Oracle Corporation", "ORCL", 18.73,
253: 18.98));
254: stocks.add(new Stock("Starbucks Corporation", "SBUX", 27.33,
255: 27.36));
256: stocks.add(new Stock("Yahoo! Inc.", "YHOO", 26.97, 27.29));
257: stocks.add(new Stock("Applied Materials, Inc.", "AMAT", 18.4,
258: 18.66));
259: stocks
260: .add(new Stock("Comcast Corporation", "CMCSA", 25.9,
261: 26.4));
262: stocks.add(new Stock("Sirius Satellite", "SIRI", 2.77, 2.74));
263:
264: stocks.add(new Stock("Tellabs, Inc.", "TLAB", 10.64, 10.75));
265: stocks.add(new Stock("eBay Inc.", "EBAY", 30.43, 31.21));
266: stocks.add(new Stock("Broadcom Corporation", "BRCM", 30.88,
267: 30.48));
268: stocks.add(new Stock("CMGI Inc.", "CMGI", 2.14, 2.13));
269: stocks.add(new Stock("Amgen, Inc.", "AMGN", 56.22, 57.02));
270: stocks.add(new Stock("Limelight Networks", "LLNW", 23, 22.11));
271: stocks.add(new Stock("Amazon.com, Inc.", "AMZN", 72.47, 72.23));
272:
273: stocks.add(new Stock("E TRADE Financial Corporation", "ETFC",
274: 24.32, 24.58));
275: stocks.add(new Stock("AVANIR Pharmaceuticals", "AVNR", 3.7,
276: 3.52));
277: stocks.add(new Stock("Gemstar-TV Guide, Inc.", "GMST", 4.41,
278: 4.55));
279: stocks.add(new Stock("Akamai Technologies, Inc.", "AKAM",
280: 43.08, 45.32));
281: stocks.add(new Stock("Motorola, Inc.", "MOT", 17.74, 17.69));
282: stocks.add(new Stock("Advanced Micro Devices, Inc.", "AMD",
283: 13.77, 13.98));
284: stocks.add(new Stock("General Electric Company", "GE", 36.8,
285: 36.91));
286: stocks.add(new Stock("Texas Instruments Incorporated", "TXN",
287: 35.02, 35.7));
288: stocks.add(new Stock("Qwest Communications", "Q", 9.9, 10.03));
289: stocks.add(new Stock("Tyco International Ltd.", "TYC", 33.48,
290: 33.26));
291: stocks.add(new Stock("Pfizer Inc.", "PFE", 26.21, 26.19));
292: stocks.add(new Stock("Time Warner Inc.", "TWX", 20.3, 20.45));
293: stocks.add(new Stock("Sprint Nextel Corporation", "S", 21.85,
294: 21.76));
295: stocks.add(new Stock("Bank of America Corporation", "BAC",
296: 49.92, 49.73));
297: stocks
298: .add(new Stock("Taiwan Semiconductor", "TSM", 10.4,
299: 10.52));
300: stocks.add(new Stock("AT&T Inc.", "T", 39.7, 39.66));
301: stocks.add(new Stock("United States Steel Corporation", "X",
302: 115.81, 114.62));
303: stocks.add(new Stock("Exxon Mobil Corporation", "XOM", 81.77,
304: 81.86));
305: stocks.add(new Stock("Valero Energy Corporation", "VLO", 72.46,
306: 72.6));
307: stocks.add(new Stock("Micron Technology, Inc.", "MU", 12.02,
308: 12.27));
309: stocks.add(new Stock("Verizon Communications Inc.", "VZ", 42.5,
310: 42.61));
311: stocks.add(new Stock("Avaya Inc.", "AV", 16.96, 16.96));
312: stocks
313: .add(new Stock("The Home Depot, Inc.", "HD", 37.66,
314: 37.79));
315:
316: stocks.add(new Stock("First Data Corporation", "FDC", 32.7,
317: 32.65));
318: return stocks;
319:
320: }
321:
322: private static final int NUM_ITEMS = 37;
323: private static final int FRAGMENTS_PER_EMAIL = 10;
324:
325: private static final String[] senders = new String[] {
326: "markboland05", "Hollie Voss", "boticario",
327: "Emerson Milton", "Healy Colette", "Brigitte Cobb",
328: "Elba Lockhart", "Claudio Engle", "Dena Pacheco",
329: "Brasil s.p", "Parker", "derbvktqsr", "qetlyxxogg",
330: "antenas.sul", "Christina Blake", "Gail Horton",
331: "Orville Daniel", "PostMaster", "Rae Childers",
332: "Buster misjenou", "user31065", "ftsgeolbx", "aqlovikigd",
333: "user18411", "Mildred Starnes", "Candice Carson",
334: "Louise Kelchner", "Emilio Hutchinson", "Geneva Underwood",
335: "Residence Oper?", "fpnztbwag", "tiger", "Heriberto Rush",
336: "bulrush Bouchard", "Abigail Louis", "Chad Andrews",
337: "bjjycpaa", "Terry English", "Bell Snedden", "huang",
338: "hhh", "(unknown sender)", "Kent", "Dirk Newman",
339: "Equipe Virtual Cards", "wishesundmore", "Benito Meeks" };
340:
341: private static final String[] emails = new String[] {
342: "mark@example.com", "hollie@example.com",
343: "boticario@example.com", "emerson@example.com",
344: "healy@example.com", "brigitte@example.com",
345: "elba@example.com", "claudio@example.com",
346: "dena@example.com", "brasilsp@example.com",
347: "parker@example.com", "derbvktqsr@example.com",
348: "qetlyxxogg@example.com", "antenas_sul@example.com",
349: "cblake@example.com", "gailh@example.com",
350: "orville@example.com", "post_master@example.com",
351: "rchilders@example.com", "buster@example.com",
352: "user31065@example.com", "ftsgeolbx@example.com",
353: "aqlovikigd@example.com", "user18411@example.com",
354: "mildred@example.com", "candice@example.com",
355: "louise_kelchner@example.com", "emilio@example.com",
356: "geneva@example.com", "residence_oper@example.com",
357: "fpnztbwag@example.com", "tiger@example.com",
358: "heriberto@example.com", "bulrush@example.com",
359: "abigail_louis@example.com", "chada@example.com",
360: "bjjycpaa@example.com", "terry@example.com",
361: "bell@example.com", "huang@example.com", "hhh@example.com",
362: "kent@example.com", "newman@example.com",
363: "equipe_virtual@example.com", "wishesundmore@example.com",
364: "benito@example.com" };
365:
366: private static final String[] subjects = new String[] {
367: "URGENT -[Mon, 24 Apr 2006 02:17:27 +0000]",
368: "URGENT TRANSACTION -[Sun, 23 Apr 2006 13:10:03 +0000]",
369: "fw: Here it comes",
370: "voce ganho um vale presente Boticario",
371: "Read this ASAP",
372: "Hot Stock Talk",
373: "New Breed of Equity Trader",
374: "FWD: TopWeeks the wire special pr news release",
375: "[fwd] Read this ASAP",
376: "Renda Extra R$1.000,00-R$2.000,00/m?s",
377: "re: Make sure your special pr news released",
378: "Forbidden Knowledge Conference",
379: "decodificadores os menores pre?os",
380: "re: Our Pick",
381: "RE: The hottest pick Watcher",
382: "RE: St0kkMarrkett Picks Trade watch special pr news release",
383: "St0kkMarrkett Picks Watch special pr news release news",
384: "You are a Winner oskoxmshco",
385: "Encrypted E-mail System (VIRUS REMOVED)",
386: "Fw: Malcolm",
387: "Secure Message System (VIRUS REMOVED)",
388: "fwd: St0kkMarrkett Picks Watch special pr news releaser",
389: "FWD: Financial Market Traderr special pr news release",
390: "? s? uma dica r?pida !!!!! leia !!!",
391: "re: You have to heard this",
392: "fwd: Watcher TopNews",
393: "VACANZE alle Mauritius",
394: "funny",
395: "re: You need to review this",
396: "[re:] Our Pick",
397: "RE: Before the be11 special pr news release",
398: "[re:] Market TradePicks Trade watch news",
399: "No prescription needed",
400: "Seu novo site",
401: "[fwd] Financial Market Trader Picker",
402: "FWD: Top Financial Market Specialists Trader interest increases",
403: "Os cart?es mais animados da web!!",
404: "We will sale 4 you cebtdbwtcv",
405: "RE: Best Top Financial Market Specialists Trader Picks" };
406:
407: private static final String[] fragments = new String[] {
408: "Dear Friend,<br><br>I am Mr. Mark Boland the Bank Manager of ABN AMRO "
409: + "BANK 101 Moorgate, London, EC2M 6SB.<br><br>",
410: "I have an urgent and very confidential business proposition for you. On "
411: + "July 20, 2001; Mr. Zemenu Gente, a National of France, who used to be a "
412: + "private contractor with the Shell Petroleum Development Company in Saudi "
413: + "Arabia. Mr. Zemenu Gente Made a Numbered time (Fixed deposit) for 36 "
414: + "calendar months, valued at GBP?30, 000,000.00 (Thirty Million Pounds "
415: + "only) in my Branch.",
416: "I have all necessary legal documents that can be used to back up any "
417: + "claim we may make. All I require is your honest Co-operation, "
418: + "Confidentiality and A trust to enable us sees this transaction through. "
419: + "I guarantee you that this will be executed under a legitimate "
420: + "arrangement that will protect you from any breach of the law. Please "
421: + "get in touch with me urgently by E-mail and "
422: + "Provide me with the following;<br>",
423: "The OIL sector is going crazy. This is our weekly gift to you!<br>"
424: + "<br>"
425: + "Get KKPT First Thing, This Is Going To Run!<br>"
426: + "<br>"
427: + "Check out Latest NEWS!<br>"
428: + "<br>"
429: + "KOKO PETROLEUM (KKPT) - This is our #1 pick for next week!<br>"
430: + "Our last pick gained $2.16 in 4 days of trading.<br>",
431: "LAS VEGAS, NEVADA--(MARKET WIRE)--Apr 6, 2006 -- KOKO Petroleum, Inc. "
432: + "(Other OTC:KKPT.PK - News) -<br>KOKO Petroleum, Inc. announced today that "
433: + "its operator for the Corsicana Field, JMT Resources, Ltd. (\"JMT\") "
434: + "will commence a re-work program on its Pecan Gap wells in the next week. "
435: + "The re-work program will consist of drilling six lateral bore production "
436: + "strings from the existing well bore. This process, known as Radial Jet "
437: + "Enhancement, will utilize high pressure fluids to drill the lateral well "
438: + "bores, which will extend out approximately 350\' each.",
439: "JMT has contracted with Well Enhancement Services, LLC (www."
440: + "wellenhancement.com) to perform the rework on its Pierce nos. 14 and 14a. "
441: + "A small sand frac will follow the drilling of the lateral well bores in "
442: + "order to enhance permeability and create larger access to the Pecan Gap "
443: + "reservoir. Total cost of the re-work per well is estimated to be "
444: + "approximately $50,000 USD.",
445: "Parab?ns!<br>Voc? Ganhou Um Vale Presente da Botic?rio no valor de "
446: + "R$50,00<br>Voc? foi contemplado na Promo??o Respeite Minha Natureza - "
447: + "Pulseira Social.<br>Algu?m pode t?-lo inscrito na promo??o! (Amigos(as), "
448: + "Namorado(a) etc.).<br>Para retirar o seu pr?mio em uma das nossas Lojas, "
449: + "fa?a o download do Vale-Presente abaixo.<br>Ap?s o download, com o "
450: + "arquivo previamente salvo, imprima uma folha e salve a c?pia em seu "
451: + "computador para evitar transtornos decorrentes da perda do mesmo. "
452: + "Lembramos que o Vale-Presente ? ?nico e intransfer?vel.",
453: "Large Marketing Campaign running this weekend!<br>"
454: + "<br>"
455: + "Should you get in today before it explodes?<br>"
456: + "<br>" + "This Will Fly Starting Monday!",
457: "PREMIER INFORMATION (PIFR)<br>"
458: + "A U.S. based company offers specialized information management "
459: + "serices to both the Insurance and Healthcare Industries. The services "
460: + "we provide are specific to each industry and designed for quick "
461: + "response and maximum security.<br>"
462: + "<br>"
463: + "STK- PIFR<br>"
464: + "Current Price: .20<br>"
465: + "This one went to $2.80 during the last marketing Campaign!",
466: "These partnerships specifically allow Premier to obtain personal health "
467: + "information, as governed by the Health In-surancee Portability and "
468: + "Accountability Act of 1996 (HIPAA), and other applicable state laws and "
469: + "regulations.<br><br>"
470: + "Global HealthCare Market Undergoing Digital Conversion",
471: ">> Componentes e decodificadores; confira aqui;<br>"
472: + " http://br.geocities.com/listajohn/index.htm<br>",
473: "THE GOVERNING AWARD<br>"
474: + "NETHERLANDS HEAD OFFICE<br>"
475: + "AC 76892 HAUITSOP<br>"
476: + "AMSTERDAM, THE NETHERLANDS.<br>"
477: + "FROM: THE DESK OF THE PROMOTIONS MANAGER.<br>"
478: + "INTERNATIONAL PROMOTIONS / PRIZE AWARD DEPARTMENT<br>"
479: + "REF NUMBER: 14235/089.<br>"
480: + "BATCH NUMBER: 304/64780/IFY.<br>"
481: + "RE/AWARD NOTIFICATION<br>",
482: "We are pleased to inform you of the announcement today 13th of April "
483: + "2006, you among TWO LUCKY WINNERS WON the GOVERNING AWARD draw held on "
484: + "the 28th of March 2006. The THREE Winning Addresses were randomly "
485: + "selected from a batch of 10,000,000 international email addresses. "
486: + "Your email address emerged alongside TWO others as a category B winner "
487: + "in this year\'s Annual GOVERNING AWARD Draw.<br>",
488: ">> obrigado por me dar esta pequena aten??o !!!<br>"
489: + "CASO GOSTE DE ASSISTIR TV , MAS A SUA ANTENA S? PEGA AQUELES CANAIS "
490: + "LOCAIS OU O SEU SISTEMA PAGO ? MUITO CARO , SAIBA QUE TENHO CART?ES "
491: + "DE ACESSO PARA SKY DIRECTV , E DECODERS PARA NET TVA E TECSAT , "
492: + "TUDO GRATIS , SEM ASSINTURA , SEM MENSALIDADE, VC PAGA UMA VEZ S? E "
493: + "ASSISTE A MUITOS CANAIS , FILMES , JOGOS , PORNOS , DESENHOS , "
494: + "DOCUMENT?RIOS ,SHOWS , ETC,<br><br>"
495: + "CART?O SKY E DIRECTV TOTALMENTE HACKEADOS 350,00<br>"
496: + "DECODERS NET TVA DESBLOQUEADOS 390,00<br>"
497: + "KITS COMPLETOS SKY OU DTV ANTENA DECODER E CART?O 650,00<br>"
498: + "TECSAT FREE 450,00<br>"
499: + "TENHO TB ACESS?RIOS , CABOS, LNB .<br>",
500: "********************************************************************<br>"
501: + " Original filename: mail.zip<br>"
502: + " Virus discovered: JS.Feebs.AC<br>"
503: + "********************************************************************<br>"
504: + " A file that was attached to this email contained a virus.<br>"
505: + " It is very likely that the original message was generated<br>"
506: + " by the virus and not a person - treat this message as you would<br>"
507: + " any other junk mail (spam).<br>"
508: + " For more information on why you received this message please visit:<br>",
509: "Put a few letters after your name. Let us show you how you can do it in "
510: + "just a few days.<br><br>"
511: + "http://thewrongchoiceforyou.info<br><br>"
512: + "kill future mailing by pressing this : see main website",
513: "We possess scores of pharmaceutical products handy<br>"
514: + "All med\'s are made in U.S. laboratories<br>"
515: + "For your wellbeing! Very rapid, protected and secure<br>"
516: + "Ordering, No script required. We have the pain aid you require<br>",
517: "\"Oh, don\'t speak to me of Austria. Perhaps I don\'t understand things, "
518: + "but Austria never has wished, and does not wish, for war. She is "
519: + "betraying us! Russia alone must save Europe. Our gracious sovereign "
520: + "recognizes his high vocation and will be true to it. That is the one "
521: + "thing I have faith in! Our good and wonderful sovereign has to perform "
522: + "the noblest role on earth, and he is so virtuous and noble that God "
523: + "will not forsake him. He will fulfill his vocation and crush the hydra "
524: + "of revolution, which has become more terrible than ever in the person of "
525: + "this murderer and villain! We alone must avenge the blood of the "
526: + "just one.... Whom, I ask you, can we rely on?... England with "
527: + "her commercial spirit will not and cannot understand the Emperor "
528: + "Alexander\'s loftiness of soul. She has refused to evacuate Malta. "
529: + "She wanted to find, and still seeks, some secret motive in our "
530: + "actions. What answer did Novosiltsev get? None. The English have not "
531: + "understood and cannot understand the self-ab!<br>negation of our "
532: + "Emperor who wants nothing for himself, but only desires the good "
533: + "of mankind. And what have they promised? Nothing! And what little "
534: + "they have promised they will not perform! Prussia has always "
535: + "declared that Buonaparte is invincible, and that all Europe is "
536: + "powerless before him.... And I don\'t believe a word that Hardenburg "
537: + "says, or Haugwitz either. This famous Prussian neutrality is just a "
538: + "trap. I have faith only in God and the lofty destiny of our adored "
539: + "monarch. He will save Europe!\"<br>\"Those were extremes, no doubt, "
540: + "but they are not what is most important. What is important are the "
541: + "rights of man, emancipation from prejudices, and equality of "
542: + "citizenship, and all these ideas Napoleon has retained in full "
543: + "force.\"" };
544:
545: private static int senderIdx = 0, emailIdx = 0, subjectIdx = 0,
546: fragmentIdx = 0;
547: private static Vector items = new Vector();
548:
549: static {
550: for (int i = 0; i < NUM_ITEMS; ++i)
551: items.add(createFakeMail());
552: }
553:
554: public static List getMailItems() {
555: List list = new ArrayList();
556: int size = items.size();
557: for (int i = 0; i < size; i++) {
558: list.add(items.get(i));
559: }
560: return list;
561: }
562:
563: private static MailItem createFakeMail() {
564: String sender = senders[senderIdx++];
565: if (senderIdx == senders.length)
566: senderIdx = 0;
567:
568: String email = emails[emailIdx++];
569: if (emailIdx == emails.length)
570: emailIdx = 0;
571:
572: String subject = subjects[subjectIdx++];
573: if (subjectIdx == subjects.length)
574: subjectIdx = 0;
575:
576: String body = "";
577: for (int i = 0; i < FRAGMENTS_PER_EMAIL; ++i) {
578: body += fragments[fragmentIdx++];
579: if (fragmentIdx == fragments.length)
580: fragmentIdx = 0;
581: }
582:
583: return new MailItem(sender, email, subject, body);
584: }
585: }
|