|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwalker.utilities.FileUtilities
public class FileUtilities
Created by IntelliJ IDEA. User: andy Date: Apr 10, 2010 Provides utility methods that are file related.
Constructor Summary | |
---|---|
FileUtilities()
|
Method Summary | |
---|---|
static long |
countLines(java.lang.String fileName)
Counts the lines of a file. |
static long |
fileSize(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtilities()
Method Detail |
---|
public static long countLines(java.lang.String fileName) throws java.io.IOException
fileName
- the path of the file to be examined.
java.io.IOException
- if there is no such file.public static long fileSize(java.lang.String fileName)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |