public class MSSQL extends CoreSupport
ATTR_ROOT
Constructor and Description |
---|
MSSQL(DatasourceConnection dc,
String prefix) |
Modifier and Type | Method and Description |
---|---|
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 exist 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) |
getCalendar, isDirectory, isFile, isLink, log, log, log, log
public MSSQL(DatasourceConnection dc, String prefix) throws SQLException
SQLException
public Attr getAttr(DatasourceConnection dc, String prefix, int fullPathHash, String path, String name) throws SQLException
Core
SQLException
public List getAttrs(DatasourceConnection dc, String prefix, int pathHash, String path) throws SQLException
Core
SQLException
public void create(DatasourceConnection dc, String prefix, int fullPatHash, int pathHash, String path, String name, int type) throws SQLException
Core
SQLException
public boolean delete(DatasourceConnection dc, String prefix, Attr attr) throws SQLException
Core
SQLException
public InputStream getInputStream(DatasourceConnection dc, String prefix, Attr attr) throws SQLException, IOException
Core
SQLException
IOException
public void write(DatasourceConnection dc, String prefix, Attr attr, InputStream is, boolean append) throws SQLException
SQLException
public void setLastModified(DatasourceConnection dc, String prefix, Attr attr, long time) throws SQLException
SQLException
public void setMode(DatasourceConnection dc, String prefix, Attr attr, int mode) throws SQLException
SQLException
public void setAttributes(DatasourceConnection dc, String prefix, Attr attr, int attributes) throws SQLException
SQLException
public boolean concatSupported()
Copyright © 2015 Lucee