public class StreamUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static InputStream |
limitedInputStream(InputStream is,
int limit) |
static InputStream |
markSupportedInputStream(InputStream is) |
static InputStream |
markSupportedInputStream(InputStream is,
int markBufferSize) |
static void |
skipUnusedStream(InputStream is) |
public static InputStream limitedInputStream(InputStream is, int limit) throws IOException
IOExceptionpublic static InputStream markSupportedInputStream(InputStream is, int markBufferSize)
public static InputStream markSupportedInputStream(InputStream is)
public static void skipUnusedStream(InputStream is) throws IOException
IOExceptionCopyright © 2018. All rights reserved.