Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | List of all members
CASUAL.misc.DiffTextFiles Class Reference

Public Member Functions

String diffResourceVersusFile (String TestIStream, String OriginalFile)
 
String diffResourceVersusFile (String TestIStream, String OriginalFile)
 

Static Public Member Functions

static String diffTextFiles (String Original, String TestForDiff)
 
static void appendDiffToFile (String file, String Diff)
 
static String diffTextFiles (String Original, String TestForDiff)
 
static void appendDiffToFile (String file, String Diff)
 

Detailed Description

Author
LogansALIEN

Member Function Documentation

static void CASUAL.misc.DiffTextFiles.appendDiffToFile ( String  file,
String  Diff 
)
static

appends text to file

Parameters
filefile to be added to
Difftext to add
static void CASUAL.misc.DiffTextFiles.appendDiffToFile ( String  file,
String  Diff 
)
static

appends text to file

Parameters
filefile to be added to
Difftext to add
String CASUAL.misc.DiffTextFiles.diffResourceVersusFile ( String  TestIStream,
String  OriginalFile 
)

takes a resource and a string outputs difference as a string

Parameters
TestIStreaminput stream to test
OriginalFileoriginal file to be diffed
Returns
lines in test that are not in original
String CASUAL.misc.DiffTextFiles.diffResourceVersusFile ( String  TestIStream,
String  OriginalFile 
)

takes a resource and a string outputs difference as a string

Parameters
TestIStreaminput stream to test
OriginalFileoriginal file to be diffed
Returns
lines in test that are not in original
static String CASUAL.misc.DiffTextFiles.diffTextFiles ( String  Original,
String  TestForDiff 
)
static

takes two files returns the difference between the two

Parameters
Originaloriginal file
TestForDiffnew file
Returns
lines which are in new file that are not in original
static String CASUAL.misc.DiffTextFiles.diffTextFiles ( String  Original,
String  TestForDiff 
)
static

takes two files returns the difference between the two

Parameters
Originaloriginal file
TestForDiffnew file
Returns
lines which are in new file that are not in original

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