C# Класс BHannemann.TikaTools.TikaWrapper

Contains methods for running the Apache Tika tool from the command line. Note that a modern JVM (1.5+) must be installed and included in the system path.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Extract ( FileInfo file, bool textOnly ) : string

Extract text and/or metadata from a file using Tika.

Extract ( byte file, bool textOnly ) : string

Extract text and/or metadata from a file using Tika.

Extract ( string filePath, bool textOnly ) : string

Extract text and/or metadata from a file using Tika.

TikaWrapper ( string tikaPath ) : System

Initialize a new TikaWrapper provided the path to the Tika .jar file.

Описание методов

Extract() публичный Метод

Extract text and/or metadata from a file using Tika.
public Extract ( FileInfo file, bool textOnly ) : string
file System.IO.FileInfo The file from which to extract information.
textOnly bool Extract text only, no metadata.
Результат string

Extract() публичный Метод

Extract text and/or metadata from a file using Tika.
public Extract ( byte file, bool textOnly ) : string
file byte The file from which to extract information.
textOnly bool Extract text only, no metadata.
Результат string

Extract() публичный Метод

Extract text and/or metadata from a file using Tika.
public Extract ( string filePath, bool textOnly ) : string
filePath string The path to a file from which to extract information.
textOnly bool Extract text only, no metadata.
Результат string

TikaWrapper() публичный Метод

Initialize a new TikaWrapper provided the path to the Tika .jar file.
public TikaWrapper ( string tikaPath ) : System
tikaPath string
Результат System