Class TextDumpProvider

    • Constructor Detail

      • TextDumpProvider

        protected TextDumpProvider​(String name)
        Creates new dump provider.
        Parameters:
        name - Name of the file.
    • Method Detail

      • createDump

        public final void createDump​(DumpDestination destination)
                              throws Exception
        Create dump in given entry.
        Specified by:
        createDump in interface DumpProvider
        Parameters:
        destination - The destination where to create the dump.
        Throws:
        Exception - If the dump creation fails.
      • writeDump

        protected abstract void writeDump​(OutputStreamWriter outputStreamWriter)
                                   throws Exception
        This method should create output.
        Parameters:
        outputStreamWriter - Stream which points to file specified in constructor.
        Throws:
        Exception - If any problem occur.