class MakeWeb.SiteMap.DBInsert extends java.lang.Object implements MakeWeb.FileCallBack
Constructor and Description |
---|
DBInsert() |
Modifier and Type | Method and Description |
---|---|
void |
file(int entryid,
java.lang.String name,
int type,
java.lang.String path,
int parentid,
long length,
long date)
The prepared statement ustat is:
insert into <table> (entryid, name, type, path, parentid, length, date)
Insert the arguments into the database.
|
DBInsert()
public void file(int entryid, java.lang.String name, int type, java.lang.String path, int parentid, long length, long date)
file
in interface MakeWeb.FileCallBack
entryid
- a unique reference for this file system objectname
- the name of directory entrytype
- 0 = file, 1 = dir, -1 = unknown (, 2 = link etc.)path
- the path from root to this file objectparentid
- a unique reference of containing directorylength
- length of the filedate
- the modification date of the file