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
ModifierConstructorDescriptionprotected
ALcyPreferencesPropertyConverter
(TLcyPreferencesTool aPreferencesTool) -
Method Summary
Modifier and TypeMethodDescriptionprotected ALcyWorkspaceCodec
Returns 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:ALcyWorkspacePropertyConverter
Returns 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
ALcyWorkspaceCodec
should be the one that is passed to anALcyWorkspaceObjectCodec
orALcyWorkspaceCodecDelegate
.- Specified by:
getWorkspaceCodec
in classALcyWorkspacePropertyConverter
- Returns:
- The
ALcyWorkspaceCodec
to pass toconvertBeforeEncode
andconvertAfterDecode
.
-