class |
Default |
On Unix/Linux, uses 'lsof' to determine file use.
|
class |
Deserialize |
Attempts to deserialize the file.
|
class |
FileIncomplete |
Assumes the file to be in use when not complete, i.e., still being written.
|
class |
FileSizeChange |
Checks the file size before and after the specified wait interval.
|
class |
ImageMetaDataExtractor |
Uses the specified image reader to load the file for checking the 'in use' state: if reading fails, then it is assumed the file is in use.
|
class |
ImageReader |
Uses the specified image reader to load the file for checking the 'in use' state: if reading fails, then it is assumed the file is in use.
|
class |
JpegIsComplete |
Checks whether the JPEG file ends with bytes FFD9 (EOF for JPEGs).
See also:
http://en.wikipedia.org/wiki/JPEG#Syntax_and_structure
|
class |
LastLineMatches |
Reads the file as text file and makes sure that the last line matches the regular expression.
If the last line doesn't match the expression, failing to read or reading no lines at all are all interpreted as 'in use'.
|
class |
MultiCheck |
Applies the specified checks sequentially, stops as soon one of them returns that the file is 'in use'.
|
class |
NoCheck |
Performs no check, always states that file is not in use.
|
class |
NonWindows |
Uses 'lsof' to determine file use (OS other than Windows).
|
class |
PngIsComplete |
Checks whether the PNG file ends with bytes IEND (EOF for PNGs).
See also:
https://en.wikipedia.org/wiki/Portable_Network_Graphics#Critical_chunks
http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#Chunk-layout
http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.IEND
|
class |
TextReader |
Uses the specified text reader to load the file for checking the 'in use' state: if reading fails, then it is assumed the file is in use.
|
class |
Windows |
Tries to open a FileOutputStream (Windows only).
|