@InterfaceAudience.Private public final class LimitInputStream extends FilterInputStream
in
构造器和说明 |
---|
LimitInputStream(InputStream in,
long limit) |
限定符和类型 | 方法和说明 |
---|---|
int |
available() |
void |
mark(int readLimit) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
close, markSupported, read
public LimitInputStream(InputStream in, long limit)
public int available() throws IOException
available
在类中 FilterInputStream
IOException
public void mark(int readLimit)
mark
在类中 FilterInputStream
public int read() throws IOException
read
在类中 FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 FilterInputStream
IOException
public void reset() throws IOException
reset
在类中 FilterInputStream
IOException
public long skip(long n) throws IOException
skip
在类中 FilterInputStream
IOException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.