Class NioFileManagerBuilder

    • Constructor Detail

      • NioFileManagerBuilder

        public NioFileManagerBuilder()
    • Method Detail

      • getDirectory

        public String getDirectory​(ParameterResolver resolver)
        Return the path name for the root directory that the manager uses to store files in. If not specified or specifies a non-existent directory, a temporary file in the default location is used.
        Parameters:
        resolver - the ParameterResolver
        Returns:
        the root directory
      • setDirectory

        @Injectable
        public void setDirectory​(Expression<String> expr)
        Set the root directory where the manager stores files.
        Parameters:
        expr - the directory name