Skip to content

Commit 0616021

Browse files
committed
DefaultBufferedStreamHAndle: add exists()
1 parent 7f0bc37 commit 0616021

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/scijava/io/handle/DefaultBufferedStreamHandle.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,9 @@ private ByteBank getBufferIfOpen() throws IOException {
231231
}
232232
return buffer;
233233
}
234+
235+
@Override
236+
public boolean exists() throws IOException {
237+
return handle().exists();
238+
}
234239
}

0 commit comments

Comments
 (0)