Class RemoveLastElement
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.grouper.Grouper>
org.anchoranalysis.io.input.bean.grouper.Grouper
org.anchoranalysis.io.input.bean.grouper.FromDerivePath
org.anchoranalysis.plugin.io.bean.grouper.RemoveLastElement
public class RemoveLastElement
extends org.anchoranalysis.io.input.bean.grouper.FromDerivePath
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 Constructor Description RemoveLastElement() -
Method Summary
Modifier and Type Method Description protected org.anchoranalysis.io.input.bean.path.DerivePathselectDerivePath()Methods inherited from class org.anchoranalysis.io.input.bean.grouper.FromDerivePath
createInputGrouper
-
Constructor Details
-
RemoveLastElement
public RemoveLastElement()
-
-
Method Details
-
selectDerivePath
protected org.anchoranalysis.io.input.bean.path.DerivePath selectDerivePath()- Specified by:
selectDerivePathin classorg.anchoranalysis.io.input.bean.grouper.FromDerivePath
-