- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://twitter4j.org/
- 软件文档: http://twitter4j.org/en/javadoc.html
软件介绍
Twitter4J 是一个非官方的 Twitter API 的 Java 客户端开发包,使用 Twitter4j 可以轻松在你的应用中集成 Twitter 的服务,主要特点:
- 100% 纯Java
- 支持 Android 平台和 Google App Engine
- 不依赖第三方开发包
- 内建 OAuth 支持
示例代码:
// Creates the main object
Twitter twitter = new TwitterFactory().getInstance();
// Ask for a request token
RequestToken requestToken = twitter.getOAuthRequestToken();
// Store the token in session
request.getSession().setAttribute("rt", requestToken);
// Extract the authentication URL
String authUrl = requestToken.getAuthenticationURL();
// Send the Twitter authentication page to the page to create a popup from there
request.setAttribute("auth", authUrl);
正则表达式必知必会
Ben Forta / 杨涛、王建桥、杨晓云 / 人民邮电出版社 / 2007 / 29.00元
正则表达式是一种威力无比强大的武器,几乎在所有的程序设计语言里和计算机平台上都可以用它来完成各种复杂的文本处理工作。本书从简单的文本匹配开始,循序渐进地介绍了很多复杂内容,其中包括回溯引用、条件性求值和前后查找,等等。每章都为读者准备了许多简明又实用的示例,有助于全面、系统、快速掌握正则表达式,并运用它们去解决实际问题。 本书适合各种语言和平台的开发人员。一起来看看 《正则表达式必知必会》 这本书的介绍吧!
