Added Demo.
This commit is contained in:
parent
90130e98e6
commit
b710da8b5f
1 changed files with 56 additions and 0 deletions
56
src/fr/devinsy/util/rss/demo/RssDemo.java
Normal file
56
src/fr/devinsy/util/rss/demo/RssDemo.java
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2017 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-rss.
|
||||||
|
*
|
||||||
|
* Devinsy-rss is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-rss is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with Devinsy-rss. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
|
package fr.devinsy.util.rss.demo;
|
||||||
|
|
||||||
|
import fr.devinsy.util.strings.StringList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Class RssDemo.
|
||||||
|
*/
|
||||||
|
public class RssDemo
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The main method.
|
||||||
|
*
|
||||||
|
* @param args
|
||||||
|
* the arguments
|
||||||
|
*/
|
||||||
|
public static void main(final String[] args)
|
||||||
|
{
|
||||||
|
// #1
|
||||||
|
{
|
||||||
|
StringList strings = new StringList();
|
||||||
|
|
||||||
|
strings.appendln("========== DEMO #1;");
|
||||||
|
strings.appendln();
|
||||||
|
|
||||||
|
System.out.println(strings.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
// #2
|
||||||
|
{
|
||||||
|
StringList strings = new StringList();
|
||||||
|
|
||||||
|
strings.appendln("========== DEMO #2;");
|
||||||
|
strings.appendln();
|
||||||
|
|
||||||
|
System.out.println(strings.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue