DeSR Dependency Parser

IXE::FileType Class Reference
[Configuration]

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

#include <FileType.h>

Inheritance diagram for IXE::FileType:

Inheritance graph
Collaboration diagram for IXE::FileType:

Collaboration graph

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.

Definition at line 46 of file FileType.h.


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.

Definition at line 55 of file FileType.cpp.

References IXE::next_token_line(), and IXE::Var< T >::value.


The documentation for this class was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.