class PingerWorker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.text.DateFormat |
df |
| Constructor and Description |
|---|
PingerWorker() |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.Collection<Topic> |
getLanguageTopics(TopicMap tm) |
private static java.util.Collection<Topic> |
getValidTopics(TopicMap tm,
Topic sourceType) |
private static boolean |
handleTopic(Topic t,
Topic targetType,
Topic sourceType,
Topic lang,
boolean isBinary) |
(package private) static void |
run(Topic targetType,
Topic sourceType,
TopicMap tm,
PingerPanel.Logger logger,
boolean isBinary) |
(package private) static void |
run(Topic targetType,
Topic sourceType,
TopicMap tm,
PingerPanel.Logger logger,
boolean isBinary,
java.io.File saveFolder) |
static void run(Topic targetType, Topic sourceType, TopicMap tm, PingerPanel.Logger logger, boolean isBinary, java.io.File saveFolder)
static void run(Topic targetType, Topic sourceType, TopicMap tm, PingerPanel.Logger logger, boolean isBinary)
private static boolean handleTopic(Topic t, Topic targetType, Topic sourceType, Topic lang, boolean isBinary) throws TopicMapException, com.mashape.unirest.http.exceptions.UnirestException, java.io.IOException
TopicMapExceptioncom.mashape.unirest.http.exceptions.UnirestExceptionjava.io.IOExceptionprivate static java.util.Collection<Topic> getValidTopics(TopicMap tm, Topic sourceType) throws TopicMapException
TopicMapExceptionprivate static java.util.Collection<Topic> getLanguageTopics(TopicMap tm) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team