mhuss utils 1.1.5ws

com.mhuss.Util
Class FileU

java.lang.Object
  extended by com.mhuss.Util.FileU

public class FileU
extends java.lang.Object

Miscellaneous handy-dandy utility functions for file I/O.


Constructor Summary
FileU()
           
 
Method Summary
static boolean exists(java.lang.String filespec)
          Determine if the specified file exists and is readable.
static java.lang.String getFS()
          Get the system file separator ("/" or "\")
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileU

public FileU()
Method Detail

getFS

public static java.lang.String getFS()
Get the system file separator ("/" or "\")

Returns:
"/" or "\"

exists

public static boolean exists(java.lang.String filespec)
Determine if the specified file exists and is readable.

Parameters:
filespec - The file name to test
Returns:
true if the specified file exists and is readable, false otherwise

mhuss utils 1.1.5ws

bottom text