Removes "pretty printing" from HTML
More...
|
static string | Evaluate (Match Matcher) |
| Evaluates whether the text has spaces, page breaks, etc. and removes them. More...
|
|
Removes "pretty printing" from HTML
Definition at line 34 of file UglyStream.cs.
Constructor
- Parameters
-
StreamUsing | The stream for the page |
Compression | The compression we're using (gzip or deflate) |
Type | Minification type to use (defaults to HTML) |
Definition at line 42 of file UglyStream.cs.
static string Utilities.Web.Streams.UglyStream.Evaluate |
( |
Match |
Matcher | ) |
|
|
staticprotected |
Evaluates whether the text has spaces, page breaks, etc. and removes them.
- Parameters
-
- Returns
- The string minus any extra white space
Definition at line 178 of file UglyStream.cs.
override void Utilities.Web.Streams.UglyStream.Flush |
( |
| ) |
|
override int Utilities.Web.Streams.UglyStream.Read |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
Don't worry about
- Parameters
-
- Returns
Definition at line 134 of file UglyStream.cs.
override long Utilities.Web.Streams.UglyStream.Seek |
( |
long |
offset, |
|
|
SeekOrigin |
origin |
|
) |
| |
Once again not implemented
- Parameters
-
- Returns
Definition at line 145 of file UglyStream.cs.
override void Utilities.Web.Streams.UglyStream.SetLength |
( |
long |
value | ) |
|
override void Utilities.Web.Streams.UglyStream.Write |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
Actually writes out the data
- Parameters
-
buffer | the page's data in byte form |
offset | offset of the data |
count | the amount of data |
Definition at line 165 of file UglyStream.cs.
override bool Utilities.Web.Streams.UglyStream.CanRead |
|
get |
override bool Utilities.Web.Streams.UglyStream.CanSeek |
|
get |
override bool Utilities.Web.Streams.UglyStream.CanWrite |
|
get |
override long Utilities.Web.Streams.UglyStream.Length |
|
get |
override long Utilities.Web.Streams.UglyStream.Position |
|
getset |
The documentation for this class was generated from the following file: