C# Class SenseNet.Search.TextExtractor

Inheritance: ITextExtractor
Afficher le fichier Open project: maxpavlov/FlexNet

Méthodes publiques

Méthode Description
Extract ( Stream stream ) : string
GetExtract ( BinaryData binaryData, Node node ) : string
GetExtract ( Stream stream, string fileName, string &errorMessage ) : string

Méthodes protégées

Méthode Description
GetBytesFromStream ( Stream stream ) : byte[]
GetOpenXmlText ( Stream stream ) : string
WriteElapsedLog ( Stopwatch sw, string message, long length ) : void

Private Methods

Méthode Description
WriteError ( Exception e, Node node ) : void

Method Details

Extract() public abstract méthode

public abstract Extract ( Stream stream ) : string
stream Stream
Résultat string

GetBytesFromStream() protected static méthode

protected static GetBytesFromStream ( Stream stream ) : byte[]
stream Stream
Résultat byte[]

GetExtract() public static méthode

public static GetExtract ( BinaryData binaryData, Node node ) : string
binaryData SenseNet.ContentRepository.Storage.BinaryData
node Node
Résultat string

GetExtract() public static méthode

public static GetExtract ( Stream stream, string fileName, string &errorMessage ) : string
stream Stream
fileName string
errorMessage string
Résultat string

GetOpenXmlText() protected méthode

protected GetOpenXmlText ( Stream stream ) : string
stream Stream
Résultat string

WriteElapsedLog() protected static méthode

protected static WriteElapsedLog ( Stopwatch sw, string message, long length ) : void
sw Stopwatch
message string
length long
Résultat void