Class NormalizedPath

Object
AnchorBean<FileNamer>
FileNamer
FileNamerIndependent
NormalizedPath

public class NormalizedPath extends FileNamerIndependent
Uses the normalized path (always with forward slashes) of each file as it's descriptive-name
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    deriveName(File file, Optional<Path> inputDirectory, int index)
     

    Methods inherited from class org.anchoranalysis.io.input.bean.namer.FileNamerIndependent

    deriveName

    Methods inherited from class org.anchoranalysis.io.input.bean.namer.FileNamer

    deriveName, deriveNameUnique

    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

    • NormalizedPath

      public NormalizedPath()
  • Method Details

    • deriveName

      protected String deriveName(File file, Optional<Path> inputDirectory, int index) throws CreateException
      Specified by:
      deriveName in class FileNamerIndependent
      Throws:
      CreateException