промежуточный. хранение инфы о конфигах, группах и тестах пакета.пока отлаживается.
This commit is contained in:
@@ -3,16 +3,21 @@ import Common.Database.DBObject;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Date;
|
||||
public class FileObject extends DBObject {
|
||||
File file;
|
||||
public FileObject(File file_in){
|
||||
file=file_in;
|
||||
public class DirInfo extends DBObject {
|
||||
File dir;
|
||||
long mdate;
|
||||
public DirInfo(File dir_in, long mdate_in) {
|
||||
dir = dir_in;
|
||||
mdate = mdate_in;
|
||||
}
|
||||
@Override
|
||||
public Object getPK() {
|
||||
return file.getName();
|
||||
return dir.getName();
|
||||
}
|
||||
public Date getDate(){
|
||||
return new Date(file.lastModified());
|
||||
public Date getDate() {
|
||||
return new Date(mdate);
|
||||
}
|
||||
public File getFile(){
|
||||
return dir;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user