Interface OutputStreamFactory
public interface OutputStreamFactory
Factory for create OutputStream objects.
-
Method Summary
Modifier and TypeMethodDescriptionCreate an OutputStream that writes to a file and supports appending.
-
Method Details
-
create
Create an OutputStream that writes to a file and supports appending.- Parameters:
file- must be non-nullappend- must be non-null- Returns:
- a non-null value
- Throws:
FileNotFoundException
-