public class DiffPictures extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMPARE_PRO_COMMAND |
static String |
DEFAULT_COMMAND |
static String |
DEFAULT_FUZZ |
static String |
DEFAULT_HIGHLIGHT_COLOR |
static String |
DEFAULT_LOWLIGHT_COLOR |
static String |
DEFAULT_XPATH |
protected static String |
TMPL_ACTION |
protected static String |
TMPL_CONTEXT_PATH |
protected static String |
TMPL_FORCED_COMMAND |
protected static String |
TMPL_HIDE_TOOLS_INLINE_CSS |
protected static String |
TMPL_HIDE_TUNING |
protected static String |
TMPL_IMG_RESULT_INLINE_CSS |
protected static String |
TMPL_IMG_RESULT_NB_COLUMNS |
protected static String |
TMPL_LEFT_DOC_ID |
protected static String |
TMPL_LEFT_DOC_LABEL |
protected static String |
TMPL_PREFIX |
protected static String |
TMPL_RIGHT_DOC_ID |
protected static String |
TMPL_RIGHT_DOC_LABEL |
protected static String |
TMPL_SUFFIX |
protected static String |
TMPL_TIME_STAMP |
protected static String |
TMPL_XPATH |
Constructor and Description |
---|
DiffPictures(Blob inB1,
Blob inB2) |
DiffPictures(Blob inB1,
Blob inB2,
String inLeftDocId,
String inRightDocId) |
DiffPictures(DocumentModel inLeft,
DocumentModel inRight) |
DiffPictures(DocumentModel inLeft,
DocumentModel inRight,
String inXPath) |
Modifier and Type | Method and Description |
---|---|
static String |
buildDiffHtml(DocumentModel leftDoc,
DocumentModel rightDoc,
String xpath) |
protected static String |
buildTemplateKey(String inName) |
protected void |
checkDefaultParametersValues() |
Blob |
compare(String inCommandLine,
Map<String,Serializable> inParams) |
protected boolean |
isDefaultValue(String inValue) |
public static final String DEFAULT_COMMAND
public static final String COMPARE_PRO_COMMAND
public static final String DEFAULT_XPATH
public static final String DEFAULT_FUZZ
public static final String DEFAULT_HIGHLIGHT_COLOR
public static final String DEFAULT_LOWLIGHT_COLOR
protected static final String TMPL_PREFIX
protected static final String TMPL_SUFFIX
protected static final String TMPL_CONTEXT_PATH
protected static final String TMPL_ACTION
protected static final String TMPL_LEFT_DOC_ID
protected static final String TMPL_LEFT_DOC_LABEL
protected static final String TMPL_RIGHT_DOC_ID
protected static final String TMPL_RIGHT_DOC_LABEL
protected static final String TMPL_XPATH
protected static final String TMPL_TIME_STAMP
protected static final String TMPL_HIDE_TUNING
protected static final String TMPL_FORCED_COMMAND
protected static final String TMPL_HIDE_TOOLS_INLINE_CSS
protected static final String TMPL_IMG_RESULT_NB_COLUMNS
protected static final String TMPL_IMG_RESULT_INLINE_CSS
public DiffPictures(Blob inB1, Blob inB2)
public DiffPictures(DocumentModel inLeft, DocumentModel inRight)
public DiffPictures(DocumentModel inLeft, DocumentModel inRight, String inXPath)
public DiffPictures(Blob inB1, Blob inB2, String inLeftDocId, String inRightDocId)
protected static String buildTemplateKey(String inName)
public Blob compare(String inCommandLine, Map<String,Serializable> inParams) throws CommandNotAvailable, IOException
CommandNotAvailable
IOException
protected void checkDefaultParametersValues()
protected boolean isDefaultValue(String inValue)
public static String buildDiffHtml(DocumentModel leftDoc, DocumentModel rightDoc, String xpath) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.