< prev index next >
src/java.base/share/classes/sun/nio/ch/IOUtil.java
Print this page
@@ -41,11 +41,11 @@
*/
static final int IOV_MAX;
private IOUtil() { } // No instantiation
- static int write(FileDescriptor fd, ByteBuffer src, long position,
+ public static int write(FileDescriptor fd, ByteBuffer src, long position,
NativeDispatcher nd)
throws IOException
{
return write(fd, src, position, false, -1, nd);
}
@@ -121,11 +121,11 @@
throws IOException
{
return write(fd, bufs, 0, bufs.length, false, -1, nd);
}
- static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,
+ public static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,
NativeDispatcher nd)
throws IOException
{
return write(fd, bufs, offset, length, false, -1, nd);
}
@@ -214,11 +214,11 @@
}
}
}
}
- static int read(FileDescriptor fd, ByteBuffer dst, long position,
+ public static int read(FileDescriptor fd, ByteBuffer dst, long position,
NativeDispatcher nd)
throws IOException
{
return read(fd, dst, position, false, -1, nd);
}
@@ -284,11 +284,11 @@
throws IOException
{
return read(fd, bufs, 0, bufs.length, false, -1, nd);
}
- static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,
+ public static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,
NativeDispatcher nd)
throws IOException
{
return read(fd, bufs, offset, length, false, -1, nd);
}
< prev index next >