code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Configuration.java | Java | asf20 | 11,850 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Paging.java | Java | asf20 | 4,118 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Trends.java | Java | asf20 | 6,442 |
package weibo4j;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* A data class re... | zxk-code | trunk/demo/src/weibo4j/ListObject.java | Java | asf20 | 7,503 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Version.java | Java | asf20 | 1,862 |
/**
*
*/
package weibo4j;
import java.util.ArrayList;
import java.util.List;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* @author hezhou
*
*/
public class Count implements java.io.Serializable{... | zxk-code | trunk/demo/src/weibo4j/Count.java | Java | asf20 | 2,352 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Dispatcher.java | Java | asf20 | 4,045 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/StatusListener.java | Java | asf20 | 1,695 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Trend.java | Java | asf20 | 3,314 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/QueryResult.java | Java | asf20 | 6,665 |
/*
* ListUserCount.java created on 2010-8-19 下午02:16:15 by bwl (Liu Daoru)
*/
package weibo4j;
import java.io.Serializable;
import org.w3c.dom.Element;
import weibo4j.http.Response;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* List用户统计对象
*
* @author bwl (... | zxk-code | trunk/demo/src/weibo4j/ListUserCount.java | Java | asf20 | 2,688 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/OAuthToken.java | Java | asf20 | 3,839 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/Response.java | Java | asf20 | 9,815 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/RequestToken.java | Java | asf20 | 3,151 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/HttpClient.java | Java | asf20 | 36,214 |
/**
*
*/
package weibo4j.http;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.Iterator;
import javax.imageio.ImageIO;
import javax.imageio.ImageReader;
import javax.imageio.stream.MemoryCacheImageInputStream;
//import com.sun.imageio.plugins.bmp.BMPImageReader;
//im... | zxk-code | trunk/demo/src/weibo4j/http/ImageItem.java | Java | asf20 | 2,420 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/AccessToken.java | Java | asf20 | 2,716 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/BASE64Encoder.java | Java | asf20 | 4,244 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/HTMLEntity.java | Java | asf20 | 27,996 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/PostParameter.java | Java | asf20 | 7,659 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/http/OAuth.java | Java | asf20 | 16,029 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Weibo.java | Java | asf20 | 168,195 |
/*
* UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru)
*/
package weibo4j;
import java.io.Serializable;
import java.util.List;
/**
* 对User对象列表进行的包装,以支持cursor相关信息传递
* @author liudaoru - daoru at sina.com.cn
*/
public class UserWapper implements Serializable {
private stati... | zxk-code | trunk/demo/src/weibo4j/UserWapper.java | Java | asf20 | 1,256 |
package weibo4j;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
... | zxk-code | trunk/demo/src/weibo4j/Comment.java | Java | asf20 | 8,321 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/OAuthUpdateTwo.java | Java | asf20 | 3,408 |
package weibo4j.examples;
import java.util.List;
import weibo4j.User;
import weibo4j.UserWapper;
import weibo4j.Weibo;
/**
* Example of get members of list.
*
* @author bwl (刘道儒)
*/
public class GetListMembers {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key] -DWeibo4j.oauth.co... | zxk-code | trunk/demo/src/weibo4j/examples/GetListMembers.java | Java | asf20 | 1,702 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/OAuthSetTokenUpdate.java | Java | asf20 | 3,273 |
package weibo4j.examples;
import java.util.List;
import weibo4j.Status;
import weibo4j.Weibo;
/**
* Example of get statuses of list's members.
*
* @author bwl (刘道儒)
*/
public class GetListStatuses {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key] -DWeibo4j.oauth.consumerSecret=[... | zxk-code | trunk/demo/src/weibo4j/examples/GetListStatuses.java | Java | asf20 | 1,521 |
package weibo4j.examples;
import java.io.File;
import weibo4j.User;
import weibo4j.Weibo;
public class OAuthUpdateProfile {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key]
* -DWeibo4j.oauth.consumerSecret=[consumer secret]
* Weibo4j.examples.OAuthUpdateProfile [accessToken] [accessSe... | zxk-code | trunk/demo/src/weibo4j/examples/OAuthUpdateProfile.java | Java | asf20 | 1,477 |
package weibo4j.examples;
import java.util.List;
import weibo4j.Weibo;
import weibo4j.User;
public class GetFriends {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key] -DWeibo4j.oauth.consumerSecret=[consumer secret] Weibo4j.examples.GetFriends [accessToken] [accessSecret]
* @... | zxk-code | trunk/demo/src/weibo4j/examples/GetFriends.java | Java | asf20 | 1,149 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/OAuthUpdate.java | Java | asf20 | 5,046 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/GetTimelines.java | Java | asf20 | 3,707 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/SendDirectMessage.java | Java | asf20 | 2,950 |
package weibo4j.examples;
import java.util.List;
import weibo4j.ListObject;
import weibo4j.ListObjectWapper;
import weibo4j.Weibo;
public class GetListObjects {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key] -DWeibo4j.oauth.consumerSecret=[consumer secret] Weibo4j.examples.GetListObjects... | zxk-code | trunk/demo/src/weibo4j/examples/GetListObjects.java | Java | asf20 | 1,600 |
package weibo4j.examples;
import weibo4j.Status;
import weibo4j.Weibo;
import weibo4j.WeiboException;
import weibo4j.http.AccessToken;
import weibo4j.http.RequestToken;
public class WebOAuth {
public static RequestToken request(String backUrl) {
try {
System.setProperty("weibo4j.oauth.consumerKey",... | zxk-code | trunk/demo/src/weibo4j/examples/WebOAuth.java | Java | asf20 | 2,194 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/GetDirectMessages.java | Java | asf20 | 2,807 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/AsyncUpdate.java | Java | asf20 | 3,345 |
package weibo4j.examples;
import java.io.File;
import java.net.URLEncoder;
import weibo4j.Status;
import weibo4j.Weibo;
public class OAuthUploadByFile {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key]
* -DWeibo4j.oauth.consumerSecret=[consumer secret]
* Weibo4j.examples.OAuthUpload [a... | zxk-code | trunk/demo/src/weibo4j/examples/OAuthUploadByFile.java | Java | asf20 | 1,580 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/examples/Update.java | Java | asf20 | 3,829 |
package weibo4j.util;
/////////////////////////////////////////////////////////
//Bare Bones Browser Launch //
//Version 1.5 (December 10, 2005) //
//By Dem Pilafian //
//Supports: Mac OS X, GNU/Linux, Unix, Windows XP //
... | zxk-code | trunk/demo/src/weibo4j/util/BareBonesBrowserLaunch.java | Java | asf20 | 2,495 |
/*
Copyright (c) 2007-2009
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following dis... | zxk-code | trunk/demo/src/weibo4j/Query.java | Java | asf20 | 6,410 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/WeiboResponse.java | Java | asf20 | 8,917 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/SavedSearch.java | Java | asf20 | 5,030 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/DirectMessage.java | Java | asf20 | 7,540 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/WeiboSupport.java | Java | asf20 | 7,646 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/User.java | Java | asf20 | 21,771 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/WeiboAdapter.java | Java | asf20 | 7,007 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/WeiboStream.java | Java | asf20 | 25,836 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Status.java | Java | asf20 | 12,516 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/IDs.java | Java | asf20 | 4,696 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/Tweet.java | Java | asf20 | 7,981 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/RateLimitStatus.java | Java | asf20 | 3,924 |
/*
* ListObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru)
*/
package weibo4j;
import java.io.Serializable;
import java.util.List;
/**
* 对ListObject对象列表进行的包装,以支持cursor相关信息传递
* @author liudaoru - daoru at sina.com.cn
*/
public class ListObjectWapper implements Serializable {
p... | zxk-code | trunk/demo/src/weibo4j/ListObjectWapper.java | Java | asf20 | 1,356 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/demo/src/weibo4j/StatusStream.java | Java | asf20 | 3,451 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/WeiboException.java | Java | asf20 | 2,485 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/RetweetDetails.java | Java | asf20 | 6,192 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/WeiboListener.java | Java | asf20 | 6,278 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/AsyncWeibo.java | Java | asf20 | 157,077 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONObject.java | Java | asf20 | 52,523 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/CookieList.java | Java | asf20 | 3,279 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/Cookie.java | Java | asf20 | 6,422 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/HTTPTokener.java | Java | asf20 | 2,414 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONArray.java | Java | asf20 | 30,166 |
package weibo4j.org.json;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONTokener.java | Java | asf20 | 11,966 |
package weibo4j.org.json;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.io.StringWriter;
/**
* Test class. This file is not formally a member of the org.json library.
* It is just a casual test tool.
*/
public class Test {
/**
* Entry point.
* @param args
... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/Test.java | Java | asf20 | 29,226 |
package weibo4j.org.json;
/*
Copyright (c) 2008 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONML.java | Java | asf20 | 14,857 |
package weibo4j.org.json;
/*
Copyright (c) 2006 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONStringer.java | Java | asf20 | 3,196 |
package weibo4j.org.json;
/**
* The JSONException is thrown by the JSON.org classes then things are amiss.
* @author JSON.org
* @version 2008-09-18
*/
public class JSONException extends Exception {
private Throwable cause;
/**
* Constructs a JSONException with an explanatory message.
* @param me... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONException.java | Java | asf20 | 622 |
package weibo4j.org.json;
/**
* The <code>JSONString</code> interface allows a <code>toJSONString()</code>
* method so that a class can change the behavior of
* <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>,
* and <code>JSONWriter.value(</code>Object<code>)</code>. The
* <code>toJSONStri... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONString.java | Java | asf20 | 702 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/XML.java | Java | asf20 | 14,116 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/CDL.java | Java | asf20 | 9,139 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/HTTP.java | Java | asf20 | 5,670 |
package weibo4j.org.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/XMLTokener.java | Java | asf20 | 10,308 |
package weibo4j.org.json;
import java.io.IOException;
import java.io.Writer;
/*
Copyright (c) 2006 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/org/json/JSONWriter.java | Java | asf20 | 10,213 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Configuration.java | Java | asf20 | 11,850 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Paging.java | Java | asf20 | 4,118 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Trends.java | Java | asf20 | 6,442 |
package weibo4j;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* A data class re... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/ListObject.java | Java | asf20 | 7,503 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Version.java | Java | asf20 | 1,862 |
/**
*
*/
package weibo4j;
import java.util.ArrayList;
import java.util.List;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* @author hezhou
*
*/
public class Count implements java.io.Serializable{... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Count.java | Java | asf20 | 2,352 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Dispatcher.java | Java | asf20 | 4,045 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/StatusListener.java | Java | asf20 | 1,695 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Trend.java | Java | asf20 | 3,314 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/QueryResult.java | Java | asf20 | 6,665 |
/*
* ListUserCount.java created on 2010-8-19 下午02:16:15 by bwl (Liu Daoru)
*/
package weibo4j;
import java.io.Serializable;
import org.w3c.dom.Element;
import weibo4j.http.Response;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
/**
* List用户统计对象
*
* @author bwl (... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/ListUserCount.java | Java | asf20 | 2,688 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/OAuthToken.java | Java | asf20 | 3,839 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/Response.java | Java | asf20 | 9,815 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/RequestToken.java | Java | asf20 | 3,151 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/HttpClient.java | Java | asf20 | 36,214 |
/**
*
*/
package weibo4j.http;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.Iterator;
import javax.imageio.ImageIO;
import javax.imageio.ImageReader;
import javax.imageio.stream.MemoryCacheImageInputStream;
import com.sun.imageio.plugins.bmp.BMPImageReader;
import... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/ImageItem.java | Java | asf20 | 2,329 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/AccessToken.java | Java | asf20 | 2,716 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/BASE64Encoder.java | Java | asf20 | 4,244 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/HTMLEntity.java | Java | asf20 | 27,996 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/PostParameter.java | Java | asf20 | 7,659 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/http/OAuth.java | Java | asf20 | 16,029 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Weibo.java | Java | asf20 | 168,195 |
/*
* UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru)
*/
package weibo4j;
import java.io.Serializable;
import java.util.List;
/**
* 对User对象列表进行的包装,以支持cursor相关信息传递
* @author liudaoru - daoru at sina.com.cn
*/
public class UserWapper implements Serializable {
private stati... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/UserWapper.java | Java | asf20 | 1,256 |
package weibo4j;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import weibo4j.http.Response;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONException;
import weibo4j.org.json.JSONObject;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/Comment.java | Java | asf20 | 8,321 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/examples/OAuthUpdateTwo.java | Java | asf20 | 3,408 |
package weibo4j.examples;
import java.util.List;
import weibo4j.User;
import weibo4j.UserWapper;
import weibo4j.Weibo;
/**
* Example of get members of list.
*
* @author bwl (刘道儒)
*/
public class GetListMembers {
/**
* Usage: java -DWeibo4j.oauth.consumerKey=[consumer key] -DWeibo4j.oauth.co... | zxk-code | trunk/weibo/weibo4j-2010-09-07/src/weibo4j/examples/GetListMembers.java | Java | asf20 | 1,702 |