Class DirectoryResourceCreator

  • All Implemented Interfaces:
    ResourceCreator

    public class DirectoryResourceCreator
    extends FileResourceCreator
    Creates a resource in a given directory:
         destinationDirectory/resourceName
     
    • Constructor Detail

      • DirectoryResourceCreator

        public DirectoryResourceCreator​(java.io.File destinationDirectory)
    • Method Detail

      • getFile

        protected final java.io.File getFile​(java.lang.String resourceName)
        Specified by:
        getFile in class FileResourceCreator
        Returns:
        The file into which the contents is written