|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ActionImpl hirondelle.fish.translate.unknown.UnknownBaseTextRecorder
public final class UnknownBaseTextRecorder
Toggle the recording of unknown BaseText
.
See Translator
for a definition of BaseText.
When a particular text snippet is first encountered by various translation tools, it is categorized as "unknown" BaseText. Such unknown items can be collected by calling this Action, which will start to 'record' such items as they are found. Later, the items are evaluated one by one, to determine if they should be treated as translatable items.
Operations performed :TranslatorImpl.startRecordingUnknowns()
and
TranslatorImpl.stopRecordingUnknowns()
.
Field Summary | |
---|---|
static RequestParameter |
SupportedOperation
RequestParameter defining the operations supported by this template. |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
UnknownBaseTextRecorder(RequestParser aRequestParser)
Constructor. |
Method Summary | |
---|---|
ResponsePage |
execute()
Toggle the recording of unknown BaseText, according to the value of SupportedOperation . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final RequestParameter SupportedOperation
RequestParameter
defining the operations supported by this template.
The underlying request must contain a parameter
named 'Operation', whose single value can be parsed successfully
by Operation.valueOf(java.lang.String)
into one of the following supported operations :
Constructor Detail |
---|
public UnknownBaseTextRecorder(RequestParser aRequestParser)
Method Detail |
---|
public ResponsePage execute() throws AppException
SupportedOperation
.
Uses TranslatorImpl.startRecordingUnknowns()
and
TranslatorImpl.stopRecordingUnknowns()
.
execute
in interface Action
execute
in class ActionImpl
AppException
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |