Tanl Linguistic Pipeline

IXE::FileType Class Reference
[Configuration]

A FileType maps a filename pattern to a file type. More...

#include <FileType.h>

Inheritance diagram for IXE::FileType:
IXE::Var< PatternMap< char const * > > IXE::Configuration::Item

List of all members.

Public Member Functions

 FileType (char const *name)
char const * operator[] (value_type::key_type key) const

Protected Member Functions

virtual void parseValue (char const *&line)
 Parse a FileType configuration file line.
virtual void reset ()

Detailed Description

A FileType maps a filename pattern to a file type.


Member Function Documentation

void IXE::FileType::parseValue ( char const *&  line  )  [protected, virtual]

Parse a FileType configuration file line.

The format of such a line is:

              type	pattern+
	

where "type" is a MIME type and "pattern" is a file pattern

Parameters:
line The line to be parsed.

Implements IXE::Configuration::Item.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.