|
Xindice API version 1.1b3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.FilterOutputStream | +--java.io.DataOutputStream | +--org.apache.xindice.xml.XMLCompressedOutput
XMLCompressedInput is an OutputStream extension that provides functions for writing types to a Xindice Compressed XML Stream.
Field Summary | |
protected SymbolTable |
st
|
Fields inherited from class java.io.DataOutputStream |
written |
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary | |
XMLCompressedOutput(java.io.OutputStream os,
SymbolTable st)
|
Method Summary | |
protected int |
getSizeSize(int sizeType)
getSizeSize returns the size (in bytes) of the specified size type. |
protected byte |
getSizeType(long length)
getSizeType returns the optimal size type for the specifed length value. |
protected int |
writeSize(int sizeType,
int size)
writeSize writes the size to the output stream based on the specified sizeType. |
Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.io.FilterOutputStream |
close, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.DataOutput |
write |
Field Detail |
protected SymbolTable st
Constructor Detail |
public XMLCompressedOutput(java.io.OutputStream os, SymbolTable st)
Method Detail |
protected final byte getSizeType(long length)
length
- The length to evaluateSignatures
protected final int getSizeSize(int sizeType)
sizeType
- The size typeSignatures
protected final int writeSize(int sizeType, int size) throws java.io.IOException
sizeType
- The size typesize
- The sizejava.io.IOException
- If the write failedSignatures
|
Xindice API version 1.1b3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |