Class FromDescriptiveName

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer>
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
org.anchoranalysis.plugin.io.bean.file.path.prefixer.FromDescriptiveName

public class FromDescriptiveName
extends org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
The prefixer uses a combination of a out-path-prefix and the descriptive-name of inputs to create an output prefix.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    FromDescriptiveName()  
  • Method Summary

    Modifier and Type Method Description
    boolean isSuppressDirectories()
    If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.
    org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefixFromPath​(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)  
    void setSuppressDirectories​(boolean suppressDirectories)
    If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.

    Methods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve

    getPrefix, outFilePrefix, outFilePrefixAvoidResolve, rootDirectoryPrefix, rootDirectoryPrefixAvoidResolve, setPrefix

    Methods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer

    resolvePath, resolvePath

    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

    • outFilePrefixFromPath

      public org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefixFromPath​(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)
      Specified by:
      outFilePrefixFromPath in class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
    • isSuppressDirectories

      public boolean isSuppressDirectories()
      If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.

      If false, this may still occur if it is requested in the PathPrefixerContext.

    • setSuppressDirectories

      public void setSuppressDirectories​(boolean suppressDirectories)
      If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.

      If false, this may still occur if it is requested in the PathPrefixerContext.