Class FileOpened

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

public class FileOpened extends Opened<OpenFile>
  • Constructor Details

    • FileOpened

      public FileOpened(OpenFile event)
      Instantiates a new event, using the values for path and options from the opening event.
      Parameters:
      event - the event that caused opening the file
    • FileOpened

      public FileOpened(OpenFile event, Path path, OpenOption... options)
      Instantiates a new event, overriding the values using the given values for path and options.
      Parameters:
      event - the event that caused opening the file
      path - the path
      options - the options
  • Method Details

    • openEvent

      public OpenFile openEvent()
      Returns the event that caused the file to be opened.
      Returns:
      the event
    • path

      public Path path()
      Returns:
      the path
    • options

      public OpenOption[] options()
      Returns:
      the options