|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Core
Method Summary | |
---|---|
boolean |
concatSupported()
|
void |
create(DatasourceConnection dc,
String prefix,
int fullPatHash,
int pathHash,
String path,
String name,
int type)
create a new entry (file or directory) |
boolean |
delete(DatasourceConnection dc,
String prefix,
Attr attr)
deletes a entry (file or directory) |
Attr |
getAttr(DatasourceConnection dc,
String prefix,
int fullPathHash,
String path,
String name)
return a single Attr, if Attr does not exists it returns null |
List |
getAttrs(DatasourceConnection dc,
String prefix,
int pathHash,
String path)
return all child Attrs of a given path |
InputStream |
getInputStream(DatasourceConnection dc,
String prefix,
Attr attr)
returns a inputStram to a entry data |
void |
setAttributes(DatasourceConnection dc,
String prefix,
Attr attr,
int attributes)
|
void |
setLastModified(DatasourceConnection dc,
String prefix,
Attr attr,
long time)
|
void |
setMode(DatasourceConnection dc,
String prefix,
Attr attr,
int mode)
|
void |
write(DatasourceConnection dc,
String prefix,
Attr attr,
InputStream is,
boolean append)
|
Method Detail |
---|
boolean concatSupported()
Attr getAttr(DatasourceConnection dc, String prefix, int fullPathHash, String path, String name) throws SQLException
dc
- path
- name
- name2
-
SQLException
List getAttrs(DatasourceConnection dc, String prefix, int pathHash, String path) throws SQLException
dc
- prefix
- path
-
SQLException
void create(DatasourceConnection dc, String prefix, int fullPatHash, int pathHash, String path, String name, int type) throws SQLException
dc
- prefix
- path
- name
- type
-
SQLException
boolean delete(DatasourceConnection dc, String prefix, Attr attr) throws SQLException
dc
- prefix
- attr
-
SQLException
InputStream getInputStream(DatasourceConnection dc, String prefix, Attr attr) throws SQLException, IOException
dc
- prefix
- attr
-
SQLException
IOException
void write(DatasourceConnection dc, String prefix, Attr attr, InputStream is, boolean append) throws SQLException
SQLException
void setLastModified(DatasourceConnection dc, String prefix, Attr attr, long time) throws SQLException
SQLException
void setMode(DatasourceConnection dc, String prefix, Attr attr, int mode) throws SQLException
SQLException
void setAttributes(DatasourceConnection dc, String prefix, Attr attr, int attributes) throws SQLException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |