Package io.sentry.util
Class MapObjectReader
java.lang.Object
io.sentry.util.MapObjectReader
- All Implemented Interfaces:
ObjectReader,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclose()voidendArray()voidbooleanhasNext()boolean@Nullable Boolean@Nullable DatenextDateOrNull(@NotNull ILogger logger) double@Nullable Doublefloat@Nullable FloatintnextInt()@Nullable Integer<T> @Nullable List<T>nextListOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) longnextLong()@Nullable LongnextMapOfListOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) nextMapOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @NotNull StringnextName()voidnextNull()@Nullable Object<T> TnextOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @Nullable String@Nullable TimeZonenextTimeZoneOrNull(@NotNull ILogger logger) void@NotNull JsonTokenpeek()voidsetLenient(boolean lenient) void
-
Constructor Details
-
MapObjectReader
-
-
Method Details
-
nextUnknown
- Specified by:
nextUnknownin interfaceObjectReader
-
nextListOrNull
@Nullable public <T> @Nullable List<T> nextListOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Specified by:
nextListOrNullin interfaceObjectReader- Throws:
IOException
-
nextMapOrNull
@Nullable public <T> @Nullable Map<String,T> nextMapOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Specified by:
nextMapOrNullin interfaceObjectReader- Throws:
IOException
-
nextMapOfListOrNull
@Nullable public <T> @Nullable Map<String,List<T>> nextMapOfListOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Specified by:
nextMapOfListOrNullin interfaceObjectReader- Throws:
IOException
-
nextOrNull
@Nullable public <T> T nextOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws Exception - Specified by:
nextOrNullin interfaceObjectReader- Throws:
Exception
-
nextDateOrNull
- Specified by:
nextDateOrNullin interfaceObjectReader- Throws:
IOException
-
nextTimeZoneOrNull
@Nullable public @Nullable TimeZone nextTimeZoneOrNull(@NotNull @NotNull ILogger logger) throws IOException - Specified by:
nextTimeZoneOrNullin interfaceObjectReader- Throws:
IOException
-
nextObjectOrNull
- Specified by:
nextObjectOrNullin interfaceObjectReader- Throws:
IOException
-
peek
- Specified by:
peekin interfaceObjectReader- Throws:
IOException
-
nextName
- Specified by:
nextNamein interfaceObjectReader- Throws:
IOException
-
beginObject
- Specified by:
beginObjectin interfaceObjectReader- Throws:
IOException
-
endObject
- Specified by:
endObjectin interfaceObjectReader- Throws:
IOException
-
beginArray
- Specified by:
beginArrayin interfaceObjectReader- Throws:
IOException
-
endArray
- Specified by:
endArrayin interfaceObjectReader- Throws:
IOException
-
hasNext
- Specified by:
hasNextin interfaceObjectReader- Throws:
IOException
-
nextInt
- Specified by:
nextIntin interfaceObjectReader- Throws:
IOException
-
nextIntegerOrNull
- Specified by:
nextIntegerOrNullin interfaceObjectReader- Throws:
IOException
-
nextLong
- Specified by:
nextLongin interfaceObjectReader- Throws:
IOException
-
nextLongOrNull
- Specified by:
nextLongOrNullin interfaceObjectReader- Throws:
IOException
-
nextString
- Specified by:
nextStringin interfaceObjectReader- Throws:
IOException
-
nextStringOrNull
- Specified by:
nextStringOrNullin interfaceObjectReader- Throws:
IOException
-
nextBoolean
- Specified by:
nextBooleanin interfaceObjectReader- Throws:
IOException
-
nextBooleanOrNull
- Specified by:
nextBooleanOrNullin interfaceObjectReader- Throws:
IOException
-
nextDouble
- Specified by:
nextDoublein interfaceObjectReader- Throws:
IOException
-
nextDoubleOrNull
- Specified by:
nextDoubleOrNullin interfaceObjectReader- Throws:
IOException
-
nextFloatOrNull
- Specified by:
nextFloatOrNullin interfaceObjectReader- Throws:
IOException
-
nextFloat
- Specified by:
nextFloatin interfaceObjectReader- Throws:
IOException
-
nextNull
- Specified by:
nextNullin interfaceObjectReader- Throws:
IOException
-
setLenient
public void setLenient(boolean lenient) - Specified by:
setLenientin interfaceObjectReader
-
skipValue
- Specified by:
skipValuein interfaceObjectReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-