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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidwriteArrayComponentType(Class<?> componentType) protected abstract voidprotected abstract voidwriteArrayLength(int length) protected abstract voidwriteClassType(Class<?> type) protected abstract voidwriteEnumID(String id) protected abstract voidwriteEnumType(String type) protected abstract voidwriteFieldID(String id) protected abstract voidwriteNumFields(short numFields) final voidwriteObject(@Nullable Object object) protected abstract voidprotected abstract voidwriteObjectType(String type) protected abstract voidwritePrimitive_(Object object) protected abstract voidwritePrimitiveValue(Object object) protected final voidwriteReference(int ref) protected abstract voidwriteReferenceID(int ref) protected abstract voidwriteStringValue(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
-