文章列表
public class GetTime {
public static void main(String[] args) {
try {
SimpleDateFormat formatter = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss");
Date date = formatter.parse(getGreenWich());
Calendar now = Calendar.getInstance();
changeDate(getGreenWich());
...
glassfish 的主要操作文档。
http://www.docin.com/p-141009636.html
http://www.webdavsystem.com/javaserver/doc/authentication/basic_digest_tomcat
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class CopyPicture {
private static boolean copyFileUnit(String aimfile, String path ...
工程中需要对xml文件进行解析,所以就使用dom4j对xml文件进行解析 不错 蛮好用的!
import java.io.File;
import java.util.Iterator;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
public class Dom4jDemo {
/**
* the method readXML
*/
public static String time;
pu ...