com.android.dx.util
Class Writers
java.lang.Object
com.android.dx.util.Writers
public final class Writers
- extends Object
Utilities for dealing with Writers.
|
Method Summary |
static PrintWriter |
printWriterFor(Writer writer)
Makes a PrintWriter for the given Writer,
returning the given writer if it already happens to be the right
class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
printWriterFor
public static PrintWriter printWriterFor(Writer writer)
- Makes a
PrintWriter for the given Writer,
returning the given writer if it already happens to be the right
class.
- Parameters:
writer - non-null; writer to (possibly) wrap
- Returns:
non-null; an appropriate instance
Copyright © 2013. All Rights Reserved.