Mixxx

ParserM3u Class Reference

#include <parserm3u.h>

Inheritance diagram for ParserM3u:
Collaboration diagram for ParserM3u:

List of all members.

Public Member Functions

 ParserM3u ()
 ~ParserM3u ()
QList< QString > parse (QString)

Static Public Member Functions

static bool writeM3UFile (const QString &file_str, QList< QString > &items, bool useRelativePath, bool useUtf8)
static bool writeM3UFile (const QString &file, QList< QString > &items, bool useRelativePath)
static bool writeM3U8File (const QString &file_str, QList< QString > &items, bool useRelativePath)

Detailed Description

Definition at line 20 of file parserm3u.h.


Constructor & Destructor Documentation

ParserM3u::ParserM3u ( )
Author:
Ingo Kossyk (kossyki@cs.tu-berlin.de) ToDo:
  • parse ALL informations from the pls file if available , not only the filepath;

Userinformation : The M3U format is just a headerless plaintext format where every line of text either represents a file location or a comment. comments are being preceeded by a '#'. This parser will try to parse all file information from the given file and add the filepaths to the locations ptrlist when the file is existing locally or on a mounted harddrive.

Definition at line 40 of file parserm3u.cpp.

ParserM3u::~ParserM3u ( )

Definition at line 44 of file parserm3u.cpp.


Member Function Documentation

QList< QString > ParserM3u::parse ( QString  sFilename) [virtual]

Overwriting function parse in class Parser

Implements Parser.

Definition at line 50 of file parserm3u.cpp.

Here is the call graph for this function:

bool ParserM3u::writeM3U8File ( const QString &  file_str,
QList< QString > &  items,
bool  useRelativePath 
) [static]

Definition at line 146 of file parserm3u.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ParserM3u::writeM3UFile ( const QString &  file,
QList< QString > &  items,
bool  useRelativePath 
) [static]

Definition at line 142 of file parserm3u.cpp.

Here is the call graph for this function:

bool ParserM3u::writeM3UFile ( const QString &  file_str,
QList< QString > &  items,
bool  useRelativePath,
bool  useUtf8 
) [static]

Definition at line 150 of file parserm3u.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines