\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.common.wrappers.io.FileWrapper Interface Reference

Detailed Description

Interface for a data file.

By default this is a simple wrapper for basic file operations. But this allows the file system to be removed from unit tests by implementing the interface.

Inheritance diagram for fiftyone.common.wrappers.io.FileWrapper:

[legend]

Public Member Functions

BinaryWriter  getWriter () throws IOException
Get a BinaryWriter for this file, positioned at the first byte. More...
BinaryReader  getReader () throws IOException
Get a BinaryReader for this file, positioned at the first byte. More...
long  getLastModified ()
Get the time the file was last modified. More...
String  getPath ()
Get the path to the data file. More...
boolean  exists ()
void  delete ()

Member Function Documentation