| Method and Description |
|---|
| net.tribe7.common.io.ByteStreams.asByteSource(byte[])
Use
ByteSource.wrap(byte[]) instead. This method is
scheduled to be removed in Guava 16.0. |
| net.tribe7.common.io.CharStreams.asCharSource(String)
Use
CharSource.wrap(CharSequence) instead. This method
is scheduled to be removed in Guava 16.0. |
| net.tribe7.common.io.Closeables.closeQuietly(Closeable)
Where possible, use the
try-with-resources statement if using JDK7 or
Closer on JDK6 to close one or
more Closeable objects. This method is deprecated because it is easy to misuse and
may swallow IO exceptions that really should be thrown and handled. See
Guava issue
1118 for a more detailed explanation of the reasons for deprecation and see
Closing Resources for more information on the problems with closing Closeable
objects and some of the preferred solutions for handling it correctly. This method is
scheduled to be removed in Guava 16.0. |
| net.tribe7.common.io.BaseEncoding.decodingStream(InputSupplier extends Reader>)
Use
BaseEncoding.decodingSource(CharSource) instead. This method is scheduled to be
removed in Guava 16.0. |
| net.tribe7.common.io.BaseEncoding.encodingStream(OutputSupplier extends Writer>)
Use
BaseEncoding.encodingSink(CharSink) instead. This method is scheduled to be
removed in Guava 16.0. |
| net.tribe7.common.io.ByteSource.getInput()
This method is only provided for temporary compatibility with the
InputSupplier interface and should not be called directly. Use ByteSource.openStream()
instead. |
| net.tribe7.common.io.CharSource.getInput()
This method is only provided for temporary compatibility with the
InputSupplier interface and should not be called directly. Use CharSource.openStream()
instead. |
| net.tribe7.common.io.ByteSink.getOutput()
This method is only provided for temporary compatibility with the
OutputSupplier interface and should not be called directly. Use
ByteSink.openStream() instead. |
| net.tribe7.common.io.CharSink.getOutput()
This method is only provided for temporary compatibility with the
OutputSupplier interface and should not be called directly. Use
CharSink.openStream() instead. |
| net.tribe7.common.io.FileBackedOutputStream.getSupplier()
Use
FileBackedOutputStream.asByteSource() instead. This method is scheduled
to be removed in Guava 16.0. |
| net.tribe7.common.io.ByteArrayDataOutput.writeBytes(String)
This method is dangerous as it discards the high byte of
every character. For UTF-8, use
write(s.getBytes(Charsets.UTF_8)). |
| net.tribe7.common.io.LittleEndianDataOutputStream.writeBytes(String)
The semantics of
writeBytes(String s) are considered
dangerous. Please use LittleEndianDataOutputStream.writeUTF(String s),
LittleEndianDataOutputStream.writeChars(String s) or another write method instead. |