Class StreamableFileNameResource

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

public final class StreamableFileNameResource extends StreamableResource
Streams, on demand, the contents of a file identified by a full file name, including path.
  • Constructor Details

    • StreamableFileNameResource

      public StreamableFileNameResource(String fileName)
      Constructs an instance that streams the resource identified by name on demand.
      Parameters:
      fileName - full file name, including path, of the resource to be streamed on demand, not null
  • Method Details