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 DerivePathSelects theDerivePathto use for deriving a key.Methods inherited from class org.anchoranalysis.io.input.bean.grouper.FromDerivePath
createInputGrouperMethods 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:FromDerivePathSelects theDerivePathto use for deriving a key.- Specified by:
selectDerivePathin classFromDerivePath- Returns:
- the selected
DerivePath.
-