CopaServer
Change of Plan Application
 All Classes Functions Pages
Static Public Member Functions | List of all members
unicopa.copa.server.util.IOutils Class Reference

A collection of IO utility methods. More...

Collaboration diagram for unicopa.copa.server.util.IOutils:
Collaboration graph

Static Public Member Functions

static void copyFile (File sourceFile, File destFile) throws IOException
 Copies a file. More...
 
static File[] FileFinder (File dir)
 Returns an array of Files ending with .txt from the given path. More...
 

Detailed Description

A collection of IO utility methods.

Author
Philip Wendland

Member Function Documentation

static void unicopa.copa.server.util.IOutils.copyFile ( File  sourceFile,
File  destFile 
) throws IOException
static

Copies a file.

Parameters
sourceFilesource file
destFiledestination file
Exceptions
IOException
static File [] unicopa.copa.server.util.IOutils.FileFinder ( File  dir)
static

Returns an array of Files ending with .txt from the given path.

Parameters
dirNamethe directory to scan
Returns
an array of Files from that directory ending with ".txt"

The documentation for this class was generated from the following file: