| java.lang.Object | |
| ↳ | com.google.gdata.util.common.io.Flushables |
Utility methods for working with Flushable objects.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| logger | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Flush a Flushable, with control over whether an
IOException may be thrown. | |||||||||||
Equivalent to calling
flush(flushable, true), but with no
IOException in the signature. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Flush a Flushable, with control over whether an
IOException may be thrown.
If swallowIOException is true, then we don't rethrow
IOException, but merely log it.
| flushable | The Flushable object to be flushed. |
|---|---|
| swallowIOException | If true, don't propagate IO exceptions
thrown by the flush method |
| IOException | if swallowIOException is false and
flush() throws an IOException. |
|---|
Equivalent to calling flush(flushable, true), but with no
IOException in the signature.
| flushable | The Flushable object to be flushed.
|
|---|