Class XmlEditsVisitor

java.lang.Object
org.apache.hadoop.hdfs.tools.offlineEditsViewer.XmlEditsVisitor
All Implemented Interfaces:
OfflineEditsVisitor

@Private @Unstable public class XmlEditsVisitor extends Object implements OfflineEditsVisitor
An XmlEditsVisitor walks over an EditLog structure and writes out an equivalent XML document that contains the EditLog's components.
  • Constructor Details

    • XmlEditsVisitor

      public XmlEditsVisitor(OutputStream out) throws IOException
      Create a processor that writes to the file named and may or may not also output to the screen, as specified.
      Parameters:
      out - output stream to write
      Throws:
      IOException - on any error
  • Method Details