@Immutable public final class ChangeLogSerializer extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<URI,ChangeLog> |
readAllChangeLogs() |
static Map<URI,ChangeLog> |
readAllChangeLogs(ClassLoader aClassLoader) |
static Map<URI,ChangeLog> |
readAllChangeLogs(INonThrowingRunnableWithParameter<String> aErrorCallback) |
static Map<URI,ChangeLog> |
readAllChangeLogs(INonThrowingRunnableWithParameter<String> aErrorCallback,
ClassLoader aClassLoader) |
static ChangeLog |
readChangeLog(IInputStreamProvider aISP)
Read the change log resource specified by the input stream provider using
the default logging callback.
|
static ChangeLog |
readChangeLog(IInputStreamProvider aISP,
INonThrowingRunnableWithParameter<String> aErrorCallback)
Read the change log resource specified by the input stream provider.
|
static IMicroDocument |
writeChangeLog(ChangeLog aChangeLog) |
@Nullable public static ChangeLog readChangeLog(@Nullable IInputStreamProvider aISP)
aISP - The ISP to read from. Maybe null resulting in a
null return.null if the passed ISP was null.@Nullable public static ChangeLog readChangeLog(@Nullable IInputStreamProvider aISP, @Nonnull INonThrowingRunnableWithParameter<String> aErrorCallback)
aISP - The ISP to read from. Maybe null resulting in a
null return.aErrorCallback - The callback that handles potential errors.null if the passed ISP was null.@Nonnull @ReturnsMutableCopy public static Map<URI,ChangeLog> readAllChangeLogs()
@Nonnull @ReturnsMutableCopy public static Map<URI,ChangeLog> readAllChangeLogs(@Nonnull ClassLoader aClassLoader)
@Nonnull @ReturnsMutableCopy public static Map<URI,ChangeLog> readAllChangeLogs(@Nonnull INonThrowingRunnableWithParameter<String> aErrorCallback)
@Nonnull @ReturnsMutableCopy public static Map<URI,ChangeLog> readAllChangeLogs(@Nonnull INonThrowingRunnableWithParameter<String> aErrorCallback, @Nonnull ClassLoader aClassLoader)
@Nonnull public static IMicroDocument writeChangeLog(@Nonnull ChangeLog aChangeLog)
Copyright © 2006–2014 phloc systems. All rights reserved.