Skip to content

Commit 8176c92

Browse files
gab1onectrueden
authored andcommitted
FileHandle: implement getName()
1 parent f919140 commit 8176c92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/scijava/io/location/FileLocation.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,9 @@ public URI getURI() {
6969
return getFile().toURI();
7070
}
7171

72+
@Override
73+
public String getName() {
74+
return file.getName();
75+
}
76+
7277
}

0 commit comments

Comments
 (0)