BufferedReader.java, [...]: Fixed javadocs all over.
2004-11-16 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/FileWriter.java, java/io/OutputStreamWriter.java, java/io/PipedInputStream.java, java/io/PipedOutputStream.java, java/io/PipedReader.java, java/io/PipedWriter.java, java/io/PrintStream.java, java/io/PushbackInputStream.java, java/io/RandomAccessFile.java, java/io/Reader.java, java/io/StreamTokenizer.java, java/io/StringReader.java, java/net/NetworkInterface.java, java/net/URLClassLoader.java, java/nio/ByteOrder.java, java/nio/channels/Channel.java: Fixed javadocs all over. From-SVN: r90727
This commit is contained in:
parent
d39289db5a
commit
be06f47bc1
20 changed files with 225 additions and 199 deletions
|
@ -1,5 +1,5 @@
|
|||
/* ByteOrder.java --
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -39,16 +39,25 @@ exception statement from your version. */
|
|||
package java.nio;
|
||||
|
||||
/**
|
||||
* @author Michael Koch
|
||||
* @author Michael Koch (konqueror@gmx.de)
|
||||
* @since 1.4
|
||||
*/
|
||||
public final class ByteOrder
|
||||
{
|
||||
/**
|
||||
* Constant indicating big endian byte order.
|
||||
*/
|
||||
public static final ByteOrder BIG_ENDIAN = new ByteOrder();
|
||||
public static final ByteOrder LITTLE_ENDIAN = new ByteOrder();
|
||||
|
||||
/**
|
||||
* Constant indicating little endian byte order.
|
||||
*/
|
||||
public static final ByteOrder LITTLE_ENDIAN = new ByteOrder();
|
||||
|
||||
/**
|
||||
* Returns the native byte order of the platform currently running.
|
||||
*
|
||||
* @return the native byte order
|
||||
*/
|
||||
public static ByteOrder nativeOrder()
|
||||
{
|
||||
|
@ -58,6 +67,8 @@ public final class ByteOrder
|
|||
|
||||
/**
|
||||
* Returns a string representation of the byte order.
|
||||
*
|
||||
* @return the string
|
||||
*/
|
||||
public String toString()
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Channel.java --
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -35,15 +35,18 @@ this exception to your version of the library, but you are not
|
|||
obligated to do so. If you do not wish to do so, delete this
|
||||
exception statement from your version. */
|
||||
|
||||
|
||||
package java.nio.channels;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
public interface Channel
|
||||
{
|
||||
/**
|
||||
* Tells whether this channel is open or not
|
||||
*
|
||||
* @return <code>true</code>if channel is open,
|
||||
* </code>false</code> otherwise
|
||||
*/
|
||||
boolean isOpen();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue