private static boolean canBeContinued ( final byte [ ] data , final List < Policy > policies ) { boolean result = true ; for ( Policy policy : policies ) { result &= policy . continueCurrentFile ( data ) ; } return result ; }
Checks if a new log entry can be still written to the current log file .