|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dyuproject.protostuff.FilterOutput<F>
public class FilterOutput<F extends Output>
A FilterOutput contains some other output, which it uses as its basic
sink of data.
| Field Summary | |
|---|---|
protected F |
output
|
| Constructor Summary | |
|---|---|
FilterOutput(F output)
|
|
| Method Summary | ||
|---|---|---|
void |
writeBool(int fieldNumber,
boolean value,
boolean repeated)
Writes a boolean field. |
|
void |
writeByteArray(int fieldNumber,
byte[] value,
boolean repeated)
Writes a byte array field. |
|
void |
writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated)
Writes a binary or a pre-encoded utf8 string. |
|
void |
writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
Writes a ByteString(wraps byte array) field. |
|
void |
writeDouble(int fieldNumber,
double value,
boolean repeated)
Writes a double field. |
|
void |
writeEnum(int fieldNumber,
int value,
boolean repeated)
Writes a enum(its number) field. |
|
void |
writeFixed32(int fieldNumber,
int value,
boolean repeated)
Writes a fixed int(4 bytes) field. |
|
void |
writeFixed64(int fieldNumber,
long value,
boolean repeated)
Writes a fixed long(8 bytes) field. |
|
void |
writeFloat(int fieldNumber,
float value,
boolean repeated)
Writes a float field. |
|
void |
writeInt32(int fieldNumber,
int value,
boolean repeated)
Writes a variable int field. |
|
void |
writeInt64(int fieldNumber,
long value,
boolean repeated)
Writes a variable long field. |
|
|
writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
Writes an object(using its schema) field. |
|
void |
writeSFixed32(int fieldNumber,
int value,
boolean repeated)
Writes a signed+fixed int(4 bytes) field. |
|
void |
writeSFixed64(int fieldNumber,
long value,
boolean repeated)
Writes a signed+fixed long(8 bytes) field. |
|
void |
writeSInt32(int fieldNumber,
int value,
boolean repeated)
Writes a signed int field. |
|
void |
writeSInt64(int fieldNumber,
long value,
boolean repeated)
Writes a signed long field. |
|
void |
writeString(int fieldNumber,
java.lang.String value,
boolean repeated)
Writes a String field. |
|
void |
writeUInt32(int fieldNumber,
int value,
boolean repeated)
Writes an unsigned int field. |
|
void |
writeUInt64(int fieldNumber,
long value,
boolean repeated)
Writes an unsigned long field. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final F extends Output output
| Constructor Detail |
|---|
public FilterOutput(F output)
| Method Detail |
|---|
public void writeBool(int fieldNumber,
boolean value,
boolean repeated)
throws java.io.IOException
Output
writeBool in interface Outputjava.io.IOException
public void writeByteArray(int fieldNumber,
byte[] value,
boolean repeated)
throws java.io.IOException
Output
writeByteArray in interface Outputjava.io.IOException
public void writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated)
throws java.io.IOException
Output
writeByteRange in interface Outputjava.io.IOException
public void writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
throws java.io.IOException
Output
writeBytes in interface Outputjava.io.IOException
public void writeDouble(int fieldNumber,
double value,
boolean repeated)
throws java.io.IOException
Output
writeDouble in interface Outputjava.io.IOException
public void writeEnum(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeEnum in interface Outputjava.io.IOException
public void writeFixed32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeFixed32 in interface Outputjava.io.IOException
public void writeFixed64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
Output
writeFixed64 in interface Outputjava.io.IOException
public void writeFloat(int fieldNumber,
float value,
boolean repeated)
throws java.io.IOException
Output
writeFloat in interface Outputjava.io.IOException
public void writeInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeInt32 in interface Outputjava.io.IOException
public void writeInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
Output
writeInt64 in interface Outputjava.io.IOException
public <T> void writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
throws java.io.IOException
Output
writeObject in interface Outputjava.io.IOException
public void writeSFixed32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeSFixed32 in interface Outputjava.io.IOException
public void writeSFixed64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
Output
writeSFixed64 in interface Outputjava.io.IOException
public void writeSInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeSInt32 in interface Outputjava.io.IOException
public void writeSInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
Output
writeSInt64 in interface Outputjava.io.IOException
public void writeString(int fieldNumber,
java.lang.String value,
boolean repeated)
throws java.io.IOException
Output
writeString in interface Outputjava.io.IOException
public void writeUInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Output
writeUInt32 in interface Outputjava.io.IOException
public void writeUInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
Output
writeUInt64 in interface Outputjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||