Module openj9.dtfj

Class DefaultFileLocationResolver

java.lang.Object
com.ibm.dtfj.image.j9.DefaultFileLocationResolver
All Implemented Interfaces:
IFileLocationResolver

public class DefaultFileLocationResolver extends Object implements IFileLocationResolver
  • Constructor Details

    • DefaultFileLocationResolver

      public DefaultFileLocationResolver(File parentDirectory)
  • Method Details

    • findFileWithFullPath

      public File findFileWithFullPath(String fullPath) throws FileNotFoundException
      Description copied from interface: IFileLocationResolver
      Used to lookup files at runtime. The fullPath is used as a hint for how to find the file and what it is called but implementers are free to use whatever RI are necessary to find and return the adequate file
      Specified by:
      findFileWithFullPath in interface IFileLocationResolver
      Parameters:
      fullPath - The full path to the file
      Returns:
      An abstract reference to the file, ready to be treated as any other file, by the caller (NEVER NULL)
      Throws:
      FileNotFoundException - If we couldn't find the file anywhere