Interface FileResolver


  • public interface FileResolver
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.File resolveFile​(java.lang.String path, java.lang.String filename)
      Return the canonical form of a path, or raise an IllegalArgumentException if the path is not valid for this FileResolver.
    • Method Detail

      • resolveFile

        java.io.File resolveFile​(java.lang.String path,
                                 java.lang.String filename)
        Return the canonical form of a path, or raise an IllegalArgumentException if the path is not valid for this FileResolver.

        Parameters:
        path - The path of the file to resolve. Must not be null.
        filename - The name of the file to resolve. This is used only for exception message if any. Must not be null.
        Returns:
        the resolved File.