|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.walluck.io.DataInputStreamEx
org.walluck.io.LittleEndianInputStream
org.walluck.oscar.AIMInputStream
This does most of the input work.
LittleEndianInputStream
Field Summary |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
AIMInputStream(java.io.InputStream is)
Create a new input stream. |
Method Summary | |
int |
getEmpty()
Get the number of bytes remaining in this buffer before it becomes empty. |
boolean |
isEmpty()
Returns true if this buffer is empty. |
Ad |
readAd()
Read an ad from this stream. |
int |
readCaps(int length)
Read a non-short capability block from the stream. |
int |
readCaps(int length,
boolean isShort)
Read a capability block from the stream. |
DirectIMHeader |
readDirectIMHeader()
Read a direct IM from this stream. |
FileHeader |
readFileHeader()
Read a file header from this stream. |
FLAP |
readFLAP()
Read a FLAP from this stream. |
FTTLV |
readFTTLV()
Read a file transfer TLV from this stream. |
java.util.ArrayList |
readGetFileEntries()
Read a set GetFile entries from this stream. |
GetFileList |
readGetFileList()
Read a GetFile listing from this stream. |
ICQColor |
readICQColor()
Read an ICQ color from this stream. |
java.lang.String |
readIP()
Read an IP from this stream. |
ODirInfo |
readODirInfo()
Read an OSCAR directory information class from this stream. |
AIMPopup |
readPopup()
Read a popup from this stream. |
ProxyPacket |
readProxyPacket()
Read an AOL Proxy Server packet from this stream. |
RateClass |
readRateClass()
Read a rate class from this stream. |
Chat |
readRoomInfo()
Read room information from this stream. |
SNAC |
readSNAC()
Read a SNAC from this stream. |
TLVChain |
readTLVChain()
Read a TLV chain from this stream. |
TLVChain |
readTLVChain(int length)
Read a TLV chain from this stream of the specified length. |
TLVChain |
readTLVChainByCount(int count)
Read a TLV chain from the input stream made up of exactly the specified number of TLV's. |
UserInfo |
readUserInfo()
Read a user information class from this stream. |
Methods inherited from class org.walluck.io.LittleEndianInputStream |
readIntLE, readShortLE, readStringLLLE |
Methods inherited from class org.walluck.io.DataInputStreamEx |
readBytes, readString, readString0, readStringL, readStringLL, readStringNullPadded, readStringUntilNull |
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.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AIMInputStream(java.io.InputStream is)
is
- the underlying input streamMethod Detail |
public FLAP readFLAP() throws java.io.IOException
java.io.IOException
- if an error occurspublic SNAC readSNAC() throws java.io.IOException
java.io.IOException
- if an error occurspublic TLVChain readTLVChain(int length) throws java.io.IOException
length
- the length of the TLV chain to read in, in bytes
java.io.IOException
- if an error occurspublic TLVChain readTLVChain() throws java.io.IOException
java.io.IOException
- if an error occurspublic TLVChain readTLVChainByCount(int count) throws java.io.IOException
count
- the number of TLV's comprising this TLV chain
java.io.IOException
- if an error occurspublic FTTLV readFTTLV() throws java.io.IOException
java.io.IOException
- if an error occurspublic int readCaps(int length, boolean isShort) throws java.io.IOException
length
- the length of the capability blockisShort
- true if this is a short capability block, false otherwise
java.io.IOException
- if an error occurspublic int readCaps(int length) throws java.io.IOException
length
- the length of the capability block
java.io.IOException
- if an error occurspublic UserInfo readUserInfo() throws java.io.IOException
java.io.IOException
- if an error occurspublic ODirInfo readODirInfo() throws java.io.IOException
java.io.IOException
- if an error occurspublic Chat readRoomInfo() throws java.io.IOException
java.io.IOException
- if an error occurspublic Ad readAd() throws java.io.IOException
java.io.IOException
- if an error occurspublic AIMPopup readPopup() throws java.io.IOException
java.io.IOException
- if an error occurspublic RateClass readRateClass() throws java.io.IOException
java.io.IOException
- if an error occurspublic DirectIMHeader readDirectIMHeader() throws java.io.IOException
java.io.IOException
- if an error occurspublic FileHeader readFileHeader() throws java.io.IOException
java.io.IOException
- if an error occurspublic java.util.ArrayList readGetFileEntries() throws java.io.IOException
java.io.IOException
- if an error occurspublic GetFileList readGetFileList() throws java.io.IOException
java.io.IOException
- if an error occurspublic ProxyPacket readProxyPacket() throws java.io.IOException
java.io.IOException
- if an error occurspublic ICQColor readICQColor() throws java.io.IOException
java.io.IOException
- if an error occurspublic java.lang.String readIP() throws java.io.IOException
java.io.IOException
- if an error occurspublic int getEmpty() throws java.io.IOException
java.io.IOException
- if an error occurspublic boolean isEmpty() throws java.io.IOException
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |