kr.co.hit.live.web.flex.io.amf
Class Amf0InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
kr.co.hit.live.web.flex.io.amf.AmfInputStream
kr.co.hit.live.web.flex.io.amf.Amf0InputStream
- All Implemented Interfaces:
- Closeable, DataInput, ObjectInput
public class Amf0InputStream
- extends AmfInputStream
AMF0와 AMF3 방식으로 입력되는 InputStream으로부터 객체들을 생성한다.
- Author:
- 김형도
| Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
objectRefTable
protected List<Object> objectRefTable
- 한번 생성된 Object들을 담아 놓기 위한 리스트 구조
amf3In
protected Amf3InputStream amf3In
Amf0InputStream
public Amf0InputStream(InputStream in)
reset
public void reset()
- Overrides:
reset in class FilterInputStream
readObject
public Object readObject()
throws IOException,
ClassNotFoundException
- Description copied from class:
AmfInputStream
- InputStream으로부터 객체를 생성하여 반환한다.
- Specified by:
readObject in interface ObjectInput- Specified by:
readObject in class AmfInputStream
- Throws:
IOException
ClassNotFoundException
readDate
protected Date readDate()
throws IOException
- Throws:
IOException
readString
protected String readString()
throws IOException
- Throws:
IOException
readArray
protected Object readArray()
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 2014. All Rights Reserved.