aboutsummaryrefslogtreecommitdiffstats
path: root/java_jni/org/jau/io/ByteInStream_URL.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-08-05 17:58:06 +0200
committerSven Gothel <[email protected]>2022-08-05 17:58:06 +0200
commitc71be85f2be7b9e07cf13ec93926bbf1f8ad8bed (patch)
tree17ccf05c2f89fc4394dd378b422e57a3a48eb29d /java_jni/org/jau/io/ByteInStream_URL.java
parentf8bd6cbacb30c0c10dba47fa896e0f37e3d83272 (diff)
Add ByteOutStream and ByteOutStream_File POSIX 'fd' implementation, ...
- Add ByteOutStream interface - Add ByteOutStream_File implementation similar to ByteInStream_File, based on POSIX fd etc. - Add is_open() to ByteInStream and ByteOutStream interface.
Diffstat (limited to 'java_jni/org/jau/io/ByteInStream_URL.java')
-rw-r--r--java_jni/org/jau/io/ByteInStream_URL.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java_jni/org/jau/io/ByteInStream_URL.java b/java_jni/org/jau/io/ByteInStream_URL.java
index e4d0a68..a9e79ad 100644
--- a/java_jni/org/jau/io/ByteInStream_URL.java
+++ b/java_jni/org/jau/io/ByteInStream_URL.java
@@ -26,7 +26,7 @@ package org.jau.io;
import java.nio.ByteBuffer;
/**
- * This class represents a Ringbuffer-Based byte input stream with a URL connection provisioned data feed.
+ * Ringbuffer-Based byte input stream with a URL connection provisioned data feed.
*
* Instance uses the native C++ object `jau::io::ByteInStream_URL`.
*
@@ -75,6 +75,9 @@ public final class ByteInStream_URL implements ByteInStream {
}
@Override
+ public native boolean is_open();
+
+ @Override
public void clear(final IOState state) {
clearImpl( state.mask );
}