Exemplo n.º 1
0
 public AbstractTikaOutOfProcessJob(
     ContentFormatBuilder builder,
     ContentFilterManager filterManager)
 {
     _builder        = builder;
     _filterManager  = filterManager;
     _formats        = "pdf|xls|xlsx|docx|doc|ppt|pptx|pps|ppsx|rtf|odt|ods|odp|txt|tmp|htmlzip|htmzip|mht|mhtml|eml".Split('|');
     base.PipelineId = "tika";
     base.QueueName  = "tika";
 }
 public AbstractTikaOutOfProcessJob(
     ContentFormatBuilder builder,
     ContentFilterManager filterManager)
 {
     _builder = builder;
     _filterManager = filterManager;
     _formats = "pdf|xls|xlsx|docx|doc|ppt|pptx|pps|ppsx|rtf|odt|ods|odp|txt|tmp|htmlzip|htmzip|mht|mhtml|eml".Split('|');
     base.PipelineId = "tika";
     base.QueueName = "tika";
 }
Exemplo n.º 3
0
        public AbstractTikaOutOfProcessJob(
            ContentFormatBuilder builder,
            ContentFilterManager filterManager)
        {
            _builder        = builder;
            _filterManager  = filterManager;
            _formats        = "pdf|xls|xlsx|docx|doc|ppt|pptx|pps|ppsx|rtf|odt|ods|odp|txt|tmp|htmlzip|htmzip|mht|mhtml|eml".Split('|');
            base.PipelineId = "tika";
            base.QueueName  = "tika";

            var config = ConfigurationManager.AppSettings["threadNumber"] ?? "1";

            if (!Int32.TryParse(config, out _threadNumber))
            {
                _threadNumber = 1;
            }
        }
 public ContentFormatBuilder(ContentFilterManager filterManager)
 {
     _filterManager = filterManager;
 }
Exemplo n.º 5
0
 public OutOfProcessTikaNetJob(
     ContentFormatBuilder builder,
     ContentFilterManager filterManager)
     : base(builder, filterManager)
 {
 }
 public OutOfProcessTikaNetJob(
     ContentFormatBuilder builder,
     ContentFilterManager filterManager)
     : base(builder, filterManager)
 {
 }
 public ContentFormatBuilder(ContentFilterManager filterManager)
 {
     _filterManager = filterManager;
 }