git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.9.0 + update nikiroo-utils
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
BasicReader.java
diff --git
a/src/be/nikiroo/fanfix/reader/BasicReader.java
b/src/be/nikiroo/fanfix/reader/BasicReader.java
index 13e1599849128f28187c477c09c5fb673f886140..3403f872a2fbbfc12fe17f646b6792d768fb4513 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/BasicReader.java
+++ b/
src/be/nikiroo/fanfix/reader/BasicReader.java
@@
-11,9
+11,9
@@
import be.nikiroo.fanfix.supported.BasicSupport;
import be.nikiroo.fanfix.supported.BasicSupport.SupportType;
/**
import be.nikiroo.fanfix.supported.BasicSupport.SupportType;
/**
- *
Command line {@link Story} reader
.
+ *
The class that handles the different {@link Story} readers you can use
.
* <p>
* <p>
- *
Will output stories to the console
.
+ *
All the readers should be accessed via {@link BasicReader#getReader()}
.
*
* @author niki
*/
*
* @author niki
*/
@@
-159,8
+159,8
@@
public abstract class BasicReader {
public static BasicReader getReader() {
if (defaultType != null) {
switch (defaultType) {
public static BasicReader getReader() {
if (defaultType != null) {
switch (defaultType) {
- //case LOCAL:
-
//
return new LocalReader().setType(ReaderType.LOCAL);
+ //
case LOCAL:
+
//
return new LocalReader().setType(ReaderType.LOCAL);
case CLI:
return new CliReader().setType(ReaderType.CLI);
}
case CLI:
return new CliReader().setType(ReaderType.CLI);
}