Syncfusion.MIME.Base
collection to store attributes.
collection to store attributes
Base interface for all MIME objects which must support .
serialization
Save MIME document to stream.
stream for serialization
adding part to collection.
attribute to add.
remove specified attribute.
attribute to remove.
to check if collection contains specified attribute.
contains collection item or not.
attribute to check
removes all attributes
Indexator wich allow access to attribute by index.
Indexator, wich allow access to attribute by name.
tag to define if current
attribute is user-defined.
Property to check if this collection
is collection of extended attributes.
table to store names and indexes of attributes
check if specified extended attribute
is in proper format.
attribute to check.
Determines if Attribute is present.
value to check.
true if present
false if not.
Adding part to collection.
attribute to add.
Removing specified part from collection.
attribute to remove.
Save MIME document to stream.
Stream to write to.
Property to check if this collection
is collection of extended attributes.
Getting attribute by index.
Calling attribute by name.
Parts collection
Collection to store parts.
adding part to collection.
part to add.
removes part from collection.
part to add.
method to check if part is present in collection.
True - if part if present, otherwise False
part to check
Clear collection
indexator wich allow access to part by.
index
indexator, wich allow access to part by boundary.
hash store boundary unique name-to-part reference
Adding part to collection.
part to add.
Removing specified part from collection.
attribute to remove.
Clearing parts collection
Method to insert object to collection.
at wnat index to insert.
object to insert.
Method to check if part is present in collection.
part to check.
True if present, False if not.
Save MIME document to stream.
Stream to write to.
Calling part by index.
Getting part by boundary.
MimeHeadPartMissException fired when document body is missing.
Message to show when exception fired.
Constructor.
constructor.
inner exeption.
constructor.
message to show.
constructor.
message to show.
inner exception.
constructor.
info.
context.
class to store collection of document attributes.
Base header class.
Get value of header attribute
Get value of header attribute
get collection of attributes
hash table to store attributes values.
hash table to store attributes subtypes values.
Collection to store atteributes.
Save MIME document to stream.
stream to write to.
Get value of header attribute.
Get value of header attribute subtype.
get attributes collection.
MIME document header.
gets version of MIME implementation.
Allow to specify which data stored in MIME part.
user custom attributes.
used to store first part boundary.
collection of extender attrtibutes.
Constructor.
method to save current header.
stream to write to.
Creates default MIME document header.
Adding information to header used in mail messages.
gets/sets mail header attributes.
gets/sets mail header attributes.
gets/sets mail header attributes.
gets/sets mail header attributes.
returns MIME standart version.
propertu to get\set first part header value.
property to get contentType attribute.
property to get extender attributes.
current header contains standard attributes for
attachemrnt part.
base header class.
MIME Part header
Allow to specify which data stored in MIME part
Which encoding used for MIME part data transafering
attribute.
attribute.
Method to create ordinary part header.
Save MIME part header to stream.
stream to write to.
Allow to specify which data stored in MIME part.
Which encoding used for MIME part data transafering.
Extended version of Mime part header, mostly used for attachments.
additional attribute.
fileName.
new attribute.
to store file name.
(Default constructor) Setting attribute values .
retunrs Content disposition attribute.
property to specif.
current header contains standard attributes for digest part.
constructor.
Create header.
current header contains
standart attributes for
embeded part.
Header for embedded objects.
additional attribute for enbedded part.
part of cid code.
attribute.
to store name of file.
method to create cid code.
cid code.
Constructor.
returns contentLocation attribute.
returns file name.
Current header contains standard attributes for redirect part.
MIME part header for rich text content.
.
boundary to redirect to .
to store redirect boundary value
Constructor.
Default parameter.
property to redirect boundary
Current header contains standard attributes for text part.
Default Constructor.
base MIME header attribute class.
Header attribute
Name of attribute
Get or Set value of header attribute
encoding value
encoding to use
name of attribute.
Encoding of attribute.
header which contains current attribute.
encoding used in writing value of attribute.
Constructor.
parental header.
Constructor specify parent header and attrbiute name
parent reference
attribute name
method to write attribute value
method to encode value.
method to split value if needed.
builder to write to.
value to write.
method to check if current character
is ascii character.
if is...
Check if there is separator between
name of attribute and its value.
Save MIME attribute to stream.
stream to write to
Name of attribute.
Get or Set value of header attribute.
gets/sets charset of attribute.
get/set value encoding.
property to get header.
MIMEHeaderContentDisposition attribute
Header attrbiute class which allow to specify subtypes
supported by attribute.
Header attribute which supports additional sub-types values
Get list of supported sub-typed
Indexator which allow to read value of specified sub-types
list of supported subtypes.
Constructor.
parental header.
Constructor allow to specify parent header and attribute name
in one call
reference on parent object
attribute name
Setting list of subtypes.
Get list of supported sub-types.
Indexator which allow to read value of specified sub-types.
constructor.
parental header.
method to set supported subtypes of current attribute.
overriden Save method.
stream to write to.
MIMEHeaderContentIdAttribute.
constructor.
parental header.
Specific save method for current attribute.
stream to write to.
MIMEHeaderContentType attribute class.
Default constructor which set attribute name to MIMEConsts.ContentType.
parental header.
Constructo allow to specify parent header object and attribute name
reference on parent object
attribute name
setting supported sub attributes.
Specific save method for current attribute.
stream to write to.
MIMEHeaderMailAttribute used fom complex attributes with mail addresses.
regex to find e-mail adress.
regex used to find e-mail address.
Main Constructor.
header to get hash table.
Constructor allow to specify parent header and attribute name
in one call.
Parent header.
attribute name.
extract e-mail address from text.
e-mail address.
Save MIME attribute to stream.
stream to write to.
Represents MIME documents.
MIME document interface.
Add embeded data to document
from file.
file path
reference on created mime part object
Add embeded data to document
from stream.
stream to read data from.
generated part.
Creates digest document.
boundary part.
appends specified string .
text to append
Appends text from file to MIME document.
Path to file.
Appending text to message.
Path to file
Text file encoding.
Append text to MessagePart in MIME document.
stream to append.
Create attachment in MIME document.
file to add.
generated part.
Create attachment in MIME document.
stream to read from.
generated part
converting html document
to MIME document.
path to HTML file
converted document.
Method to reset current document
to null.
Save MIME document to file.
file path
Load MIME document from file.
file path
Load MIME document from stream.
stream to read from.
Get reference on header of MIME document.
Get collection of MIME document parts.
Get main document's part.
gets main message parts.
Get collection of MIME document parts.
message part of message
header of document
Collection ot store document parts
To store main message in different formats
Collection to store redirect parts
Collection to store digest parts
currently used boundary
Defines document encoding
variable to remrmber if there is
embeded file.
method to get all parts of document.
parts collection.
Method used to add data to message part
stream to read from
Method used to add data to message part
bytes to write to message data
Method to create redirect parts for
combined messages
method to set header
proper body part saving
( chech if need to save digest )
stream to write to
document constructor
static method to load document
path to file
MIMEDocument
method to convert html to
MIME.
path to file to convert.
MIME document.
Method to add embeded data to document
from file.
path to file.
embedded part interface.
Method to add embeded data to document.
from stream
stream to read from.
embedded part interface.
Method to create digest part.
digest part interface.
Method used to appent text to message part from file.
path to the file.
Method used to appent text to message part
from file with specified encoding.
path to file.
encoding to use in file reading.
Method used to appent text to message part
from stream.
stream to read from.
Method used to appent text to message part
with string.
text to append .
Method used to attach binary data to document
from file
path to file
interface of attached part
Method used to attach binary data to document
from stream.
stream to read from.
interface of attached part.
Loads MIME document from file.
path to file.
Method to save current document to file.
path to file to write.
mathod to load document.
stream to read from.
Save MIME document to stream.
stream to write to.
Method to save current document to stream.
stream to save to.
Reset document.
get/set document encoding
property to get message part
property to get document header
property to get parts collection
property to get parts collection
enumerator to define data encoding.
base 64 encoding required.
quoted-printable encoding expected.
unix-unix encoding expected.
binhex encoding expected.
no encoding.
MIMEStreamClass used to store start and end
position of some data in stream and decode
it, when needed.
Start porition in stream.
end position in steream.
encoding used while reading stream.
readed stream.
charset used in QP decoding.
constructor.
stream to read from.
Cleares all buffers, streams...
method to perform seek operation.
offset.
origin
seeked position
sets length of controlled sub stream .
setting length of stream.
reads controlled sub string.
buffre to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
method to write data to the stream.
buffre to write.
offset in buffer to start with.
number of bytes to fill.
reading data from current stream to byte buffer
using specified encoding.
buffre to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
method to get decoded bytes.
buffer to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
method to get decoded bytes.
buffer to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
method to get decoded bytes from
binhex ecoded data.
buffer to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
method to get decoded bytes
from uu encoded data.
buffer to write.
offset in buffer to start with.
number of bytes to fill.
number of filled bytes.
Start porition in stream.
end position in steream.
encoding used while reading stream.
get/set charset of encoded text.
property to check if can read current stream.
property to check if can seek in current stream.
property to check if can write to current stream.
property to get length of current stream.
gets/sets position of current stream.
MIMEParser class is used to
load MIME document.
Default RegEx checks object's options.
regex to determine attribute name
regex to find e-mail adress.
Tokens which consist of a few symbols but have some meaning.
Attribute tokens
Content type value tokens
content type sub attributes tokens
transfer encoding attribute values
attributes to define RFC part
Special hash which allow quickly to find by token name
corresponding enum value.
charset of reded value of attribute.
bool variable to choose to skip
bad params or not
token stream
document to load
variable to specify parts collection
in reading
variable to store string values
defines stream to work with
part to store readed tokens
current header to store attributes
Current attribute
variable to store parental attribute
to specify if current part is redirect part
member to specify sub attribute Name
field to store opening boundary
part to store digest
tspecials for MIME document
array of parser actions.
stack to store delegates;
variblse to remember if current document is single-part document.
object used by IsName method.
regex used to find e-mail address.
setting values to MIME tags.
converting MIME tokens to hash table, setting its values.
hashtable to fill
array of parameters to hash
value of parameters
Default constructor.
Initializes new object with defined reader and file to read.
overloaded constructor.
document to write to.
stream to read from.
Prepares our parser for work.
MIME document stream
Destination object.
Method to start reading document.
Loaded document
recursive method to parce document.
method to read boundary and set new part.
method to read and resolve attribute name.
Method to read and set attribute value.
setting and preparing
for reading sub attribute.
Reads binary data.
creating stream for new part,
setting its parameters.
method to set correct encoding to stream.
Typed encoding.
getting string value of name of
attribute.
name of attribute.
method to get value of just read attribute.
reading stream to specified delimiter.
delimiter of string.
value string.
method to get boundary.
boundary value.
method to fill
delegate array.
method to get complex attribute value.
attribute value
Checks if we reached end of file.
if end of file is reached
Skips all next WhiteSpaces.
method to skip unusefull empty lines
Getting ready to
read neext part.
unique boundary
method to save part.
method to check if current string
can be name of attribute.
string to check
if string can be name
method to check if specified attribute name
is known or user defined attribute.
name to check
method to find e-mail address in attribute field.
field to check.
finded addresses.
mathod to create readed attribute.
created attribute
Indicates skip bad styles or throw exceptions (skip if True; make exception if False.)
Enum for noting expected token.
Parts separator.
Name of the attribute expected.
Value of the attribute is expected.
Delimiter between attributes is expected.
SubType attribute expected.
Data part of message expected.
Close part tag expected.
Action expected
Attachment part was read.
embedded part was read.
Message part was read.
Digest part was read.
skip to next boundary.
MIME tags
attribute name was read.
Content type attribute value was read.
Content type sub attribute was read.
content transfer encoding value was read.
RFCAttribute was read.
encoding to use
use base64 encoding.
use quoted-printable encoding.
delegate for next action.
Description for DigestPart - multipart class to store/manage
parts in rfc882 format.
base MIME part class
interface description to MIMEpart class.
gets parts data.
data.
Unique indetifier used by MIME document parser for part finding.
Part header which contains additional information about part data.
Get or Set Mime part data.
get/set if current part must close itself.
Give coeficient of convert buffer enlargment.
message of header of BinHex40 encoded
file.
unique part boundary.
part header.
data to transfer.
if current part must close itself.
Constructor wich creates part with attach header.
parental header.
boundary.
Writing part Data in specified encoding.
stream to write to.
Copy data.
stream to write to.
save data in quoted-printable encoding.
stream to write to.
save data in uu encoding.
stream to encode
save data in BinHex encoding.
stream to write to
method to get part data.
part data
Method to save part.
stream to write to.
gets/sets value of unique part boundary
returns part header
gets/sets part data
get\set if part must close itself
collection contains opened parts.
adding digest part from stream.
stream to read from.
addinf digest part from file .
file to add.
gets collection of digest parts.
get/set global boundary
Collection to store parts.
Main Constructor which allow to specify unique boundary.
unique boundary.
adding digest part from stream.
stream with digest part.
reference on added part.
add digest part from file into boundary part.
path to the file with part.
reference on added part.
saving digest part to stream.
stream to write to.
returns collection of the parts.
returns header of digest part - null.
returns data of current part - null.
MIMEDigestPart class is used to build digest collection.
Constructor which allow to specify header class for part.
parental header.
unique boundary.
Main constructor for Digest part.
part unique boundary index
Constructor which allow to create part and set Data stream for it
unique boundary part
data stream for part
Specific Save method for current part.
Stream to write to.
get\set part is digest
or used for enother purpose
MIMERedirectPart class used to build redirect system in document.
constructor.
parental header.
boundary.
Specific Save method for current
part.
stream to write to.
MIME part header for plain text content.
charset of value.
Special wrapper which allow us to control access to stream
and cache data. Our implementation fix bug of NET BufferedStream
class: on Position property set class reset internal cache.
Our class detect situations when reset of cache not needed.
Default buffer allocation size
Underlying stream. Close sets _s to null.
Shared read/write buffer. Alloc on first use.
Read pointer within shared buffer.
Number of bytes read in buffer from _s.
Write pointer within shared buffer.
Length of internal buffer, if it's allocated.
Stream position on moment of buffer read
cached inner stream length
Default constructor. hidden to class users.
Initialize class by stream and DefaultBufferSize == 4096.
Stream which our class must wrap
Initialize class by instance of stream and user defined cache size
Stream which our class must wrap
User defined cache size
stream does not support Read and Write operations
bufferSize is equel or less of zero
Read data from stream. If data is cached then class will not call wrapped
stream and simple returned copy of cached data.
Output buffer
offset in output buffer where data from stream must be placed
count of bytes which class must return
quantity of read bytes
Reads a byte from the underlying stream. Returns the byte cast to an int
or -1 if reading from the end of the stream.
read byte
Write portion of data into wrapped stream. If data can be placed into
cache then it will be there and only on Flush operation data will be
saved to wrapped stream.
array containing data
offset to the beginning of the portion of data
number of bytes in the portion of data
If array or stream is null
If offset or count is less than zero
If array does not contain required elements count
Write on byte of information into stream.
Value which must be written
If stream is null
If can't write into stream
Seek operation. On any seek operation not written data from cache will be
flushed to wrapped stream. Better use Position property it optimized for
cache use.
New offset of stream
Start point of seek operation
Current position
If stream is null
If can't seek in the stream
Save all data from cache and Close stream.
Reading is done by blocks from the file, but someone could read
1 byte from the buffer then write. At that point, the OS's file
pointer is out of sync with the stream's position. All write
functions should call this function to preserve the position in the file.
Flush data. reset cache.
When stream is null
Writes are buffered. Anytime the buffer fills up
(_writePos + delta > _bufferSize) or the buffer switches to reading
and there is dirty data (_writePos > 0), this function must be called.
Set length of wrapped stream
new Length of stream
When value is less than zero
When stream is null
If can't seek or can't write into stream
Indicate can be data readed from wrapped stream.
TRUE - data can be readed.
class instance was disposed
Indicate can data be written to wrapped stream.
class instance was disposed
Indicate does wrapped stream support Seek operations or not
class instance was disposed
Get Length of wrapped stream. On property value get class Flush not
written to stream data.
class instance was disposed
Get current position of stream. Position can be differ then wrapped
stream has, because wrapped stream will point on last byte of our
cached data. On property set not written data flushed to stream.
class instance was disposed
wrapped stream does not support seek operation
Get reference on stream wrapped by BufferStreamEx
Class used for converting html files to MIME document
with embeded resourses.
space symbol code.
quotation symbol code.
less < symbol code.
equal [=] symbol code.
greater [>] symbol code.
variable to store working
directory.
MIME document to fill.
Constructor.
document to fill
path to HTML file to modify
Converts the HTML text into MHTML. Reads image files an puts them
into body parts in the MHTML document.
html file
Returns a list of all the image URLs in the HTML text.
html file
list of url's
Returns the position of the start of the string "< img ". If the
search fails, the function returns endPos.
position in html stream.
end of stream.
html text
position
Returns the position of the character just past the end of a
tag. If the end of the tag is not found, the function returns
endPos.
position in the stream.
endposition.
HTML data.
position of the character.
Searches within an IMG tag for the URL. If the method finds the
URL, it returns the position of the beginning of the URL. If
the method does not find the URL, it returns endPos.
position in stream.
end stream position.
html data
position of the beginning of the URL.
Replaces all the image URLs in the HTML text with the corresponding
"cid:" URL. Returns the new HTML text.
html data.
table of cid codes.
modified HTML.
changes working directory for
proper resourses loading.
file path to get directory
restore working directory.
Constants for Encoder class.
defines utf charset.
quoted printable tab sign.
quoted printable space sign.
end line sign
max string line length.
default file name, used
when user file name is not set.
additional qouted printable characters.
sign of end of UU encoded part in bytes.
sign of start of UU encoded part.
Class to encode/decode messages in qouted printable and base64 formats.
regex pattern for Hex values detection
charset for quote printable encoding
char array to store hexal digits
encodes message in defined
charset to quoted printable format
quoted printable string
massage to encode
charset of message
encodes message to quoted printable format
quoted printable string
message to encode
decodes message in quoted printable format
with define dcharset
decoded string
message to dencode
charset to use in decoding
Decodes message from quoted printable
format.
decoded string
message to decode
encodes stream to base64 string
encoded stream
stream to encode
encodes string to base64 strin
encoded string
message to encode
Save data in b64 encoding.
stream to write to
number to enlarge reading buffer to.
data to save.
decodes incomming string from base64 format.
decoded string
message to decode
method to encode data to UU encoding and write it to stream.
name of file to encode.
file
stream to write to.
method to decode UU encodd file.
stream to decode data from.
stream to write.
name of decoded file
method to encode data to BinHex format
and write it to stream.
stream contains data data to encode.
stream to write to.
number of written bytes.
method to decode BinHex data.
data to decode.
stream to write decoded data.
number of decoded bytes.
internal decode method.
decoded string.
message to decode .
encoding of string to use.
internal qp encoder.
encoded stream.
message to encode.
encoding to use.
method to encode puoted printable symbol.
encoded symbol.
symbol to encode.
Checks whether symbol must be encoded.
true if char is in quoted printable format
false if char is not in quoted printable format.
symbol to check
Name of Charset for quoted printable encoding.
Helper class for quoted printable encoding.
string builder to store buffered strings.
string builder to store buffered string lines.
bool new line.
converts builder to string.
string.
method to appent string.
string to append.
method to append new line.
method to remove substring.
start of substring.
length of substring.
cleares line.
gets line length.
defines if to start new line.
Class with helper methods for
uu encoding/decoding.
mesk for bitwize operations
string to store UU characters.
table to store uu characters values.
table to store uu value characters.
stream to write encoded data
store file name to encode
code of file mode
constructor.
method to initialeze encoding
stream to read data from.
stream to write to.
method to initialize decoding.
stream to read from.
stream to write.
method to read header
stream to read from
method to read end tag
stream to read from
method to encode stream
stream to encode
method to decode pure data.
stream wich buffer to encode
method to tramslate
encoded bytes
byte array to translate
methor to skip CLR's signs
stream to read
method to fill hash table
with char values
gets/sets name of file to encode
Class with helper methods for
BinHex encoding/decoding.
mesk for bitwize operations
chars of BinHex alphabet.
hash table to store codes of hex characters.
hash table to store hex characters
stream to write encoded data
constructor
method to convert income bytes
to BinHex bytes.
bytes to encode.
stream to write encoded data.
method to decode
income bytes from binhex
format.
bytes to decodde.
stream to write decoded data.
method to fill hashtable vith values of hex characters.
method to tramslate
encoded bytes
byte array to translate
methor to skip CLR's signs
stream to read
method to read header
stream to read from
method to remove all CRL symbol occurences.
stream to edit.
Represents new line in different OS
\r\n.
\r.
\n\r
\n
Stream which return and write data as string tokens into/from file.
Stream support encoding and data buffering.
Stream buffer used for optimizing speed of read/write operations
Buffer size used for line counting and searching
characters which delimit tokens
Array of atomic tokens which can takes more then one symbol
Known to us preambles of encodings
Known to us encodings
Count of bytes in the beginning of the stream, that must be skipped. (Preambula)
Array of sorted split chars - used by BinarySearch method
Temporary storage for token extracting. Used beacus it does not
reallocated on each string set...
array of multi-symbols tokens
Encoding used for read and write operations
Hash which helps detect multi-symbols tokens spliters
Buffer stream... can be simply replaced by this reference
New line splitter
Storage of EndLineStyle property
Storage of MaxMultiTokenLength property
Storage of MinMultiTokenLength property
Indicate is stream extract multichar token in case sensitive
or insensitive mode
If value set to true value then class has rights to dispose m_buffer
variable, otherwise Internal stream does not belong to class and must
be free by user
Stack used for multichar token extract operations
This buffer used as temporary for extracting chars from source stream
bool defines if line is in cache
variable store token extracted from stream by peekline operation
variable store extracted from stream char on peek operation
True - cache contains some data, otherwise false
varaiable store token extracted from stream by Peek operation
True - cache contains some data, otherwise false
Method return enumerator which give us stream data by tokens
Sort encoding and preable only once.
Constructor must received a file name and try to open it
constructor allow to control mode of file open operation
Constructor allow to control File open mode and access flags
File name
A FileMode constant that determines how to open or create the file.
A FileAccess constant that determines how the file can be
accessed by the TokenStream object. This gets the CanRead and CanWrite properties
of the FileStream object. CanSeek is true if path specifies a disk file
construct allow to override file mode, access and share flags
File name
A FileMode constant that determines how to open or create the file.
A FileAccess constant that determines how the file can be
accessed by the TokenStream object. This gets the CanRead and CanWrite properties
of the FileStream object. CanSeek is true if path specifies a disk file
A FileShare constant that determines how the file will be shared
by processes
Open stream. Constructor allow to specify parameter of stream open
File name
A FileMode constant that determines how to open or create the file.
A FileAccess constant that determines how the file can be
accessed by the TokenStream object. This gets the CanRead and CanWrite properties
of the FileStream object. CanSeek is true if path specifies a disk file
A FileShare constant that determines how the file will be shared
by processes
size of internal buffer used for read/write operations
optimizations
Constructor, initializes new object
Input data Stream
Create Token stream from other stream.
encoding of input stream class try to detected automaticaly.
source stream
True - if TokenStream instance must close input stream on
own Close, otherwise false
Create Token stream from other stream with specified by user encoding
input stream
If encoding of input stream known then you can
specify it, otherwise send null value for auto-detection
Create Token stream from other stream with specified by user encoding.
Constructor help to specify must class control input stream or not
input strea
If encoding of input stream known then you can
specify it, otherwise send null value for auto-detection
True - if TokenStream instance must close input stream on
own Close, otherwise false
Constructor, initializes new object
encoding of input stream class try to detected automaticaly.
Input data Stream
True - if TokenStream instance must close input stream on
own Close, otherwise false
Size of the Stream
Constructor, initializes new object
Input data Stream
If encoding of input stream known then you can
specify it, otherwise send null value for auto-detection
True - if TokenStream instance must close input stream on
own Close, otherwise false
Size of the Stream
Initializes TokenStream from string input
String with input data
TokenStream Object
Free resources of Token stream class
Writes data into Stream
Data which will be writing
Start Position
Number of Symbols
Peek one byte from stream
-1 if end of stream reached, otherwise one byte from stream
Method extract one char from stream
-1 if end of stream, otherwise integer value of char
Peek Token from the Stream
string.Empty or null if end of stream, otherwise extracted token
peek line from the stream
Exracted token
read single line
String.Empty if end of stream reached, otherwise line from file
Reads one byte from stream
-1 if end of stream reached, otherwise one byte from stream
Read one char from stream and shift position of stream to next char
-1 if end of stream, otherwise integer value of char
Moves current position in the stream to the next line
Read one token from stream
null if end of stream reached, otherwise token string
Read mutliple tokens from stream into array
array where extracted tokens must be placed
start position in array
quantity of tokens to extract
quantity of extracted tokens
Reads data from the Stream
Source Stream
Start position
Number of symbols
number of extracted charecters
Reads data from the Stream
Input Stream
Start Position
Number of Symbols
number of extracted bytes
Check does char belong to one symbols tokens separators or not
char to test
true - if char belong to split chars, otherwise false
Method check charecter from array for multi-symbols tokens and return
quantity of used cherecters from array for token, also it return token.
In case when nothing found return -1. Method try to find longest token
from list.
chars to check
found token
Used chars from input array, otherwise -1
Method convert offset to Line number and position in line
Offset which must be converted to line and position values
line part of offset
position part of offset
Method convert enumeration to it string representation
value to convert
end line string
Method check file and try to detect which line end code is used in file
in case of error NewLineStyle.Windows style returned
Method try to detect file encoding
Detect file encoding by preambles
Method compare two arrays and return result of comapring
source array
array with preambles symbols
0 - they are identical, -1 - source array less then
preamble array
Close current file
Flush changes from internal buffers to source streams
Sets position withing the stream
Start position
indicating the reference point used to obtain the new position
new positions in stream
Sets the position withing the Stream
Token
indicating the reference point used to obtain the new position
bool bBack
new position in stream
Sets Length in the Stream
Length of the Stream
Calculates count of lines between to positions in the file
Start position for calculating
End position for calculating
Count of lines
Method create tree ob FastChar objects which allow to search faster
any word from stream by chars. '\uffff' - symbol indicate end of string
from source array.
hash table which will store FastChar's objects
array of strings
Method create tree ob FastChar objects which allow to search faster
any word from stream by chars. '\uffff' - symbol indicate end of string
from source array. Alternative method of FastChar tree building.
hahs table which will store FastChar's objects
array of strings
According to CaseSensitive property value return case sensitive or
case insensitive FastChar class instance.
Init new instance by char
Reference on new instance of FastChar class
Calculate lines in stream
Return total lines count in file
Calculate lines in stream till specified positon
string which interpreted as end of line
make calculations till specified offset
return position part of calculation
lines quantity in area from current Position tillOffset vaue
string which interpreted as end of line
make calculations till specified offset
return position part of calculation
Get maximum size of multi symbols token
Get minimum size of multi symbols token
Get or set array of charecters which can split tokens in stream.
Each symbol from this array will be returned by Stream as token
with one char, for more complex constructions must be used
MultiCharTokens property values.
Get or set multi-symbols atomic tokens. This property can used by
top-level abstractions for extracting special lexems, like: ++, --,
+=, -=, !=, ==, *= and etc.
Get or set does MultiCharTokens case sensitive or not.
Default is case sensitive - TRUE.
This property greatly reduce performance of TokenStream class
that is use it only where it realy needed
Encoding used for file reading
get or set position in stream
If TokenStream can Seek
If TokenStream can Read
If TokenStream can Write
Number of symbols in our Stream
On end of line string update recalculate lines in stream
Gets or Sets End line style ( For different OS )
GET count of skipped bytes at the beginning of the file.
Skipped bytes - size of the preambula for encoding.
Class implement enumerator which use own algorithm for extracting
data from input stream... Algorithm is a little faster then used in
TokenStream class, but it does not support multi-symbols tokens splitter.
Parent TokenStream
Current Position Of Reading
Empty Constructor
Destructor. Disposes all resources
Let Him Know About Parent
Disposes all resources
At the Beginning Of Enumeration Clear The Buffer
NOTE : newline - is one token
Get current token
This class used for multichars tokens search operations. Class hold
case sensitive information.
Current char from the Stream
Holds the rest of chars in the word
Default constructor diasbled for end user
Default constructor
Constructor for inheritors
char
Collection for sub-chars
Returns one char form the stream
True indicate that SubChars collection contains string end symbol '\uffff'
Returns sub-chars ( the rest of chars in the word )
This class used for multi-symbols tokens search operation. Class hold
case insensitive information.
Constructor.
character.
Fix Microsoft bug for Case insensitive types... Microsoft provide only
case insensitive hash provider for strings... chars by itself not supported.
Method calculate hash code for char
Object which hash must be calculated
Class provide functionality for comparing two chars... Class fix Microsoft
bug: case insensitive help provided only for strings...
Method compare too chars by it value - case insensitive
first value
second value
0 - if equel, -1 if x less y, 1 if x greater y
Class helps us to sort arrays by Length property value
Method compare two Array classes by Length property values
first parameter
second parameter
0 - if equel, -1 if x less y, 1 if x greater y
Method to generate unique boundary value
Determines charsets used in MIME document.
koi8 r.
koi8 u.
latin1.
utf-8.
Unicode.
Text constants used in MIME document.
Determines version of MIME standart.
tag to define value of MIME implementation.
Name of ContentType attribute.
Message following MIME header in multi-part document..
Separator used to open and close MIME parts.
tag wich determines that specified
attribute is extended.
new line sign.
Space
tag to defing start of encoded
attribute value.
tag to define end of encoded
attribute value.
B64.
["] sign.
Name of Contenttransferencoding attribute
used to specify encoding of current data.
Name of Content Location attribute
used to specify location of current .
content
tag to identify data.
Name of ContentDisposition attribute
used to specify status of current
data in document.
name of attribute to describe
content of following data.
Specifies length of buffer used to encode data.
buffer length.
length of base64 string line.
tag separates attribute name and it's value.
enlarger for reading b64 string.
Unicode array which represents NewLine symbols.
Content type attribute values.
multipart/alternative data.
multipart/related data.
following document contains independent parts.
tag to define digest document.
tag to define digest part.
following data is text in HTML format.
following data is simlpe ASCII text without formatting.
following data is image in gif format.
following data is image in jpeg format.
following data is application.
s-mime type,(signedData, envelopedData
degenerate signedData, "certs-only" message).
s-mime type, specifies current part as part with digital signature.
s-mime type, specifies curent data as file in p10 format.
repesents data encoded in binhex format.
s-mime type, means that current part is digitally signed.
Names of Content type attribute subtypes.
type.
Bound.
Charset.
Name.
smime-type.
Values of ContentTransferEncoding attribute.
specifies data encoding as uu encoding
specifies data encoding as quoted printable.
specifies data encoding as base 64.
specifies data encoding as 7 bit.
specifies data encoding as BinHex4.0
ContentDisposition attribute values.
specifies data as attachment.
Names of Content Disposition subtypes.
Determines name/path to file.
Names of mail attributes.
To.
From.
Subject.
Date.
cc.