Class RemoveLastElement
Splits an identifier into elements by the directory separator, and removes the final element.
If there is only one element (i.e. directory separator), it is left unchanged.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DerivePath
Selects theDerivePath
to use for deriving a key.Methods inherited from class org.anchoranalysis.io.input.bean.grouper.FromDerivePath
createInputGrouper
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
RemoveLastElement
public RemoveLastElement()
-
-
Method Details
-
selectDerivePath
Description copied from class:FromDerivePath
Selects theDerivePath
to use for deriving a key.- Specified by:
selectDerivePath
in classFromDerivePath
- Returns:
- the selected
DerivePath
.
-