Class StreamFile

All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class StreamFile extends OpenFile
Causes the content of a file to be streamed as a sequence of Output events (terminated by an event with the end of record flag set) on the channel that this event is fired on.
  • Constructor Details

    • StreamFile

      public StreamFile(Path path, OpenOption... options)
      Creates a new instance.
      Parameters:
      path - the file’s path
      options - open options