Class ChangePath

    • Field Detail

      • m_OldPath

        protected BaseString[] m_OldPath
        the old path(s).
      • m_OldPathLinux

        protected BaseString[] m_OldPathLinux
        the old path (with forward slashes).
      • m_OldPathIsRegExp

        protected boolean m_OldPathIsRegExp
        whether the old path is a regular expression.
      • m_UseLowerCase

        protected boolean m_UseLowerCase
        whether to use lowercase for matching.
      • m_NewPath

        protected BaseString[] m_NewPath
        the new path(s).
      • m_ActualNewPath

        protected String[] m_ActualNewPath
        the actual new path(s).
    • Constructor Detail

      • ChangePath

        public ChangePath()
    • Method Detail

      • setOldPath

        public void setOldPath​(BaseString[] value)
        Sets the old paths to replace.
        Parameters:
        value - the old paths
      • getOldPath

        public BaseString[] getOldPath()
        Returns the old paths to replace.
        Returns:
        the old paths
      • oldPathTipText

        public String oldPathTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setOldPathIsRegExp

        public void setOldPathIsRegExp​(boolean value)
        Sets whether the old Path represents a regular expression.
        Parameters:
        value - true if the old Path is a regular expression
      • getOldPathIsRegExp

        public boolean getOldPathIsRegExp()
        Returns whether the old Path represents a regular expression.
        Returns:
        true if the old Path is a regular expression
      • oldPathIsRegExpTipText

        public String oldPathIsRegExpTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setUseLowerCase

        public void setUseLowerCase​(boolean value)
        Sets whether to lowercase the paths before matching.
        Parameters:
        value - true if to lowercase paths
      • getUseLowerCase

        public boolean getUseLowerCase()
        Returns whether to lowercase the paths before matching.
        Returns:
        true if to lowercase paths
      • useLowerCaseTipText

        public String useLowerCaseTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setNewPath

        public void setNewPath​(BaseString[] value)
        Sets the new paths to replace with.
        Parameters:
        value - the new paths
      • getNewPath

        public BaseString[] getNewPath()
        Returns the new Path to replace with.
        Returns:
        the new Path
      • newPathTipText

        public String newPathTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • checkData

        protected void checkData​(Actor actor)
        The default implementation only checks whether there is any actor set.
        Overrides:
        checkData in class AbstractActorProcessor
        Parameters:
        actor - the actor to process
      • processActor

        protected void processActor​(Actor actor)
        Performs the actual processing.
        Specified by:
        processActor in class AbstractActorProcessor
        Parameters:
        actor - the actor to process (is a copy of original for processors implementing ModifyingProcessor)
        See Also:
        ModifyingProcessor