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

## com.sun.jimi.util
Class ObjectInputToStreamAdapter

    java.lang.Object
      |
      +--java.io.InputStream
            |
            +--com.sun.jimi.util.ObjectInputToStreamAdapter

public class ObjectInputToStreamAdapter
extends java.io.InputStream

No-frills adapter for using ObjectInput as an InputStream

Field Summary
`protected java.io.ObjectInput` | `input_`

Constructor Summary
`ObjectInputToStreamAdapter(java.io.ObjectInput input)`

Method Summary
`int` | `available()`
`void` | `close()`
`void` | `mark(int readlimit)`
`boolean` | `markSupported()`
`int` | `read()`
`int` | `read(byte[] b)`
`int` | `read(byte[] b, int off, int len)`
`long` | `skip(long n)`

Methods inherited from class java.io.InputStream
`reset`

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

Field Detail

### input_

    protected java.io.ObjectInput input_

Constructor Detail

### ObjectInputToStreamAdapter

    public ObjectInputToStreamAdapter(java.io.ObjectInput input)

Method Detail

### read

    public int read()
             throws java.io.IOException

  Overrides:
    read in class java.io.InputStream

### read

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

  Overrides:
    read in class java.io.InputStream

### read

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

  Overrides:
    read in class java.io.InputStream

### skip

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

  Overrides:
    skip in class java.io.InputStream

### available

    public int available()
                  throws java.io.IOException

  Overrides:
    available in class java.io.InputStream

### close

    public void close()
               throws java.io.IOException

  Overrides:
    close in class java.io.InputStream

### mark

    public void mark(int readlimit)

  Overrides:
    mark in class java.io.InputStream

### markSupported

    public boolean markSupported()

  Overrides:
    markSupported in class java.io.InputStream

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