Package ch.njol.yggdrasil
Class DefaultYggdrasilOutputStream
java.lang.Object
ch.njol.yggdrasil.YggdrasilOutputStream
ch.njol.yggdrasil.DefaultYggdrasilOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Summary
Fields inherited from class ch.njol.yggdrasil.YggdrasilOutputStream
yggdrasil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
flush()
protected void
writeArrayComponentType(Class<?> componentType)
protected void
protected void
writeArrayLength(int length)
protected void
writeClassType(Class<?> c)
protected void
writeEnumID(String id)
protected void
writeEnumType(String type)
protected void
writeFieldID(String id)
protected void
writeNumFields(short numFields)
protected void
protected void
writeObjectType(String type)
protected void
protected void
protected void
writeReferenceID(int ref)
protected void
protected void
Methods inherited from class ch.njol.yggdrasil.YggdrasilOutputStream
writeObject, writeReference
-
Constructor Details
-
DefaultYggdrasilOutputStream
- Throws:
IOException
-
-
Method Details
-
writeTag
- Specified by:
writeTag
in classYggdrasilOutputStream
- Throws:
IOException
-
writePrimitive_
- Specified by:
writePrimitive_
in classYggdrasilOutputStream
- Throws:
IOException
-
writePrimitiveValue
- Specified by:
writePrimitiveValue
in classYggdrasilOutputStream
- Throws:
IOException
-
writeStringValue
- Specified by:
writeStringValue
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayComponentType
- Specified by:
writeArrayComponentType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayLength
- Specified by:
writeArrayLength
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayEnd
- Specified by:
writeArrayEnd
in classYggdrasilOutputStream
- Throws:
IOException
-
writeClassType
- Specified by:
writeClassType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeEnumType
- Specified by:
writeEnumType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeEnumID
- Specified by:
writeEnumID
in classYggdrasilOutputStream
- Throws:
IOException
-
writeObjectType
- Specified by:
writeObjectType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeNumFields
- Specified by:
writeNumFields
in classYggdrasilOutputStream
- Throws:
IOException
-
writeFieldID
- Specified by:
writeFieldID
in classYggdrasilOutputStream
- Throws:
IOException
-
writeObjectEnd
- Specified by:
writeObjectEnd
in classYggdrasilOutputStream
- Throws:
IOException
-
writeReferenceID
- Specified by:
writeReferenceID
in classYggdrasilOutputStream
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Throws:
IOException
-