51Degrees Pipeline Java  4.1Newer Version 4.2

51Degrees Pipeline for Java

fiftyone.common.wrappers.io.FileWrapperDefault Class Reference

Detailed Description

Default implementation of FileWrapper using basic file operations.

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

[legend]

Collaboration diagram for fiftyone.common.wrappers.io.FileWrapperDefault:

[legend]

Public Member Functions

 FileWrapperDefault (String path)
Construct a new instance of FileWrapper using an existing file located at the path provided. More...
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 ()

Constructor & Destructor Documentation

◆ FileWrapperDefault()

fiftyone.common.wrappers.io.FileWrapperDefault.FileWrapperDefault ( String   path )

Construct a new instance of FileWrapper using an existing file located at the path provided.

Parameters
path - path to the data file

Member Function Documentation