Package com.android.builder.merge
Interface OpenableCloseable
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
IncrementalFileMergerInput,IncrementalFileMergerOutput,MergeOutputWriter
- All Known Implementing Classes:
DelegateIncrementalFileMergerInput,DelegateIncrementalFileMergerOutput,FilterIncrementalFileMergerInput,LazyIncrementalFileMergerInput,RenameIncrementalFileMergerInput
Specifies the general contract for an object that needs to be open or closed. An
openable/closeable object has two states: open and closed.
open() moves from closed to
open and Closeable.close() from open to close. What operations can be performed in each state is
not specified by this interface, only the state machine.
Openable / closeable objects are always initialized as closed.
-
Method Summary
-
Method Details
-
open
void open()Opens the object.
-