public class LengthLimitedInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
LengthLimitedInputStream(java.io.InputStream stream,
long limit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int off,
int len) |
long |
skip(long n) |
public LengthLimitedInputStream(java.io.InputStream stream,
long limit)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionCopyright (c) 2006-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com