|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kex.model.ExampleCollector
de.cau.cs.kieler.kex.model.database.DBExampleCollector
public class DBExampleCollector
this is an example for extending KEX with online examples.
Constructor Summary | |
---|---|
DBExampleCollector()
Creates a new DBExampleCollector. |
Method Summary | |
---|---|
List<Category> |
getCategories()
Getter for categories. |
static Example |
getExample(String exampleTitle)
searches an example for a examle title. |
Map<String,Example> |
getExamplePool()
Returns the loaded examplePool. |
SourceType |
getSourceType()
Getter for SourceType . |
void |
load()
Loads the examples. |
Methods inherited from class de.cau.cs.kieler.kex.model.ExampleCollector |
---|
getExamplesAsStrings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBExampleCollector()
Method Detail |
---|
public Map<String,Example> getExamplePool()
ExampleCollector
getExamplePool
in class ExampleCollector
public void load()
ExampleCollector
load
in class ExampleCollector
public static Example getExample(String exampleTitle)
exampleTitle
- , String
Example
public List<Category> getCategories()
List
of String
public SourceType getSourceType()
ExampleCollector
SourceType
. Every collector should have one.
getSourceType
in class ExampleCollector
SourceType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |