bmsi.util
クラス DiffPrint.UnifiedPrint

java.lang.Object
  上位を拡張 bmsi.util.DiffPrint.Base
      上位を拡張 bmsi.util.DiffPrint.ContextPrint
          上位を拡張 bmsi.util.DiffPrint.UnifiedPrint
含まれているクラス:
DiffPrint

public static class DiffPrint.UnifiedPrint
extends DiffPrint.ContextPrint

Prints an edit script in context diff format. This and its 'unified' variation is used for source code patches.


フィールドの概要
 
クラス bmsi.util.DiffPrint.ContextPrint から継承されたフィールド
context
 
クラス bmsi.util.DiffPrint.Base から継承されたフィールド
deletes, file0, file1, first0, first1, ignore, inserts, last0, last1, outfile
 
コンストラクタの概要
DiffPrint.UnifiedPrint(Object[] a, Object[] b)
           
 
メソッドの概要
 void print_header(String filea, String fileb)
          Called to print the script header which identifies the files compared.
protected  void print_hunk(Diff.change hunk)
           
 
クラス bmsi.util.DiffPrint.ContextPrint から継承されたメソッド
print_context_label, print_function
 
クラス bmsi.util.DiffPrint.Base から継承されたメソッド
analyze_hunk, change_letter, hunkfun, print_1_line, print_number_range, print_script, setOutput, setupOutput
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DiffPrint.UnifiedPrint

public DiffPrint.UnifiedPrint(Object[] a,
                              Object[] b)
メソッドの詳細

print_header

public void print_header(String filea,
                         String fileb)
クラス DiffPrint.Base の記述:
Called to print the script header which identifies the files compared. The default does nothing (except set output to system.out if not otherwise set). Derived style classes can override to print the files compared in the format for that style.

オーバーライド:
クラス DiffPrint.ContextPrint 内の print_header

print_hunk

protected void print_hunk(Diff.change hunk)
オーバーライド:
クラス DiffPrint.ContextPrint 内の print_hunk


Copyright © 2004-2011. All Rights Reserved.