/*
* Copyright 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.sample.mail.client;
import java.util.Vector;
/**
* A simple client-side generator of fake email messages.
*/
public class MailItems {
private static final int NUM_ITEMS = 37;
private static final int FRAGMENTS_PER_EMAIL = 10;
private static final String[] senders = new String[]{
"markboland05", "Hollie Voss", "boticario", "Emerson Milton",
"Healy Colette", "Brigitte Cobb", "Elba Lockhart", "Claudio Engle",
"Dena Pacheco", "Brasil s.p", "Parker", "derbvktqsr", "qetlyxxogg",
"antenas.sul", "Christina Blake", "Gail Horton", "Orville Daniel",
"PostMaster", "Rae Childers", "Buster misjenou", "user31065", "ftsgeolbx",
"aqlovikigd", "user18411", "Mildred Starnes", "Candice Carson",
"Louise Kelchner", "Emilio Hutchinson", "Geneva Underwood",
"Residence Oper?", "fpnztbwag", "tiger", "Heriberto Rush",
"bulrush Bouchard", "Abigail Louis", "Chad Andrews", "bjjycpaa",
"Terry English", "Bell Snedden", "huang", "hhh", "(unknown sender)",
"Kent", "Dirk Newman", "Equipe Virtual Cards", "wishesundmore",
"Benito Meeks"};
private static final String[] emails = new String[]{
"mark@example.com", "hollie@example.com", "boticario@example.com",
"emerson@example.com", "healy@example.com", "brigitte@example.com",
"elba@example.com", "claudio@example.com", "dena@example.com",
"brasilsp@example.com", "parker@example.com", "derbvktqsr@example.com",
"qetlyxxogg@example.com", "antenas_sul@example.com", "cblake@example.com",
"gailh@example.com", "orville@example.com", "post_master@example.com",
"rchilders@example.com", "buster@example.com", "user31065@example.com",
"ftsgeolbx@example.com", "aqlovikigd@example.com", "user18411@example.com",
"mildred@example.com", "candice@example.com",
"louise_kelchner@example.com", "emilio@example.com", "geneva@example.com",
"residence_oper@example.com", "fpnztbwag@example.com", "tiger@example.com",
"heriberto@example.com", "bulrush@example.com",
"abigail_louis@example.com", "chada@example.com", "bjjycpaa@example.com",
"terry@example.com", "bell@example.com", "huang@example.com",
"hhh@example.com", "kent@example.com", "newman@example.com",
"equipe_virtual@example.com", "wishesundmore@example.com",
"benito@example.com"};
private static final String[] subjects = new String[]{
"URGENT -[Mon, 24 Apr 2006 02:17:27 +0000]",
"URGENT TRANSACTION -[Sun, 23 Apr 2006 13:10:03 +0000]",
"fw: Here it comes", "voce ganho um vale presente Boticario",
"Read this ASAP", "Hot Stock Talk", "New Breed of Equity Trader",
"FWD: TopWeeks the wire special pr news release", "[fwd] Read this ASAP",
"Renda Extra R$1.000,00-R$2.000,00/m?s",
"re: Make sure your special pr news released",
"Forbidden Knowledge Conference", "decodificadores os menores pre?os",
"re: Our Pick", "RE: The hottest pick Watcher",
"RE: St0kkMarrkett Picks Trade watch special pr news release",
"St0kkMarrkett Picks Watch special pr news release news",
"You are a Winner oskoxmshco", "Encrypted E-mail System (VIRUS REMOVED)",
"Fw: Malcolm", "Secure Message System (VIRUS REMOVED)",
"fwd: St0kkMarrkett Picks Watch special pr news releaser",
"FWD: Financial Market Traderr special pr news release",
"? s? uma dica r?pida !!!!! leia !!!", "re: You have to heard this",
"fwd: Watcher TopNews", "VACANZE alle Mauritius", "funny",
"re: You need to review this", "[re:] Our Pick",
"RE: Before the be11 special pr news release",
"[re:] Market TradePicks Trade watch news", "No prescription needed",
"Seu novo site", "[fwd] Financial Market Trader Picker",
"FWD: Top Financial Market Specialists Trader interest increases",
"Os cart?es mais animados da web!!", "We will sale 4 you cebtdbwtcv",
"RE: Best Top Financial Market Specialists Trader Picks"};
private static final String[] fragments = new String[]{
"Dear Friend,<br><br>I am Mr. Mark Boland the Bank Manager of ABN AMRO "
+ "BANK 101 Moorgate, London, EC2M 6SB.<br><br>",
"I have an urgent and very confidential business proposition for you. On "
+ "July 20, 2001; Mr. Zemenu Gente, a National of France, who used to be a "
+ "private contractor with the Shell Petroleum Development Company in Saudi "
+ "Arabia. Mr. Zemenu Gente Made a Numbered time (Fixed deposit) for 36 "
+ "calendar months, valued at GBP?30, 000,000.00 (Thirty Million Pounds "
+ "only) in my Branch.",
"I have all necessary legal documents that can be used to back up any "
+ "claim we may make. All I require is your honest Co-operation, "
+ "Confidentiality and A trust to enable us sees this transaction through. "
+ "I guarantee you that this will be executed under a legitimate "
+ "arrangement that will protect you from any breach of the law. Please "
+ "get in touch with me urgently by E-mail and "
+ "Provide me with the following;<br>",
"The OIL sector is going crazy. This is our weekly gift to you!<br>"
+ "<br>" + "Get KKPT First Thing, This Is Going To Run!<br>" + "<br>"
+ "Check out Latest NEWS!<br>" + "<br>"
+ "KOKO PETROLEUM (KKPT) - This is our #1 pick for next week!<br>"
+ "Our last pick gained $2.16 in 4 days of trading.<br>",
"LAS VEGAS, NEVADA--(MARKET WIRE)--Apr 6, 2006 -- KOKO Petroleum, Inc. "
+ "(Other OTC:KKPT.PK - News) -<br>KOKO Petroleum, Inc. announced today that "
+ "its operator for the Corsicana Field, JMT Resources, Ltd. (\"JMT\") "
+ "will commence a re-work program on its Pecan Gap wells in the next week. "
+ "The re-work program will consist of drilling six lateral bore production "
+ "strings from the existing well bore. This process, known as Radial Jet "
+ "Enhancement, will utilize high pressure fluids to drill the lateral well "
+ "bores, which will extend out approximately 350\' each.",
"JMT has contracted with Well Enhancement Services, LLC (www."
+ "wellenhancement.com) to perform the rework on its Pierce nos. 14 and 14a. "
+ "A small sand frac will follow the drilling of the lateral well bores in "
+ "order to enhance permeability and create larger access to the Pecan Gap "
+ "reservoir. Total cost of the re-work per well is estimated to be "
+ "approximately $50,000 USD.",
"Parab?ns!<br>Voc? Ganhou Um Vale Presente da Botic?rio no valor de "
+ "R$50,00<br>Voc? foi contemplado na Promo??o Respeite Minha Natureza - "
+ "Pulseira Social.<br>Algu?m pode t?-lo inscrito na promo??o! (Amigos(as), "
+ "Namorado(a) etc.).<br>Para retirar o seu pr?mio em uma das nossas Lojas, "
+ "fa?a o download do Vale-Presente abaixo.<br>Ap?s o download, com o "
+ "arquivo previamente salvo, imprima uma folha e salve a c?pia em seu "
+ "computador para evitar transtornos decorrentes da perda do mesmo. "
+ "Lembramos que o Vale-Presente ? ?nico e intransfer?vel.",
"Large Marketing Campaign running this weekend!<br>" + "<br>"
+ "Should you get in today before it explodes?<br>" + "<br>"
+ "This Will Fly Starting Monday!",
"PREMIER INFORMATION (PIFR)<br>"
+ "A U.S. based company offers specialized information management "
+ "serices to both the Insurance and Healthcare Industries. The services "
没有合适的资源?快使用搜索试试~ 我知道了~
在eclipse上用JAVA实现AJAX插件
共621个文件
html:319个
class:88个
java:49个
需积分: 10 4 下载量 47 浏览量
2009-05-20
10:09:24
上传
评论
收藏 12.16MB ZIP 举报
温馨提示
在eclipse上用JAVA实现AJAX插件
资源推荐
资源详情
资源评论
收起资源包目录
在eclipse上用JAVA实现AJAX插件 (621个子文件)
MailItems.class 14KB
Layouts.class 7KB
DynaTableWidget.class 6KB
MailList.class 6KB
SchoolCalendarServiceImpl.class 5KB
JSON.class 5KB
KitchenSink.class 5KB
SchoolCalendarWidget$CalendarProvider.class 4KB
DayFilterWidget.class 4KB
Images.class 4KB
Trees.class 4KB
Lists.class 4KB
Text.class 4KB
DynaTableWidget$NavBar.class 4KB
DynaTableWidget$RowDataAcceptorImpl.class 4KB
Popups.class 3KB
Mail.class 3KB
SchoolCalendarWidget.class 3KB
MailDetail.class 3KB
Tabs.class 3KB
Tables.class 3KB
Popups$MyDialog.class 3KB
Menus.class 3KB
AboutDialog.class 3KB
JSONParser.class 3KB
TopPanel.class 2KB
JSONObject.class 2KB
Contacts.class 2KB
Buttons.class 2KB
TimeSlot.class 2KB
SchoolCalendarWidget$CalendarProvider$1.class 2KB
SinkList.class 2KB
JSONArray.class 2KB
Mailboxes.class 2KB
DayFilterWidget$DayCheckBoxListener.class 2KB
JSON$JSONResponseTextHandler.class 2KB
Contacts$ContactPopup.class 2KB
Contacts$1.class 2KB
Shortcuts.class 2KB
Schedule.class 2KB
JSONNumber.class 2KB
Info.class 1KB
DayFilterWidget$DayCheckBox.class 1KB
JSON$SearchButtonClickListener.class 1KB
Frames.class 1KB
Text$2.class 1KB
DynaTable.class 1KB
SchoolCalendarWidget$1.class 1KB
Text$3.class 1KB
Text$4.class 1KB
Sink$SinkInfo.class 1KB
Tasks.class 968B
JSONValue.class 962B
Hello.class 958B
DayFilterWidget$2.class 937B
DayFilterWidget$1.class 937B
Person.class 898B
Popups$MyPopup.class 848B
Trees$Proto.class 847B
Professor.class 821B
Hello$1.class 820B
AboutDialog$1.class 818B
Student.class 805B
Contacts$Contact.class 778B
JSONBoolean.class 772B
JSONException.class 767B
Buttons$1.class 766B
Layouts$1.class 766B
Popups$1.class 762B
Frames$1.class 762B
Tables$1.class 762B
Images$1.class 762B
Trees$1.class 758B
Lists$1.class 758B
Menus$1.class 758B
Tabs$1.class 754B
Text$1.class 754B
Info$1.class 754B
JSONString.class 659B
MailItem.class 622B
Sink.class 580B
Trees$PendingItem.class 515B
DynaTableDataProvider.class 403B
DynaTableDataProvider$RowDataAcceptor.class 381B
SchoolCalendarService.class 289B
DynaTableWidget$1.class 264B
SchoolCalendarServiceAsync.class 246B
JSON$1.class 221B
KitchenSink-shell.cmd 199B
DynaTable-shell.cmd 193B
Hello-shell.cmd 181B
JSON-shell.cmd 178B
Mail-shell.cmd 178B
KitchenSink-compile.cmd 175B
DynaTable-compile.cmd 171B
Hello-compile.cmd 163B
JSON-compile.cmd 161B
Mail-compile.cmd 161B
applicationCreator.cmd 79B
projectCreator.cmd 75B
共 621 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
annalily
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功