com.ooyala.android.util.TemporaryInternalStorageFile Class Reference

This is a simple helper around a Java File, with the file parent directory always being the internal cache dir of the given Context. More...

Public Member Functions

 TemporaryInternalStorageFile (final Context context, final String prefix, final String ext) throws IOException
 Please create these via TemporaryInternalStorageFileManager to avoid file name collisions. More...
 
File getFile ()
 
String getAbsolutePath ()
 
void write (final String body) throws FileNotFoundException
 

Detailed Description

This is a simple helper around a Java File, with the file parent directory always being the internal cache dir of the given Context.

Constructor & Destructor Documentation

com.ooyala.android.util.TemporaryInternalStorageFile.TemporaryInternalStorageFile ( final Context  context,
final String  prefix,
final String  ext 
) throws IOException

Please create these via TemporaryInternalStorageFileManager to avoid file name collisions.

See also
TemporaryInternalStorageFileManager::next

Member Function Documentation

String com.ooyala.android.util.TemporaryInternalStorageFile.getAbsolutePath ( )
File com.ooyala.android.util.TemporaryInternalStorageFile.getFile ( )
void com.ooyala.android.util.TemporaryInternalStorageFile.write ( final String  body) throws FileNotFoundException