srchilite::SourceHighlightUtils Class Reference

Class with some utility static methods. More...

#include <sourcehighlightutils.h>

List of all members.

Static Public Member Functions

static StringSet getFileNames (const std::string path, const std::string fileExtension)
static StringSet getStyleFileNames (const std::string path="")
static StringSet getCssStyleFileNames (const std::string path="")


Detailed Description

Class with some utility static methods.

Member Function Documentation

StringSet srchilite::SourceHighlightUtils::getCssStyleFileNames ( const std::string  path = ""  )  [static]

Parameters:
path the path to search for files (if left empty, it uses the standard data dir path)
Returns:
a set of string with file names of css style files
Exceptions:
IOException if it cannot open the specified path

StringSet srchilite::SourceHighlightUtils::getFileNames ( const std::string  path,
const std::string  fileExtension 
) [static]

Parameters:
path the path to search for files
fileExtension the file extension for files (without the dot)
Returns:
a set of string with file names matching the specified file extension in the specified path
Exceptions:
IOException if it cannot open the specified path

StringSet srchilite::SourceHighlightUtils::getStyleFileNames ( const std::string  path = ""  )  [static]

Parameters:
path the path to search for files (if left empty, it uses the standard data dir path)
Returns:
a set of string with file names of style files
Exceptions:
IOException if it cannot open the specified path


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

Generated on Sun Jun 14 18:23:26 2009 for Source-highlight Library by  doxygen 1.5.9