public final class ServiceUtility extends Object implements ServiceMessages
COUNT_LINES_ERROR, NO_RETURN_WAVE_CONSUMED, NO_RETURNED_WAVE_ITEM, NO_RETURNED_WAVE_TYPE_DEFINED, NO_WAVE_TYPE_DEFINED, SERVICE_TASK_ERROR, SERVICE_TASK_EXCEPTION, SERVICE_TASK_HANDLE_EXCEPTION, SERVICE_TASK_HAS_FAILED, SERVICE_TASK_NOT_MANAGED_EXCEPTION, SERVICE_TASK_RETURN_CONSUMES, SERVICE_TASK_RETURN_HANDLES
Modifier and Type | Method and Description |
---|---|
static int |
countFileLines(File file)
Count the number of line of the given file.
|
public static int countFileLines(File file)
file
- the file to inspectCopyright © 2011–2016 JRebirth OSS. All rights reserved.