|
@@ -106,4 +106,12 @@ public class TraceArtifact {
|
|
|
public void setNextVersion(TraceArtifact nextVersion) {
|
|
|
this.nextVersion = nextVersion;
|
|
|
}
|
|
|
+
|
|
|
+ public String getFileExtension() {
|
|
|
+ if (location != null && !location.equals("")) {
|
|
|
+ String ext = location.substring(location.lastIndexOf(".")+1);
|
|
|
+ return ext;
|
|
|
+ }
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|