|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nothome.delta.text.TextPatcher
public class TextPatcher
Converts a text patch and source file to a resulting target file.
Constructor Summary | |
---|---|
TextPatcher(CharSequence source)
Constructs a new TextPatcher with a source to patch. |
|
TextPatcher(SeekableSource source)
Constructs a new TextPatcher with a generic source. |
Method Summary | |
---|---|
String |
patch(CharSequence patch)
Patch from a string, return the result. |
void |
patch(Reader patch,
Writer out)
Patches a source to an output file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextPatcher(SeekableSource source) throws IOException
IOException
public TextPatcher(CharSequence source)
Method Detail |
---|
public String patch(CharSequence patch)
public void patch(Reader patch, Writer out) throws IOException
out
- The output must be closed by the caller
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |