Uses of Class
adams.core.io.fileuse.AbstractFileUseCheck
-
Packages that use AbstractFileUseCheck Package Description adams.core.io.fileuse adams.flow.condition.bool adams.flow.transformer -
-
Uses of AbstractFileUseCheck in adams.core.io.fileuse
Subclasses of AbstractFileUseCheck in adams.core.io.fileuse Modifier and Type Class Description 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).Fields in adams.core.io.fileuse declared as AbstractFileUseCheck Modifier and Type Field Description protected AbstractFileUseCheck[]
MultiCheck. m_Checks
the checks to use.Methods in adams.core.io.fileuse that return AbstractFileUseCheck Modifier and Type Method Description AbstractFileUseCheck[]
MultiCheck. getChecks()
Returns the check schemes to use.Methods in adams.core.io.fileuse with parameters of type AbstractFileUseCheck Modifier and Type Method Description void
MultiCheck. setChecks(AbstractFileUseCheck[] value)
Sets the check schemes to use. -
Uses of AbstractFileUseCheck in adams.flow.condition.bool
Fields in adams.flow.condition.bool declared as AbstractFileUseCheck Modifier and Type Field Description protected AbstractFileUseCheck
FileInUse. m_Check
the check scheme to use.Methods in adams.flow.condition.bool that return AbstractFileUseCheck Modifier and Type Method Description AbstractFileUseCheck
FileInUse. getCheck()
Returns the 'in use' check scheme.Methods in adams.flow.condition.bool with parameters of type AbstractFileUseCheck Modifier and Type Method Description void
FileInUse. setCheck(AbstractFileUseCheck value)
Sets the 'in use' check scheme. -
Uses of AbstractFileUseCheck in adams.flow.transformer
Fields in adams.flow.transformer declared as AbstractFileUseCheck Modifier and Type Field Description protected AbstractFileUseCheck
WaitForFile. m_Check
the check scheme to use.Methods in adams.flow.transformer that return AbstractFileUseCheck Modifier and Type Method Description AbstractFileUseCheck
WaitForFile. getCheck()
Returns the 'in use' check scheme.Methods in adams.flow.transformer with parameters of type AbstractFileUseCheck Modifier and Type Method Description void
WaitForFile. setCheck(AbstractFileUseCheck value)
Sets the 'in use' check scheme.
-