类 StreamUtils
- java.lang.Object
-
- com.alibaba.dubbo.common.io.StreamUtils
-
public class StreamUtils extends Object
Stream utils.
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static InputStream
limitedInputStream(InputStream is, int limit)
static InputStream
markSupportedInputStream(InputStream is)
static InputStream
markSupportedInputStream(InputStream is, int markBufferSize)
static void
skipUnusedStream(InputStream is)
-
-
-
方法详细资料
-
limitedInputStream
public static InputStream limitedInputStream(InputStream is, int limit) throws IOException
- 抛出:
IOException
-
markSupportedInputStream
public static InputStream markSupportedInputStream(InputStream is, int markBufferSize)
-
markSupportedInputStream
public static InputStream markSupportedInputStream(InputStream is)
-
skipUnusedStream
public static void skipUnusedStream(InputStream is) throws IOException
- 抛出:
IOException
-
-