public class

DiffUtils

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.dialog.diffing.DiffUtils

Class Overview

View model for diffing functionality.

Summary

Public Constructors
DiffUtils()
Public Methods
static compareFiles(Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode, File diffFile)
static compareFiles(Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)
static Uri compareFilesImpl(Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)
static Uri compareFilesImpl(Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode, File diffFile)
static PDFDoc getPdfDoc(Context context, Uri fileUri)
static FileInfo getUriInfo(Context context, Uri dataUri)
static FileInfo handleActivityResult(Context context, int requestCode, int resultCode, Intent data)
static void selectFile(Activity activity)
static void updateDiff(PdfViewCtrlTabFragment2 pdfViewCtrlTabFragment, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DiffUtils ()

Public Methods

public static compareFiles (Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode, File diffFile)

public static compareFiles (Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)

public static Uri compareFilesImpl (Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)

public static Uri compareFilesImpl (Context context, ArrayList<Uri> fileUris, int color1, int color2, int blendMode, File diffFile)

public static PDFDoc getPdfDoc (Context context, Uri fileUri)

Throws
Exception

public static FileInfo getUriInfo (Context context, Uri dataUri)

public static FileInfo handleActivityResult (Context context, int requestCode, int resultCode, Intent data)

public static void selectFile (Activity activity)

public static void updateDiff (PdfViewCtrlTabFragment2 pdfViewCtrlTabFragment, ArrayList<Uri> fileUris, int color1, int color2, int blendMode)