com.nothome.delta.text
Interface DiffTextWriter

All Superinterfaces:
Closeable
All Known Implementing Classes:
GDiffTextWriter

public interface DiffTextWriter
extends Closeable

Writes diff commands to a stream.


Method Summary
 void addCopy(int offset, int length)
          Add a copy command.
 void addData(char seq)
          Add a character to output.
 void close()
          Frees internal resources; closes output stream.
 void flush()
          Writes current state to output stream.
 

Method Detail

addCopy

void addCopy(int offset,
             int length)
             throws IOException
Add a copy command.

Parameters:
offset - start of sequence
length - length of sequence
Throws:
IOException

addData

void addData(char seq)
             throws IOException
Add a character to output.

Throws:
IOException

flush

void flush()
           throws IOException
Writes current state to output stream.

Throws:
IOException

close

void close()
           throws IOException
Frees internal resources; closes output stream.

Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2003-2008. All Rights Reserved.