diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-09-01 03:21:01 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-09-01 03:21:01 +0000 |
commit | e38de7943810d933e6ea69b8a8a26f893399aa6b (patch) | |
tree | d00369b8203e067075352b7ce5797a877e539a14 /javax | |
parent | bc074fa3980508c97356404d4335a6e35531e7f4 (diff) | |
download | classpath-e38de7943810d933e6ea69b8a8a26f893399aa6b.tar.gz |
Fix typos in javax.tools.FileObject.
2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/tools/FileObject.java:
(openReader(boolean)): Document new parameter.
2008-03-27 Michael Franz <mvfranz@gmail.com>
PR classpath/35690:
* javax/tools/FileObject.java:
(toUri()): Fix case from toURI.
(openReader(boolean)): Add missing boolean argument.
Diffstat (limited to 'javax')
-rw-r--r-- | javax/tools/FileObject.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/javax/tools/FileObject.java b/javax/tools/FileObject.java index 56ecaba6d..a1d65c642 100644 --- a/javax/tools/FileObject.java +++ b/javax/tools/FileObject.java @@ -60,7 +60,7 @@ public interface FileObject * * @return a URI that represents this file object */ - URI toURI(); + URI toUri(); /** * Returns a name for this file object. The exact name is implementation @@ -99,6 +99,8 @@ public interface FileObject /** * Opens this file for reading and returns a reader. * + * @param ignoreEncodingErrors <code>true</code> when encoding errors should be ignored + * <code>false</code> otherwise * @return a reader for reading this file object * * @throws IOException if an I/O error occurs @@ -107,7 +109,7 @@ public interface FileObject * @throws UnsupportedOperationException if this kind of file does not allow * character reading */ - Reader openReader() throws IOException; + Reader openReader(boolean ignoreEncodingErrors) throws IOException; /** * Returns the character content of the file, if available. Any byte |