bmsi.util
クラス DiffPrint.ContextPrint

java.lang.Object
  上位を拡張 bmsi.util.DiffPrint.Base
      上位を拡張 bmsi.util.DiffPrint.ContextPrint
直系の既知のサブクラス:
DiffPrint.UnifiedPrint
含まれているクラス:
DiffPrint

public static class DiffPrint.ContextPrint
extends DiffPrint.Base

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


フィールドの概要
protected  int context
           
 
クラス bmsi.util.DiffPrint.Base から継承されたフィールド
deletes, file0, file1, first0, first1, ignore, inserts, last0, last1, outfile
 
コンストラクタの概要
DiffPrint.ContextPrint(Object[] a, Object[] b)
           
 
メソッドの概要
protected  void print_context_label(String mark, File inf, String label)
           
protected  void print_function(Object[] file, int start)
           
 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.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
 

フィールドの詳細

context

protected int context
コンストラクタの詳細

DiffPrint.ContextPrint

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

print_context_label

protected void print_context_label(String mark,
                                   File inf,
                                   String label)

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.Base 内の print_header

print_function

protected void print_function(Object[] file,
                              int start)

print_hunk

protected void print_hunk(Diff.change hunk)
定義:
クラス DiffPrint.Base 内の print_hunk


Copyright © 2004-2011. All Rights Reserved.