Skip to content

Commit 525f9ac

Browse files
committed
method to get the tag name
1 parent 4456785 commit 525f9ac

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/entity/FileEntity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,9 @@ public String getAppName(){
103103
String filePath = path.toAbsolutePath().toString();
104104
return filePath.split("\\\\")[3];
105105
}
106+
107+
public String getTagName(){
108+
String filePath = path.toAbsolutePath().toString();
109+
return filePath.split("\\\\")[4];
110+
}
106111
}

0 commit comments

Comments
 (0)