|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 evaluate
Signaturesprotected final int getSizeSize(int sizeType)
sizeType - The size type
Signatures
protected final int writeSize(int sizeType,
int size)
throws java.io.IOException
sizeType - The size typesize - The size
java.io.IOException - If the write failedSignatures
|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||