Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2295822
  • 博文数量: 321
  • 博客积分: 3440
  • 博客等级: 中校
  • 技术积分: 2992
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-24 09:08
个人简介

我就在这里

文章分类

全部博文(321)

文章存档

2015年(9)

2014年(84)

2013年(101)

2012年(25)

2011年(29)

2010年(21)

2009年(6)

2008年(23)

2007年(23)

发布时间:2014-08-29 21:05:57

今天跟大家分享一下javase中的关于I/O的操作:有时我们需要在文件的末尾追加一些内容,在这时用RandomAccessFile就很好。这个类有两个构造方法: RandomAccessFile(Filefile, Stringmode) 创建从中读取和向其中写入(可选)的随机访问文件流,该文件由 File 参数指定。RandomAc.........【阅读全文】

阅读(1010) | 评论(0) | 转发(0)

发布时间:2014-08-29 21:04:33

常量package com.way.constants;public class Constants {    public static final String SENDIP = "localhost";// 文件发送者ip地址    public static final String RECEIVEIP = "localhost";// 文件接收者ip地址.........【阅读全文】

阅读(683) | 评论(0) | 转发(0)

发布时间:2014-08-28 21:06:00

byte[] arr = deliver.getMessageContent().getBytes(); String content = new String(arr ,"UnicodeBigUnmarked"); ......【阅读全文】

阅读(2824) | 评论(0) | 转发(0)

发布时间:2014-08-26 22:04:23

JBoss服务器需要配置的地方比较多,因此本文单列一小节来对其进行讨论。1.       server.xml找到配置文件:%JBoss_Home%/server/default/deploy/jboss-web.deployer/server.xml,找到文件中:......【阅读全文】

阅读(946) | 评论(0) | 转发(0)

发布时间:2014-08-25 22:08:01

一.调整JBOSS最大连接数.配置deploy/jboss-web.deployer/server.xml文件 .<Connector         port="8080"         address="0.0.0.0"     &nbs.........【阅读全文】

阅读(969) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册