fr.paris.lutece.plugins.calendar.modules.text
Class TextAgendaLoader
java.lang.Object
fr.paris.lutece.plugins.calendar.modules.text.TextAgendaLoader
- All Implemented Interfaces:
- AgendaLoader
public class TextAgendaLoader
- extends Object
- implements AgendaLoader
A basic implementation of an Agenda Loader.
This loader constructs agenda by reading events in a text file.
Each line of the text file should contains an event defined as follow :
[date formatted as YYYYMMDD] [description]
|
Constructor Summary |
TextAgendaLoader()
Creates a new instance of TextAgendaLoader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextAgendaLoader
public TextAgendaLoader()
- Creates a new instance of TextAgendaLoader
load
public Agenda load(String strParameter)
- Load an agenda using its name
- Specified by:
load in interface AgendaLoader
- Parameters:
strParameter - The parameter of the agenada
- Returns:
- An agenda object
Copyright © 2014 Mairie de Paris. All Rights Reserved.