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.DerivePath selectDerivePath()  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • selectDerivePath

      protected org.anchoranalysis.io.input.bean.path.DerivePath selectDerivePath()
      Specified by:
      selectDerivePath in class org.anchoranalysis.io.input.bean.grouper.FromDerivePath