public interface

FileOpener

com.openxc.util.FileOpener
Known Indirect Subclasses

Class Overview

A generic interface for opening a file for writing. There are multiple ways to open files for writing in Android, specifically via an Android Context object or directly through the filesystem, and this interface abstracts the details away depending on the situation.

Summary

Public Methods
abstract BufferedWriter openForWriting(String path)
Open the file at the given path for writing.

Public Methods

public abstract BufferedWriter openForWriting (String path)

Open the file at the given path for writing.

Returns
  • a BufferedWriter that references the requested file.
Throws
IOException if there are issues opening the file