| Package | Description |
|---|---|
| net.thevpc.nuts.toolbox.ndiff.jar | |
| net.thevpc.nuts.toolbox.ndiff.jar.commands |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDiffCommand |
| Modifier and Type | Method and Description |
|---|---|
DiffCommand |
AbstractDiffItemCreateContext.getDiff() |
DiffCommand |
AbstractDiffResult.getDiff() |
DiffCommand |
DiffItemCreateContext.getDiff() |
DiffCommand |
AbstractDiffCommand.resolveDiffItemFactory(DiffKey key,
DiffEvalContext diffEvalContext) |
| Modifier and Type | Method and Description |
|---|---|
List<DiffCommand> |
DefaultDiffEvalContext.getSupportedCommands() |
List<DiffCommand> |
DiffEvalContext.getSupportedCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDiffEvalContext.setSupportedCommands(List<DiffCommand> commands) |
| Constructor and Description |
|---|
AbstractDiffItemCreateContext(DiffKey key,
DiffStatus status,
String sourceValue,
String targetValue,
DiffCommand diffCommand,
DiffEvalContext diffEvalContext) |
AbstractDiffResult(DiffCommand diff,
DiffEvalContext diffEvalContext,
TreeMap<DiffKey,String> added,
TreeMap<DiffKey,String> removed,
TreeMap<DiffKey,String[]> changed) |
DefaultDiffItemCreateContext(DiffKey name,
DiffStatus status,
String sourceValue,
String targetValue,
DiffCommand diffCommand,
DiffEvalContext diffEvalContext) |
DefaultDiffResult(DiffCommand diff,
DiffEvalContext diffEvalContext,
TreeMap<DiffKey,String> added,
TreeMap<DiffKey,String> removed,
TreeMap<DiffKey,String[]> changed) |
| Modifier and Type | Class and Description |
|---|---|
class |
DiffCommandDefault |
class |
DiffCommandJar
DiffCommandJar diff=new DiffCommandJar(jarfile1,jarfile2);
DiffResult result=diff.getResult();
for(DiffItem i:result){
switch(i.getItemType()){
case "java-class": {
String className=((DiffItemJavaClass)i).getclassName();
if(i.getDiffStatus()==DiffStatus.ADDED){
System.out.println(className +" is a new class");
}
System.out.println(i);
break;
}
default: {
System.out.println(i);
break;
}
}
}
|
class |
DiffCommandJavaClass |
class |
DiffCommandJavaManifest |
class |
DiffCommandJavaProperties |
class |
DiffCommandVar |
class |
DiffCommandZip |
| Modifier and Type | Field and Description |
|---|---|
static DiffCommand |
DiffCommandDefault.INSTANCE |
static DiffCommand |
DiffCommandVar.INSTANCE |
static DiffCommand |
DiffCommandJavaClass.INSTANCE |
Copyright © 2021 vpc open source initiative. All rights reserved.