Interface IOOperation<T>

Type Parameters:
T - The type of object on which the operation will take place.

public interface IOOperation<T>
A class that encapsulates an I/O-related operation on a particular object. For example, a method might retrieve a Writer from a method, and that method might allow an IOOperation to be specified that determines how the writer will be initialized if it doesn't already exist.
Author:
Garret Wilson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    perform(T object)
    Performs an operation on the indicated object.
  • Method Details

    • perform

      void perform(T object) throws IOException
      Performs an operation on the indicated object.
      Parameters:
      object - The object on which the operation will occur.
      Throws:
      IOException - if there is an error during the operation.