public class DoTXT { // 定义成员变量:路径,文件对象,临时变量
private String path; // 文件路径 private File f; private FileReader fr; // 所需文件流对象
private File...
分类:
其他好文 时间:
2014-07-22 23:13:15
阅读次数:
300
1. build path:a) source
folder:包括openfire和各插件的代码。b)
libraries:build/lib下jar包和插件下jar包,jdk/lib/tools.jar(编译jsp需要)。2. ant
build:build/build.xmla) openfir...
分类:
其他好文 时间:
2014-07-22 23:12:36
阅读次数:
489
[share]path=/home/an/shareavailable=yesbrowse
able=yespublic=yeswritable=yessecurity = userusername map =
/etc/samba/smbusers[share]comment = Shared F...
分类:
其他好文 时间:
2014-07-22 23:11:34
阅读次数:
332
事情是这样的,今天写测试代码的时候发现,进程 A 调用进程 B,A 与 B不在同一路径下,B
中使用Environment.CurrentDirectory获取当前路径,本以为获取的路径应为 B 所在目录,结果证明,获取路径为 A 路径;要获取 B
所在路径,需使用:Path.GetDirector...
分类:
其他好文 时间:
2014-07-22 23:09:33
阅读次数:
250
1、解压源码2、把build/eclipse中的文件cp到源码跟目录,并修改文件名,前面增加"."号,变成eclipse工程。3、导入eclipse,
把build/lib/, build/lib/dist, build/lib/merge,build/lib/src 下的包放到build path...
分类:
其他好文 时间:
2014-07-22 23:08:35
阅读次数:
309
/** * Definition for binary tree * struct
TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) :
val(x), left(...
分类:
其他好文 时间:
2014-07-22 23:07:34
阅读次数:
312
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
Environment Variable :change(import)
/etc/bashrc export JAVA_HOME=/software/jdk1.8.0 export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/li...
分类:
其他好文 时间:
2014-04-30 23:18:44
阅读次数:
386
./当前目录/网站主目录../上层目录~/网站虚拟目录如果当前的网站目录为E:\wwwroot应用程序虚拟目录为E:\wwwroot\company浏览的页面路径为E:\wwwroot\company\news\show.asp在show.asp页面中使用Server.MapPath("./")返回...
分类:
移动开发 时间:
2014-04-30 19:34:51
阅读次数:
400
Description There are N cities in a country, and
there is one and only one simple path between each pair of cities. A merchant
has chosen some paths a...
分类:
其他好文 时间:
2014-04-30 17:09:30
阅读次数:
570