@Deprecated public class IOUtils extends Object
Constructor and Description |
---|
IOUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
close(InputStream i)
Deprecated.
since 3.0 Close your own damn streams.
|
static void |
close(OutputStream o)
Deprecated.
since 3.0 Close your own damn streams.
|
static void |
close(Reader r)
Deprecated.
since 3.0 Close your own damn streams.
|
static void |
close(Writer w)
Deprecated.
since 3.0 Close your own damn streams.
|
static void |
copy(InputStream i,
OutputStream o)
Deprecated.
since 3.0
|
static File |
createTmpDir(String prefix,
String suffix)
Deprecated.
since 3.0 because it was only used in tests
|
static void |
flushAndClose(OutputStream o)
Deprecated.
since 3.0 Close your own damn streams.
|
static void |
flushAndClose(Writer w)
Deprecated.
since 3.0 Close your own damn streams.
|
static byte[] |
readInputStream(InputStream stream)
Deprecated.
since 3.0 because it was only used in tests
|
@Deprecated public static void close(InputStream i)
@Deprecated public static void flushAndClose(OutputStream o)
@Deprecated public static void close(OutputStream o)
@Deprecated public static void close(Reader r)
@Deprecated public static void close(Writer w)
@Deprecated public static void flushAndClose(Writer w)
@Deprecated public static void copy(InputStream i, OutputStream o) throws IOException
Note: If you do not want the streams closed, call FileUtils.copy instead.
IOException
@Deprecated public static File createTmpDir(String prefix, String suffix) throws IOException
IOException
@Deprecated public static byte[] readInputStream(InputStream stream) throws IOException
IOException
Copyright © 2003–2018 Atlassian. All rights reserved.