Class StreamableFileResource

java.lang.Object
org.apache.creadur.whisker.app.StreamableResource
org.apache.creadur.whisker.app.load.StreamableFileResource

public final class StreamableFileResource extends StreamableResource
Streams the contents of a file.
  • Constructor Details

    • StreamableFileResource

      public StreamableFileResource(File file)
      Constructs an object that streams the file on demand.
      Parameters:
      file - not null
  • Method Details