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 classDefaultOn Unix/Linux, uses 'lsof' to determine file use.classDeserializeAttempts to deserialize the file.classFileIncompleteAssumes the file to be in use when not complete, i.e., still being written.classFileSizeChangeChecks the file size before and after the specified wait interval.classImageMetaDataExtractorUses 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.classImageReaderUses 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.classJpegIsCompleteChecks whether the JPEG file ends with bytes FFD9 (EOF for JPEGs).
See also:
http://en.wikipedia.org/wiki/JPEG#Syntax_and_structure
classLastLineMatchesReads 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'.classMultiCheckApplies the specified checks sequentially, stops as soon one of them returns that the file is 'in use'.classNoCheckPerforms no check, always states that file is not in use.classNonWindowsUses 'lsof' to determine file use (OS other than Windows).classPngIsCompleteChecks 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
classTextReaderUses 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.classWindowsTries to open a FileOutputStream (Windows only).Fields in adams.core.io.fileuse declared as AbstractFileUseCheck Modifier and Type Field Description protected AbstractFileUseCheck[]MultiCheck. m_Checksthe 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 voidMultiCheck. 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 AbstractFileUseCheckFileInUse. m_Checkthe check scheme to use.Methods in adams.flow.condition.bool that return AbstractFileUseCheck Modifier and Type Method Description AbstractFileUseCheckFileInUse. getCheck()Returns the 'in use' check scheme.Methods in adams.flow.condition.bool with parameters of type AbstractFileUseCheck Modifier and Type Method Description voidFileInUse. 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 AbstractFileUseCheckWaitForFile. m_Checkthe check scheme to use.Methods in adams.flow.transformer that return AbstractFileUseCheck Modifier and Type Method Description AbstractFileUseCheckWaitForFile. getCheck()Returns the 'in use' check scheme.Methods in adams.flow.transformer with parameters of type AbstractFileUseCheck Modifier and Type Method Description voidWaitForFile. setCheck(AbstractFileUseCheck value)Sets the 'in use' check scheme.
-