vtkAssignMimeType Class Reference

#include <vtkAssignMimeType.h>


Detailed Description

Assigns MIME types to a collection of documents.

Given a table containing document URIs and contents, tries to assign a MIME type to each document.

Inputs: Input port 0: (required) A vtkTable containing document URIs and contents (which could be binary).

Outputs: Output port 0: The same table with an additional "mime_type" column that contains the MIME type identified for each document, or empty-string.

Use SetInputArrayToProcess(0, ...) to specify the input table column that contains URIs (must be a vtkStringArray).

Use SetInputArrayToProcess(1, ...) to specify the input table column that contains document contents (must be a vtkStringArray).

Warning:
The input document contents array must be a string array, even though the individual document contents may be binary data.
Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
BTX vtkMimeTypes* MimeTypes; ETX

Events:
vtkCommand::ProgressEvent
Tests:
vtkAssignMimeType (Tests)

Definition at line 25 of file vtkAssignMimeType.h.


The documentation for this class was generated from the following file:

Generated on Mon Sep 27 18:18:06 2010 for VTK by  doxygen 1.5.6