Class FlexFilePath

java.lang.Object
flexagon.fd.core.plugin.FlexFilePath

public class FlexFilePath extends Object
Utility to concatenate different string parts to build absolute file path. This internally uses java.io.File object to clean entire path so that it does not have duplicate path separators in full path, which can happen with simple String concatenation. Example. String fileName = new FlexFilePath("/u01/abc/eee").append("/aaaa\\ccccc").append("file1.txt").getFullName();
  • Constructor Details

    • FlexFilePath

      public FlexFilePath(String pFileName)
    • FlexFilePath

      public FlexFilePath(File pFile)
  • Method Details