|
||||||||||
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 List<String> |
importExamples(IPath selectedResource,
List<Example> selectedExamples,
boolean checkDuplicate)
This method contains all functions to import an example. |
static InputStream |
loadOverviewPic(Example example)
Loads the preview pic of an example. |
static InputStream |
loadStandardPic()
loads the standard picture of 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) throws KielerException
selectedResource
- , destination resource of type IPath
.selectedExamples
- , List
of Example
s.
List
of String
.
KielerException
- , will throw if any error occurs.public static InputStream loadOverviewPic(Example example) throws KielerException
example
- , Example
InputStream
KielerException
- , if anything goes wrong.public static InputStream loadStandardPic()
InputStream
public static void validate(IPath selectedResource, List<Example> selectedExamples, boolean checkDuplicate) throws KielerException
selectedResource
- , IPath
selectedExamples
- , List
of Example
checkDuplicate
- , boolean
KielerException
- , if any error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |