資源簡介

代碼片段和文件信息
/*
?*?Comment.java
?*
?*?Created?on?2004??12??23???????10:24
?*??????????Comment????
?*
?*/
package?com.qdu.admin;
import?java.io.*;
import?java.util.*;
import?org.jdom.*;
import?org.jdom.input.*;
import?org.jdom.output.*;
import?java.text.SimpleDateFormat;
import?java.text.DateFormat;
/**
?*??????????Comment????
?*/
public?class?Comment?extends?object{
????
????//********************???????************************
????
????/**
?????*????嵱???????????
?????*/
????public?static?final?int?ELEMENT_NUM?=?4;
????/**
?????*?????
?????*/
????private?String?content;
????
????/**
?????*?????
?????*/
????private?String?datetime;
????
????/**
?????*???????????
?????*/
????private?String?user;
????
????/**
?????*?????????
?????*/
????private?String?filename;
????
????
????//********************???????************************
????
????/**
?????*?????????????????????????????setRootPath?????·??
?????*?
?????*?@see?#setRootPath
?????*/
????public?Comment()?{
????????datetime?=?getCurrentTime();
????}
????
????/**
?????*?????????????????
?????*?
?????*?@return??????????????????????
?????*/
????private?String?getCurrentTime()?{
????????//??????????????
????????Calendar?rightNow?=?Calendar.getInstance();
????????rightNow.setTime(new?Date());
????????Date?today?=?rightNow.getTime();
????????DateFormat?df?=?new?SimpleDateFormat(“yyyy-MM-dd?hh:mm?aaa“);
????????return?df.format(today);
????}
????
????/**
?????*????????????
?????*?
?????*?@return?????????????
?????*?
?????*?@see?#setContent()
?????*/
????public?String?getContent()?{
????????return?content;
????}
????
????/**
?????*?????????????
?????*?
?????*?@param?value????????
?????*?
?????*?@see?#getContent()
?????*/
????public?void?setContent(String?value)?{
????????content?=?value;
????}
????
????/**
?????*?????????
?????*?
?????*?@return???????????
?????*?
?????*?@see?#setDateTime()
?????*/
????public?String?getDateTime()?{
????????return?datetime;
????}
????
????/**
?????*??????????
?????*?
?????*?@param?value???????
?????*?
?????*?@see?#getDateTime()
?????*/
????public?void?setDateTime(String?value)?{
????????datetime?=?value;
????}
????
????/**
?????*?????????
?????*?
?????*?@return???????????
?????*?
?????*?@see?#setUser()
?????*/
????public?String?getUser()?{
????????return?user;
????}
????
????/**
?????*??????????
?????*?
?????*?@param?value???????
?????*?
?????*?@see?#getUser()
?????*/
????public?void?setUser(String?value)?{
????????user?=?value;
????}
????
????/**
?????*?????????????
?????*?
?????*?@return???????????????
?????*?
?????*?@see?#setFileName()
?????*/
????public?String?getFileName()?{
????????return?filename;
????}
????
????/**
?????*??????????????
?????*?
?????*?@param?value??????????
?????*?
?????*?@see?#getFileName()
?????*/
????public?void?setFileName(String?value)?{
????????filename?=?value;
????}
????
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-12-23?23:58??OnlinePhoto\
?????文件????????1203??2009-01-25?04:28??OnlinePhoto\.classpath
?????目錄???????????0??2014-01-04?19:18??OnlinePhoto\.myeclipse\
?????文件?????????306??2013-12-23?23:09??OnlinePhoto\.myme
?????文件??????????66??2013-12-23?23:58??OnlinePhoto\.myumldata
?????文件????????1755??2013-12-22?21:27??OnlinePhoto\.project
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\.settings\
?????文件?????????500??2013-12-02?18:35??OnlinePhoto\.settings\.jsdtscope
?????文件?????????173??2009-01-25?04:28??OnlinePhoto\.settings\com.genuitec.eclipse.migration.prefs
?????文件?????????171??2013-12-24?00:01??OnlinePhoto\.settings\org.eclipse.core.resources.prefs
?????文件?????????395??2013-12-02?18:35??OnlinePhoto\.settings\org.eclipse.jdt.core.prefs
?????文件?????????497??2013-12-22?21:27??OnlinePhoto\.settings\org.eclipse.wst.common.component
?????文件?????????361??2009-01-25?04:28??OnlinePhoto\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2013-12-02?18:35??OnlinePhoto\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2013-12-02?18:35??OnlinePhoto\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\me
?????文件??????????39??2009-04-28?21:03??OnlinePhoto\me
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\classes\
?????文件?????????480??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\JDOMAbout$Author.class
?????文件????????3001??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\JDOMAbout$Info.class
?????文件????????2063??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\JDOMAbout.class
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\classes\me
?????文件????????2620??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\me
?????文件????????1695??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\me
?????文件????????2837??2004-09-09?16:00??OnlinePhoto\WEB-INF\classes\me
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\classes\com\
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\classes\com\jspsmart\
?????目錄???????????0??2013-12-23?23:08??OnlinePhoto\WEB-INF\classes\com\jspsmart\upload\
?????文件????????5020??2003-04-23?22:41??OnlinePhoto\WEB-INF\classes\com\jspsmart\upload\File.class
?????文件????????1555??2003-04-23?22:41??OnlinePhoto\WEB-INF\classes\com\jspsmart\upload\Files.class
............此處省略435個文件信息
評論
共有 條評論