public abstract class AbstractTagImporter extends java.lang.Object implements TagImporter
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTagImporter.TagPrototype |
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
file |
protected java.util.Locale |
fileLocale |
protected TagPath |
selectedTarget |
Constructor and Description |
---|
AbstractTagImporter(java.io.File file,
TagPath selectedTarget) |
Modifier and Type | Method and Description |
---|---|
LoggerEx |
getLogger() |
protected abstract java.lang.String |
getLoggerName() |
abstract java.util.List<TagEdit> |
importFromString(java.lang.String importStr,
TaskProgressListener listener) |
protected java.util.List<TagEdit> |
processTagsElement(java.util.List<AbstractTagImporter.TagPrototype> tags,
TaskProgressListener progress)
This takes the imported data and loads it into the objects in the super type that will then be used to build the
final results.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runImport
protected TagPath selectedTarget
protected java.io.File file
protected java.util.Locale fileLocale
public AbstractTagImporter(java.io.File file, TagPath selectedTarget)
protected abstract java.lang.String getLoggerName()
public LoggerEx getLogger()
public abstract java.util.List<TagEdit> importFromString(java.lang.String importStr, TaskProgressListener listener) throws java.lang.Exception
java.lang.Exception
protected java.util.List<TagEdit> processTagsElement(java.util.List<AbstractTagImporter.TagPrototype> tags, TaskProgressListener progress)