Class SerializedObjectAppender

    • Constructor Detail

      • SerializedObjectAppender

        public SerializedObjectAppender()
    • Method Detail

      • canProcess

        public boolean canProcess​(Object obj)
        Whether the appender can handle this particular object.
        Parameters:
        obj - the object to check
        Returns:
        true if the object can be handled
      • process

        public String process​(ArchiveManager manager,
                              Object obj,
                              String name)
        Processes the given object.
        Parameters:
        manager - the context
        obj - the object to process
        name - the name to use in the archive
        Returns:
        null if successfully added, otherwise error message