2009年3月25日 星期三

2009年3月17日 星期二

in = new DataInputStream (new BufferedInputStream (new FileInputStream (deFile))); in.readFully(bytes);

read a file in one line.

System.getProperty("os.name")

os.name= "Linux" "linux"
os.arch= "mips" "mips"
os.version= "#16 PREEMPT Thu Nov 20 16:17:30 CST 2008""#16 preempt thu nov 20 16:17:30 cst 2008"
java.vendor= "Skelmir, LLC" "skelmir, llc"
java.class.version= "45.0" "45.0"
java.version= "1.1.8" "1.1.8"
file.separator= "/" "/"
path.separator= ":" ":"
org.osgi.framework.bootdelegation="null" "null"
org.osgi.framework.system.packages="null" "null"
org.osgi.supports.framework.extension="null" "null"
microedition.configuration="null" "null"
microedition.profiles="null" "null"
org.osgi.framework.executionenvironment="null" "null"
org.osgi.supports.bootclasspath.extension="null" "null"
org.osgi.supports.framework.fragment="null" "null"
org.osgi.supports.framework.requirebundle="null" "null"
org.osgi.framework.version="1.3" "1.3"
org.osgi.framework.language="en" "en"
org.osgi.framework.vendor="Apache Software Foundation""apache software foundation"
org.osgi.framework.os.name="linux" "linux"
org.osgi.framework.os.version="#16 PREEMPT Thu Nov 20 16:17:30 CST 2008""#16 preempt thu nov 20 16:17:30 cst 2008"
org.osgi.framework.processor="mips" "mips"

2009年3月4日 星期三

Thread.currentThread() .setPriority(1);

set lower priority for the current thread.