Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.openxml4j.util
Class ZipSecureFile.ThresholdInputStream

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.io.PushbackInputStream
                  org.apache.poi.openxml4j.util.ZipSecureFile.ThresholdInputStream

All Implemented Interfaces:
  java.io.Closeable

Enclosing class:
  ZipSecureFile

    public static class ZipSecureFile.ThresholdInputStream

extends java.io.PushbackInputStream

Field Summary

Fields inherited from class java.io.PushbackInputStream
`buf, pos`

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`ZipSecureFile.ThresholdInputStream(java.io.InputStream is, ZipSecureFile.ThresholdInputStream cis)`

Method Summary
`void` | `advance(int advance)`
`int` | `available()`
`void` | `closeEntry()`
`java.util.zip.ZipEntry` | `getNextEntry()`
`void` | `mark(int readlimit)`
`boolean` | `markSupported()`
`int` | `read()`
`int` | `read(byte[] b, int off, int len)`
`void` | `reset()`
`long` | `skip(long n)`
`void` | `unread(byte[] b, int off, int len)`
`void` | `unread(int b)`

Methods inherited from class java.io.PushbackInputStream
`close, unread`

Methods inherited from class java.io.FilterInputStream
`read`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ZipSecureFile.ThresholdInputStream

    public ZipSecureFile.ThresholdInputStream(java.io.InputStream is,
                                              ZipSecureFile.ThresholdInputStream cis)

Method Detail

### read

    public int read()
             throws java.io.IOException

  Overrides:
    `read` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### read

    public int read(byte[] b,
                    int off,
                    int len)
             throws java.io.IOException

  Overrides:
    `read` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### skip

    public long skip(long n)
              throws java.io.IOException

  Overrides:
    `skip` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### reset

    public void reset()
               throws java.io.IOException

  Overrides:
    `reset` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### advance

    public void advance(int advance)
                 throws java.io.IOException

  Throws:
    `java.io.IOException`

### getNextEntry

    public java.util.zip.ZipEntry getNextEntry()
                                        throws java.io.IOException

  Throws:
    `java.io.IOException`

### closeEntry

    public void closeEntry()
                    throws java.io.IOException

  Throws:
    `java.io.IOException`

### unread

    public void unread(int b)
                throws java.io.IOException

  Overrides:
    `unread` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### unread

    public void unread(byte[] b,
                       int off,
                       int len)
                throws java.io.IOException

  Overrides:
    `unread` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### available

    public int available()
                  throws java.io.IOException

  Overrides:
    `available` in class `java.io.PushbackInputStream`
  Throws:
    `java.io.IOException`

### markSupported

    public boolean markSupported()

  Overrides:
    `markSupported` in class `java.io.PushbackInputStream`

### mark

    public void mark(int readlimit)

  Overrides:
    `mark` in class `java.io.PushbackInputStream`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.