protected class Searcher.SearchCallback extends ParseEntry implements IParseCallback
ParseEntry.ParseEntryQueueItem, ParseEntry.ParseEntryResult
Constructor and Description |
---|
SearchCallback(ProjectProperties config) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSegment(java.lang.String id,
short segmentIndex,
java.lang.String segmentSource,
java.util.List<ProtectedPart> protectedParts,
java.lang.String segmentTranslation,
boolean segmentTranslationFuzzy,
java.lang.String[] props,
java.lang.String prevSegment,
java.lang.String nextSegment,
java.lang.String path)
Adds a segment to the project.
|
protected void |
fileFinished() |
void |
setCurrentFile(IProject.FileInfo fi) |
addEntry, addEntry, addEntryWithProperties, linkPrevNextSegments, stripSomeChars
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEntry, addEntry, addEntryWithProperties, linkPrevNextSegments
public SearchCallback(ProjectProperties config)
public void setCurrentFile(IProject.FileInfo fi)
setCurrentFile
in class ParseEntry
protected void fileFinished()
fileFinished
in class ParseEntry
protected void addSegment(java.lang.String id, short segmentIndex, java.lang.String segmentSource, java.util.List<ProtectedPart> protectedParts, java.lang.String segmentTranslation, boolean segmentTranslationFuzzy, java.lang.String[] props, java.lang.String prevSegment, java.lang.String nextSegment, java.lang.String path)
ParseEntry
addSegment
in class ParseEntry
id
- ID of entry, if format supports itsegmentIndex
- Number of the segment-part of the original source string.segmentSource
- Translatable source stringprotectedParts
- protected partssegmentTranslation
- translation of the source string, if format supports itsegmentTranslationFuzzy
- fuzzy flag of translation of the source string, if format
supports itprops
- entry's properties, like comments, if format supports itprevSegment
- previous segment's textnextSegment
- next segment's textpath
- path of segment