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.
파일 보기 프로젝트 열기: unicron/TikaTools 1 사용 예제들

공개 메소드들

메소드 설명
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