|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.batch.bootstrapper.BootstrapperIOUtils
public final class BootstrapperIOUtils
Method Summary | |
---|---|
static void |
closeQuietly(Closeable closeable)
Unconditionally close a Closeable . |
static long |
copyLarge(InputStream input,
OutputStream output)
Copy bytes from an InputStream to an OutputStream . |
static long |
copyLarge(Reader input,
Writer output)
Copy chars from a Reader to a Writer . |
static boolean |
deleteFileQuietly(File file)
Deletes a file (not a directory). |
static String |
toString(Reader input)
Get the contents of a Reader as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void closeQuietly(Closeable closeable)
Closeable
.
public static String toString(Reader input) throws IOException
Reader
as a String.
IOException
public static long copyLarge(InputStream input, OutputStream output) throws IOException
InputStream
to an OutputStream
.
IOException
public static long copyLarge(Reader input, Writer output) throws IOException
Reader
to a Writer
.
IOException
public static boolean deleteFileQuietly(File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |