InputSteam & OutputSteam
InputStream
(InputStreamReader)
BufferedInputStream
: used as other input stream's wrapper.
ByteArrayInputStream
: new ByteArrayInputStream(byteContent), A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream ...
//how to get class
Class clazz = String.class;
clazz = int.class;
String s = "abc";
clazz = s.getClass();
clazz = Class.forName("java.util.ArrayList");
//create instance using default constructor
List list = (List) clazz.newInstance();
//isXX ...
//split
String s = "hello world i am 23 years";
String[] ss = s.split("\\s");
//replace
&nbs ...
public class ImageServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//get the image parameter
  ...
- 浏览: 5171 次
- 性别:

- 来自: 厦门

- 详细资料
搜索本博客
我的相册
inter
共 2 张
共 2 张
最近加入圈子
最新评论
-
dojo and ajax
很有用的函数!!
-- by cscs31 -
Dojo 与style相关的函数 ...
Lz能加上一些注解和例子就更好了:)
-- by cscs31






评论排行榜