public class PBImageDelimitedTextWriter extends Object
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| String | getEntry(String parent,
        FsImageProto.INodeSection.INode inode)Get text output for the given inode. | 
| String | getHeader()Get text output for the header line. | 
| protected org.apache.hadoop.fs.permission.PermissionStatus | getPermission(long perm) | 
| void | visit(RandomAccessFile file) | 
public String getEntry(String parent, FsImageProto.INodeSection.INode inode)
parent - the path of parent directoryinode - the INode object to output.public String getHeader()
public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void visit(RandomAccessFile file) throws IOException
IOExceptionprotected org.apache.hadoop.fs.permission.PermissionStatus getPermission(long perm)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.