Package com.luciad.lucy.util.preferences
Class ALcyPreferencesPropertyConverter
java.lang.Object
com.luciad.lucy.util.properties.codec.ALcyWorkspacePropertyConverter
com.luciad.lucy.util.preferences.ALcyPreferencesPropertyConverter
- All Implemented Interfaces:
ILcyPropertyConverter
Implementation of ALcyWorkspacePropertyConverter that retrieves the
ALcyWorkspaceCodec from the TLcyPreferencesTool when it is encoding its
workspace properties.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedALcyPreferencesPropertyConverter(TLcyPreferencesTool aPreferencesTool) -
Method Summary
Modifier and TypeMethodDescriptionprotected ALcyWorkspaceCodecReturns the currentALcyWorkspaceCodec.Methods inherited from class com.luciad.lucy.util.properties.codec.ALcyWorkspacePropertyConverter
convertAfterDecode, convertAfterDecode, convertBeforeEncode, convertBeforeEncode
-
Constructor Details
-
ALcyPreferencesPropertyConverter
-
-
Method Details
-
getWorkspaceCodec
Description copied from class:ALcyWorkspacePropertyConverterReturns the current
ALcyWorkspaceCodec.Note that implementations are discouraged to retrieve the workspace codec from the workspace manager of the Lucy backend, as it is not guaranteed that the workspace codec given to codec delegates and object codecs is the same as the workspace codec of the workspace manager of the Lucy backend. Instead the
ALcyWorkspaceCodecshould be the one that is passed to anALcyWorkspaceObjectCodecorALcyWorkspaceCodecDelegate.- Specified by:
getWorkspaceCodecin classALcyWorkspacePropertyConverter- Returns:
- The
ALcyWorkspaceCodecto pass toconvertBeforeEncodeandconvertAfterDecode.
-