Class XmlImageVisitor

java.lang.Object
org.apache.hadoop.hdfs.tools.offlineImageViewer.XmlImageVisitor

public class XmlImageVisitor extends Object
An XmlImageVisitor walks over an fsimage structure and writes out an equivalent XML document that contains the fsimage's components.
  • Constructor Details

  • Method Details

    • write

      protected void write(String toWrite) throws IOException
      Write parameter to output file (and possibly screen).
      Parameters:
      toWrite - Text to write to file
      Throws:
      IOException