Keyoti SearchUnit API Docs
Reader Class
API DocumentationKeyoti.SearchEngine.DocumentsReader
Keyoti SearchUnit v6
Reads files from the filesystem and pages from servers via HTTP.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public class Reader
public class Reader
Public Class Reader
Public Class Reader
public ref class Reader
public ref class Reader
type Reader =  class end
type Reader =  class end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Reader(Configuration)
Constructs a new Reader instance.

CheckRedirection(WebRequest, WebResponse)
Checks if a redirection occurred - and returns true if it was to the error page specified in Configuration.ErrorPageRedir

Configuration
Gets the instance of the Configuration class that holds the settings to be used.

DecompressStream(String, Stream)
Decompresses the response stream if compressed with 'deflate' or 'gzip', if not compressed with either then the original stream is returned.

Equals(Object) (Inherited from Object.)
Finalize()()()() (Inherited from Object.)
GetFileType(Uri)
Retrieves the mime-type for the specified Uri

GetHashCode()()()() (Inherited from Object.)
GetLastModifiedDate(Uri)
Gets the date the file was last modified

GetStream(Uri)
Returns the document at uri as a stream.

GetType()()()() (Inherited from Object.)
LastContentDispositionFilename
If not null/Nothing, is the last filename specified by Content-Disposition header.

LastResponseContentLength
The length of the content in the response, or -1 if no information available.

LastResponseEncoding
The name of the encoding used with the most recent response. This may be empty or null.

LastResponseFileType
The mimetype returned in the last reponse obtained.

LastResponseLastModifiedDate
The last-modified-date returned in the last reponse obtained.

LastResponseStatusCode
The status code from the last server response.

LastResponseUri
The Uri given in the response from the server.

MemberwiseClone()()()() (Inherited from Object.)
Request(Uri)
Creates a request to Uri and returns the response from the server.

TestUri(Uri, Configuration)
Tests a Uri, returning the WebException that occurred, or null/nothing if there wasn't one.

ToString()()()() (Inherited from Object.)
Inheritance Hierarchy
Object
Reader

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120