|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Field Summary | |
---|---|
string | baseDir |
string | baseDirHash |
string | baseUrl |
string | blockBaseUrl |
string | contactHtml |
ClintHeyer.Httpd.Context | context |
string | name |
bool | onlyContext |
string | parentUrl |
Constructor Summary | |
---|---|
DBLister(string baseUrl, string baseDir, string baseDirHash, string blockBaseUrl, ClintHeyer.Httpd.Context context, bool onlyContext) |
Method Summary | |
---|---|
void | AddAudio(Naanou.ResourceExchange.Entry e, System.Text.StringBuilder sb, string path, string name, string realPath, long size) |
void | AddDir(System.Text.StringBuilder sb, string path, string name) |
void | AddFile(System.Text.StringBuilder sb, string path, string name, string realPath, long size) |
void | AddFooter(System.Text.StringBuilder sb, string sharer) |
void | AddMount(System.Text.StringBuilder sb, string path, string name, string descr) |
System.Text.StringBuilder | GetHeader(string path, string sharer) |
void |
Handle(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.HttpReply reply) Handles request |
void |
SendContextList(ClintHeyer.Httpd.HttpReply reply) Generates a HTML-formatted listing of all contexts |
void |
SendListing(string path, ClintHeyer.Httpd.HttpReply reply) Generates a HTML-formatted directory listing for a path |
void | SendListing(System.IO.DirectoryInfo di, ClintHeyer.Httpd.HttpReply reply) |
string | WindowsToNetPath(string winPath) |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private string baseDir
private string baseDirHash
private string baseUrl
private string blockBaseUrl
private string contactHtml
private ClintHeyer.Httpd.Context context
private string name
private bool onlyContext
private string parentUrl
Constructor Detail |
---|
public DBLister(string baseUrl, string baseDir, string baseDirHash, string blockBaseUrl, ClintHeyer.Httpd.Context context, bool onlyContext)
Method Detail |
---|
private void AddAudio(Naanou.ResourceExchange.Entry e, System.Text.StringBuilder sb, string path, string name, string realPath, long size)
private void AddDir(System.Text.StringBuilder sb, string path, string name)
private void AddFile(System.Text.StringBuilder sb, string path, string name, string realPath, long size)
private void AddFooter(System.Text.StringBuilder sb, string sharer)
private void AddMount(System.Text.StringBuilder sb, string path, string name, string descr)
private System.Text.StringBuilder GetHeader(string path, string sharer)
public void Handle(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.HttpReply reply)
Handles request
Parameters:
request
- reply
- private void SendContextList(ClintHeyer.Httpd.HttpReply reply)
Generates a HTML-formatted listing of all contexts
Parameters:
reply
- private void SendListing(string path, ClintHeyer.Httpd.HttpReply reply)
Generates a HTML-formatted directory listing for a path
Parameters:
path
- private void SendListing(System.IO.DirectoryInfo di, ClintHeyer.Httpd.HttpReply reply)
private string WindowsToNetPath(string winPath)
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |