Package ch.njol.yggdrasil
Class YggdrasilOutputStream
java.lang.Object
ch.njol.yggdrasil.YggdrasilOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
DefaultYggdrasilOutputStream
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
writeArrayComponentType
(Class<?> componentType) protected abstract void
protected abstract void
writeArrayLength
(int length) protected abstract void
writeClassType
(Class<?> type) protected abstract void
writeEnumID
(String id) protected abstract void
writeEnumType
(String type) protected abstract void
writeFieldID
(String id) protected abstract void
writeNumFields
(short numFields) final void
writeObject
(@Nullable Object object) protected abstract void
protected abstract void
writeObjectType
(String type) protected abstract void
writePrimitive_
(Object object) protected abstract void
writePrimitiveValue
(Object object) protected final void
writeReference
(int ref) protected abstract void
writeReferenceID
(int ref) protected abstract void
writeStringValue
(String string) protected abstract void
-
Field Details
-
yggdrasil
-
-
Constructor Details
-
YggdrasilOutputStream
-
-
Method Details
-
writeTag
- Throws:
IOException
-
writePrimitiveValue
- Throws:
IOException
-
writePrimitive_
- Throws:
IOException
-
writeStringValue
- Throws:
IOException
-
writeArrayComponentType
- Throws:
IOException
-
writeArrayLength
- Throws:
IOException
-
writeArrayEnd
- Throws:
IOException
-
writeEnumType
- Throws:
IOException
-
writeEnumID
- Throws:
IOException
-
writeClassType
- Throws:
IOException
-
writeReferenceID
- Throws:
IOException
-
writeReference
- Throws:
IOException
-
writeObjectType
- Throws:
IOException
-
writeNumFields
- Throws:
IOException
-
writeFieldID
- Throws:
IOException
-
writeObjectEnd
- Throws:
IOException
-
writeObject
- Throws:
IOException
-