@@ -146,6 +146,7 @@ public static void copy(InputStream inputStream,
146146 inputStream .close ();
147147 }
148148
149+ // [ifndef gwt] method
149150 /**
150151 * Writes a readable channel to a writable channel.
151152 *
@@ -334,6 +335,7 @@ public static long getAvailableSize(Representation representation) {
334335 // return representation.getSize();
335336 }
336337
338+ // [ifndef gwt] method
337339 /**
338340 * Returns a readable byte channel based on a given input stream. If it is
339341 * supported by a file a read-only instance of FileChannel is returned.
@@ -355,6 +357,7 @@ public static ReadableByteChannel getChannel(InputStream inputStream)
355357 return result ;
356358 }
357359
360+ // [ifndef gwt] method
358361 /**
359362 * Returns a writable byte channel based on a given output stream.
360363 *
@@ -367,6 +370,7 @@ public static WritableByteChannel getChannel(OutputStream outputStream) {
367370 : null ;
368371 }
369372
373+ // [ifndef gwt] method
370374 /**
371375 * Returns a readable byte channel based on the given representation's
372376 * content and its write(WritableByteChannel) method. Internally, it uses a
@@ -545,6 +549,7 @@ public static java.io.OutputStream getStream(java.io.Writer writer,
545549 return new WriterOutputStream (writer , characterSet );
546550 }
547551
552+ // [ifndef gwt] method
548553 /**
549554 * Returns an input stream based on a given readable byte channel.
550555 *
@@ -654,6 +659,7 @@ public void run() {
654659 return result ;
655660 }
656661
662+ // [ifndef gwt] method
657663 /**
658664 * Returns an output stream based on a given writable byte channel.
659665 *
@@ -729,6 +735,7 @@ public static Writer getWriter(OutputStream outputStream,
729735 return result ;
730736 }
731737
738+ // [ifndef gwt] method
732739 /**
733740 * Indicates if the channel is in blocking mode. It returns false when the
734741 * channel is selectable and configured to be non blocking.
@@ -748,6 +755,7 @@ public static boolean isBlocking(Channel channel) {
748755 return result ;
749756 }
750757
758+ // [ifndef gwt] method
751759 /**
752760 * Release the selection key, working around for bug #6403933.
753761 *
0 commit comments