|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kex.controller.util.ExampleImport
public final class ExampleImport
Contains all Elements for an import of examples.
Method Summary | |
---|---|
static InputStream |
getEmptyPic()
Loads the empty picture, often called when no example image exists. |
static List<String> |
importExamples(IPath selectedResource,
List<Example> selectedExamples,
boolean checkDuplicate)
This method contains all functions to import an example. |
static void |
validate(IPath selectedResource,
List<Example> selectedExamples,
boolean checkDuplicate)
validates the selected examples. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<String> importExamples(IPath selectedResource, List<Example> selectedExamples, boolean checkDuplicate)
selectedResource
- , destination resource of type IPath
.selectedExamples
- , List
of Example
s.checkDuplicate
- , flag for checking example duplication in project.
List
of String
.public static InputStream getEmptyPic()
InputStream
public static void validate(IPath selectedResource, List<Example> selectedExamples, boolean checkDuplicate)
selectedResource
- , IPath
selectedExamples
- , List
of Example
checkDuplicate
- , boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |